2.16.0 (latest) 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

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

Request message to show which branch is currently the default branch.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetDefaultBranchRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetDefaultBranchRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.GetDefaultBranchRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetDefaultBranchRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.GetDefaultBranchRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetDefaultBranchRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.GetDefaultBranchRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Retail.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.md.txt)

## Assembly

Google.Cloud.Retail.V2.dll

## Constructors

### GetDefaultBranchRequest()

    public GetDefaultBranchRequest()

### GetDefaultBranchRequest(GetDefaultBranchRequest)

    public GetDefaultBranchRequest(GetDefaultBranchRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GetDefaultBranchRequest` |

## Properties

### Catalog

    public string Catalog { get; set; }

The parent catalog resource name, such as
`projects/*/locations/global/catalogs/default_catalog`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CatalogAsCatalogName

    public CatalogName CatalogAsCatalogName { get; set; }

[CatalogName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogName.md.txt)-typed view over the [Catalog](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.GetDefaultBranchRequest.md.txt#Google_Cloud_Retail_V2_GetDefaultBranchRequest_Catalog) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CatalogName` |   |