Class ProjectsResource.RetailProjectResource.AcceptTermsRequest
Accepts service terms for this project. By making requests to this API, you agree to the terms of service linked below. https://cloud.google.com/retail/data-use-terms
Inheritance
ProjectsResource.RetailProjectResource.AcceptTermsRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.RetailProjectResource.AcceptTermsRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaProject>, IClientServiceRequest<GoogleCloudRetailV2alphaProject>, IClientServiceRequest
Constructors
AcceptTermsRequest(IClientService, GoogleCloudRetailV2alphaAcceptTermsRequest, string)
Constructs a new AcceptTerms request.
Declaration
public AcceptTermsRequest(IClientService service, GoogleCloudRetailV2alphaAcceptTermsRequest body, string project)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2alphaAcceptTermsRequest | body | |
string | project |
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
Project
Required. Full resource name of the project. Format: projects/{project_number_or_id}/retailProject
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes AcceptTerms parameter list.
Declaration
protected override void InitParameters()