Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.ConsentsResource.ActivateRequest

Activates the latest revision of the specified Consent by committing a new revision with state updated to ACTIVE. If the latest revision of the specified Consent is in the ACTIVE state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified consent is in the REJECTED or REVOKED state.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Consent>
CloudHealthcareBaseServiceRequest<Consent>
ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.ConsentsResource.ActivateRequest
Implements
IClientServiceRequest<Consent>
IClientServiceRequest
Inherited Members
CloudHealthcareBaseServiceRequest<Consent>.Xgafv
CloudHealthcareBaseServiceRequest<Consent>.AccessToken
CloudHealthcareBaseServiceRequest<Consent>.Alt
CloudHealthcareBaseServiceRequest<Consent>.Callback
CloudHealthcareBaseServiceRequest<Consent>.Fields
CloudHealthcareBaseServiceRequest<Consent>.Key
CloudHealthcareBaseServiceRequest<Consent>.OauthToken
CloudHealthcareBaseServiceRequest<Consent>.PrettyPrint
CloudHealthcareBaseServiceRequest<Consent>.QuotaUser
CloudHealthcareBaseServiceRequest<Consent>.UploadType
CloudHealthcareBaseServiceRequest<Consent>.UploadProtocol
ClientServiceRequest<Consent>.Execute()
ClientServiceRequest<Consent>.ExecuteAsStream()
ClientServiceRequest<Consent>.ExecuteAsync()
ClientServiceRequest<Consent>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Consent>.ExecuteAsStreamAsync()
ClientServiceRequest<Consent>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Consent>.CreateRequest(bool?)
ClientServiceRequest<Consent>.GenerateRequestUri()
ClientServiceRequest<Consent>.GetDefaultETagAction(string)
ClientServiceRequest<Consent>.ETagAction
ClientServiceRequest<Consent>.ModifyRequest
ClientServiceRequest<Consent>.ValidateParameters
ClientServiceRequest<Consent>.ApiVersion
ClientServiceRequest<Consent>.RequestParameters
ClientServiceRequest<Consent>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudHealthcare.v1beta1
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.ConsentsResource.ActivateRequest : CloudHealthcareBaseServiceRequest<Consent>, IClientServiceRequest<Consent>, IClientServiceRequest

Constructors

ActivateRequest(IClientService, ActivateConsentRequest, string)

Constructs a new Activate request.

Declaration
public ActivateRequest(IClientService service, ActivateConsentRequest body, string name)
Parameters
Type Name Description
IClientService service
ActivateConsentRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Consent>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Consent>.MethodName

Name

Required. The resource name of the Consent to activate, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. An INVALID_ARGUMENT error occurs if revision_id is specified in the name.

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
ClientServiceRequest<Consent>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Consent>.GetBody()

InitParameters()

Initializes Activate parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudHealthcareBaseServiceRequest<Consent>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX