createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Output only. Indicates whether this link can be edited by the client. * * @param bool $isEditable */ public function setIsEditable($isEditable) { $this->isEditable = $isEditable; } /** * @return bool */ public function getIsEditable() { return $this->isEditable; } /** * Optional. Whether this link is preferred by the merchant. Only one link can * be marked as preferred per place action type at a location. If a future * request marks a different link as preferred for the same place action type, * then the current preferred link (if any exists) will lose its preference. * * @param bool $isPreferred */ public function setIsPreferred($isPreferred) { $this->isPreferred = $isPreferred; } /** * @return bool */ public function getIsPreferred() { return $this->isPreferred; } /** * Optional. The resource name, in the format * `locations/{location_id}/placeActionLinks/{place_action_link_id}`. The name * field will only be considered in UpdatePlaceActionLink and * DeletePlaceActionLink requests for updating and deleting links * respectively. However, it will be ignored in CreatePlaceActionLink request, * where `place_action_link_id` will be assigned by the server on successful * creation of a new link and returned as part of the response. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Required. The type of place action that can be performed using this link. * * Accepted values: PLACE_ACTION_TYPE_UNSPECIFIED, APPOINTMENT, * ONLINE_APPOINTMENT, DINING_RESERVATION, FOOD_ORDERING, FOOD_DELIVERY, * FOOD_TAKEOUT, SHOP_ONLINE, SOLOPRENEUR_APPOINTMENT * * @param self::PLACE_ACTION_TYPE_* $placeActionType */ public function setPlaceActionType($placeActionType) { $this->placeActionType = $placeActionType; } /** * @return self::PLACE_ACTION_TYPE_* */ public function getPlaceActionType() { return $this->placeActionType; } /** * Output only. Specifies the provider type. * * Accepted values: PROVIDER_TYPE_UNSPECIFIED, MERCHANT, AGGREGATOR_3P * * @param self::PROVIDER_TYPE_* $providerType */ public function setProviderType($providerType) { $this->providerType = $providerType; } /** * @return self::PROVIDER_TYPE_* */ public function getProviderType() { return $this->providerType; } /** * Output only. The time when the place action link was last modified. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } /** * Required. The link uri. The same uri can be reused for different action * types across different locations. However, only one place action link is * allowed for each unique combination of (uri, place action type, location). * * @param string $uri */ public function setUri($uri) { $this->uri = $uri; } /** * @return string */ public function getUri() { return $this->uri; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PlaceActionLink::class, 'Google_Service_MyBusinessPlaceActions_PlaceActionLink');