Class ProjectsResource.GetRetailProjectRequest
Gets the project. Throws NOT_FOUND
if the project wasn't initialized for the Retail API service.
Inheritance
ProjectsResource.GetRetailProjectRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.GetRetailProjectRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaProject>, IClientServiceRequest<GoogleCloudRetailV2alphaProject>, IClientServiceRequest
Constructors
GetRetailProjectRequest(IClientService, string)
Constructs a new GetRetailProject request.
Declaration
public GetRetailProjectRequest(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. Full resource name of the project. Format: projects/{project_number_or_id}/retailProject
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
Methods
InitParameters()
Initializes GetRetailProject parameter list.
Declaration
protected override void InitParameters()