Retail v2 API - Class GetDefaultBranchResponse (2.5.0)

public sealed class GetDefaultBranchResponse : IMessage<GetDefaultBranchResponse>, IEquatable<GetDefaultBranchResponse>, IDeepCloneable<GetDefaultBranchResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class GetDefaultBranchResponse.

Response message of [CatalogService.GetDefaultBranch][google.cloud.retail.v2.CatalogService.GetDefaultBranch].

Inheritance

object > GetDefaultBranchResponse

Namespace

GoogleCloudGoogle.Cloud.RetailV2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

GetDefaultBranchResponse()

public GetDefaultBranchResponse()

GetDefaultBranchResponse(GetDefaultBranchResponse)

public GetDefaultBranchResponse(GetDefaultBranchResponse other)
Parameter
NameDescription
otherGetDefaultBranchResponse

Properties

Branch

public string Branch { get; set; }

Full resource name of the branch id currently set as default branch.

Property Value
TypeDescription
string

BranchAsBranchName

public BranchName BranchAsBranchName { get; set; }

BranchName-typed view over the Branch resource name property.

Property Value
TypeDescription
BranchName

Note

public string Note { get; set; }

This corresponds to [SetDefaultBranchRequest.note][google.cloud.retail.v2.SetDefaultBranchRequest.note] field, when this branch was set as default.

Property Value
TypeDescription
string

SetTime

public Timestamp SetTime { get; set; }

The time when this branch is set to default.

Property Value
TypeDescription
Timestamp