Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.healthcare/v1.getConsentStore
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Gets the specified consent store.
Using getConsentStore
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConsentStore(args: GetConsentStoreArgs, opts?: InvokeOptions): Promise<GetConsentStoreResult>
function getConsentStoreOutput(args: GetConsentStoreOutputArgs, opts?: InvokeOptions): Output<GetConsentStoreResult>
def get_consent_store(consent_store_id: Optional[str] = None,
dataset_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConsentStoreResult
def get_consent_store_output(consent_store_id: Optional[pulumi.Input[str]] = None,
dataset_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConsentStoreResult]
func LookupConsentStore(ctx *Context, args *LookupConsentStoreArgs, opts ...InvokeOption) (*LookupConsentStoreResult, error)
func LookupConsentStoreOutput(ctx *Context, args *LookupConsentStoreOutputArgs, opts ...InvokeOption) LookupConsentStoreResultOutput
> Note: This function is named LookupConsentStore
in the Go SDK.
public static class GetConsentStore
{
public static Task<GetConsentStoreResult> InvokeAsync(GetConsentStoreArgs args, InvokeOptions? opts = null)
public static Output<GetConsentStoreResult> Invoke(GetConsentStoreInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConsentStoreResult> getConsentStore(GetConsentStoreArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:healthcare/v1:getConsentStore
arguments:
# arguments dictionary
The following arguments are supported:
- Consent
Store stringId - Dataset
Id string - Location string
- Project string
- Consent
Store stringId - Dataset
Id string - Location string
- Project string
- consent
Store StringId - dataset
Id String - location String
- project String
- consent
Store stringId - dataset
Id string - location string
- project string
- consent_
store_ strid - dataset_
id str - location str
- project str
- consent
Store StringId - dataset
Id String - location String
- project String
getConsentStore Result
The following output properties are available:
- Default
Consent stringTtl Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.
- Enable
Consent boolCreate On Update Optional. If
true
, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults tofalse
.- Labels Dictionary<string, string>
Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources
- Name string
Resource name of the consent store, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}
. Cannot be changed after creation.
- Default
Consent stringTtl Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.
- Enable
Consent boolCreate On Update Optional. If
true
, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults tofalse
.- Labels map[string]string
Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources
- Name string
Resource name of the consent store, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}
. Cannot be changed after creation.
- default
Consent StringTtl Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.
- enable
Consent BooleanCreate On Update Optional. If
true
, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults tofalse
.- labels Map<String,String>
Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources
- name String
Resource name of the consent store, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}
. Cannot be changed after creation.
- default
Consent stringTtl Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.
- enable
Consent booleanCreate On Update Optional. If
true
, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults tofalse
.- labels {[key: string]: string}
Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources
- name string
Resource name of the consent store, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}
. Cannot be changed after creation.
- default_
consent_ strttl Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.
- enable_
consent_ boolcreate_ on_ update Optional. If
true
, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults tofalse
.- labels Mapping[str, str]
Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources
- name str
Resource name of the consent store, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}
. Cannot be changed after creation.
- default
Consent StringTtl Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.
- enable
Consent BooleanCreate On Update Optional. If
true
, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults tofalse
.- labels Map<String>
Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources
- name String
Resource name of the consent store, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}
. Cannot be changed after creation.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.