public class CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate extends CloudHealthcareRequest<Consent>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Activate(String name,
ActivateConsentRequest content)
Activates the latest revision of the specified Consent by committing a new revision with
`state` updated to `ACTIVE`.
|
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 Activate(String name, ActivateConsentRequest 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 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.content
- the ActivateConsentRequest
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate set$Xgafv(String $Xgafv)
CloudHealthcareRequest
set$Xgafv
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setAccessToken(String accessToken)
CloudHealthcareRequest
setAccessToken
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setAlt(String alt)
CloudHealthcareRequest
setAlt
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setCallback(String callback)
CloudHealthcareRequest
setCallback
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setFields(String fields)
CloudHealthcareRequest
setFields
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setKey(String key)
CloudHealthcareRequest
setKey
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setOauthToken(String oauthToken)
CloudHealthcareRequest
setOauthToken
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setPrettyPrint(Boolean prettyPrint)
CloudHealthcareRequest
setPrettyPrint
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setQuotaUser(String quotaUser)
CloudHealthcareRequest
setQuotaUser
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setUploadType(String uploadType)
CloudHealthcareRequest
setUploadType
in class CloudHealthcareRequest<Consent>
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setUploadProtocol(String uploadProtocol)
CloudHealthcareRequest
setUploadProtocol
in class CloudHealthcareRequest<Consent>
public String getName()
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate setName(String name)
public CloudHealthcare.Projects.Locations.Datasets.ConsentStores.Consents.Activate set(String parameterName, Object value)
set
in class CloudHealthcareRequest<Consent>
Copyright © 2011–2024 Google. All rights reserved.