View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2GetDefaultBranchResponse (google_api_retail v0.19.1)

Response message of CatalogService.GetDefaultBranch.

Attributes

  • branch (type: String.t, default: nil) - Full resource name of the branch id currently set as default branch.
  • note (type: String.t, default: nil) - This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.
  • setTime (type: DateTime.t, default: nil) - The time when this branch is set to default.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2GetDefaultBranchResponse{
  branch: String.t() | nil,
  note: String.t() | nil,
  setTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.