GoogleApi.MyBusinessBusinessInformation.V1.Model.GoogleLocation (google_api_my_business_business_information v0.5.2)

View Source

Represents a Location that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.

Attributes

  • location (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.Location.t, default: nil) - The sparsely populated Location information. This field can be re-used in CreateLocation if it is not currently claimed by a user.
  • name (type: String.t, default: nil) - Resource name of this GoogleLocation, in the format googleLocations/{googleLocationId}.
  • requestAdminRightsUri (type: String.t, default: nil) - A URL that will redirect the user to the request admin rights UI. This field is only present if the location has already been claimed by any user, including the current user.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.GoogleLocation{
  location: GoogleApi.MyBusinessBusinessInformation.V1.Model.Location.t() | nil,
  name: String.t() | nil,
  requestAdminRightsUri: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.