Class ProjectsResource.ReportConsentChangeRequest
Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * Terms for data use
Inheritance
ProjectsResource.ReportConsentChangeRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.ReportConsentChangeRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaProject>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaProject>, IClientServiceRequest
Constructors
ReportConsentChangeRequest(IClientService, GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest, string)
Constructs a new ReportConsentChange request.
Declaration
public ReportConsentChangeRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest body, string project)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest | 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 a Project, such as projects/{project_id_or_number}
.
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 ReportConsentChange parameter list.
Declaration
protected override void InitParameters()