public sealed class SetDefaultBranchRequest : IMessage<SetDefaultBranchRequest>, IEquatable<SetDefaultBranchRequest>, IDeepCloneable<SetDefaultBranchRequest>, IBufferMessage, IMessage
Request message to set a specified branch as new default_branch.
Implements
IMessage<SetDefaultBranchRequest>, IEquatable<SetDefaultBranchRequest>, IDeepCloneable<SetDefaultBranchRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
SetDefaultBranchRequest()
public SetDefaultBranchRequest()
SetDefaultBranchRequest(SetDefaultBranchRequest)
public SetDefaultBranchRequest(SetDefaultBranchRequest other)
Parameter | |
---|---|
Name | Description |
other | SetDefaultBranchRequest |
Properties
BranchId
public string BranchId { get; set; }
The final component of the resource name of a branch.
This field must be one of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned.
Property Value | |
---|---|
Type | Description |
String |
BranchIdAsBranchName
public BranchName BranchIdAsBranchName { get; set; }
BranchName-typed view over the BranchId resource name property.
Property Value | |
---|---|
Type | Description |
BranchName |
Catalog
public string Catalog { get; set; }
Full resource name of the catalog, such as
projects/*/locations/global/catalogs/default_catalog
.
Property Value | |
---|---|
Type | Description |
String |
CatalogAsCatalogName
public CatalogName CatalogAsCatalogName { get; set; }
CatalogName-typed view over the Catalog resource name property.
Property Value | |
---|---|
Type | Description |
CatalogName |
Note
public string Note { get; set; }
Some note on this request, this can be retrieved by [CatalogService.GetDefaultBranch][google.cloud.retail.v2.CatalogService.GetDefaultBranch] before next valid default branch set occurs.
This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
Property Value | |
---|---|
Type | Description |
String |