Class ProjectsResource.LocationsResource.CatalogsResource.BranchesResource.GetRequest
Retrieves a Branch.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.BranchesResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.BranchesResource.GetRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaBranch>, IClientServiceRequest<GoogleCloudRetailV2alphaBranch>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
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
Name
Required. The name of the branch to retrieve. Format:
projects/*/locations/global/catalogs/default_catalog/branches/some_branch_id
.
"default_branch" can be used as a special branch_id, it returns the default branch that has
been set for the catalog.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
The view to apply to the returned Branch. Defaults to [Branch.BranchView.BASIC] if unspecified. See documentation of fields of Branch to find what fields are excluded from BASIC view.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.CatalogsResource.BranchesResource.GetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.BranchesResource.GetRequest.ViewEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()