Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.ConsentsResource.RejectRequest

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

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Consent>
CloudHealthcareBaseServiceRequest<Consent>
ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.ConsentsResource.RejectRequest
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.RejectRequest : CloudHealthcareBaseServiceRequest<Consent>, IClientServiceRequest<Consent>, IClientServiceRequest

Constructors

RejectRequest(IClientService, RejectConsentRequest, string)

Constructs a new Reject request.

Declaration
public RejectRequest(IClientService service, RejectConsentRequest body, string name)
Parameters
Type Name Description
IClientService service
RejectConsentRequest 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 reject, 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 Reject parameter list.

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

Implements

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