View Source GoogleApi.MyBusinessPlaceActions.V1.Model.PlaceActionLink (google_api_my_business_place_actions v0.3.0)

Represents a place action link and its attributes.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the place action link was created.
  • isEditable (type: boolean(), default: nil) - Output only. Indicates whether this link can be edited by the client.
  • isPreferred (type: boolean(), default: nil) - 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.
  • name (type: String.t, default: nil) - 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.
  • placeActionType (type: String.t, default: nil) - Required. The type of place action that can be performed using this link.
  • providerType (type: String.t, default: nil) - Output only. Specifies the provider type.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time when the place action link was last modified.
  • uri (type: String.t, default: nil) - 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).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MyBusinessPlaceActions.V1.Model.PlaceActionLink{
  createTime: DateTime.t() | nil,
  isEditable: boolean() | nil,
  isPreferred: boolean() | nil,
  name: String.t() | nil,
  placeActionType: String.t() | nil,
  providerType: String.t() | nil,
  updateTime: DateTime.t() | nil,
  uri: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.