Class ProjectsResource.LocationsResource.CatalogsResource.GetDefaultBranchRequest
Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.GetDefaultBranchRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.GetDefaultBranchRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2GetDefaultBranchResponse>, IClientServiceRequest<GoogleCloudRetailV2GetDefaultBranchResponse>, IClientServiceRequest
Constructors
GetDefaultBranchRequest(IClientService, string)
Constructs a new GetDefaultBranch request.
Declaration
public GetDefaultBranchRequest(IClientService service, string catalog)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | catalog |
Properties
Catalog
The parent catalog resource name, such as
projects/*/locations/global/catalogs/default_catalog
.
Declaration
[RequestParameter("catalog", RequestParameterType.Path)]
public virtual string Catalog { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetDefaultBranch parameter list.
Declaration
protected override void InitParameters()