public class CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke extends CloudHealthcareRequest<Consent>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Revoke(String name,
RevokeConsentRequest content)
Revokes the latest revision of the specified Consent by committing a new revision with `state`
updated to `REVOKED`.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Revoke(String name, RevokeConsentRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
CloudHealthcare.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
name
- Required. The resource name of the Consent to revoke, 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.content
- the RevokeConsentRequest
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke set$Xgafv(String $Xgafv)
CloudHealthcareRequest
set$Xgafv
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setAccessToken(String accessToken)
CloudHealthcareRequest
setAccessToken
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setAlt(String alt)
CloudHealthcareRequest
setAlt
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setCallback(String callback)
CloudHealthcareRequest
setCallback
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setFields(String fields)
CloudHealthcareRequest
setFields
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setKey(String key)
CloudHealthcareRequest
setKey
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setOauthToken(String oauthToken)
CloudHealthcareRequest
setOauthToken
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setPrettyPrint(Boolean prettyPrint)
CloudHealthcareRequest
setPrettyPrint
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setQuotaUser(String quotaUser)
CloudHealthcareRequest
setQuotaUser
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setUploadType(String uploadType)
CloudHealthcareRequest
setUploadType
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setUploadProtocol(String uploadProtocol)
CloudHealthcareRequest
setUploadProtocol
in class CloudHealthcareRequest<Consent>
public String getName()
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke setName(String name)
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Revoke set(String parameterName, Object value)
set
in class CloudHealthcareRequest<Consent>
Copyright © 2011–2024 Google. All rights reserved.