1. Packages
  2. Google Cloud Native
  3. API Docs
  4. healthcare
  5. healthcare/v1
  6. getConsentStore

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.healthcare/v1.getConsentStore

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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>
Copy
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]
Copy
func LookupConsentStore(ctx *Context, args *LookupConsentStoreArgs, opts ...InvokeOption) (*LookupConsentStoreResult, error)
func LookupConsentStoreOutput(ctx *Context, args *LookupConsentStoreOutputArgs, opts ...InvokeOption) LookupConsentStoreResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetConsentStoreResult> getConsentStore(GetConsentStoreArgs args, InvokeOptions options)
public static Output<GetConsentStoreResult> getConsentStore(GetConsentStoreArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:healthcare/v1:getConsentStore
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConsentStoreId This property is required. string
DatasetId This property is required. string
Location This property is required. string
Project string
ConsentStoreId This property is required. string
DatasetId This property is required. string
Location This property is required. string
Project string
consentStoreId This property is required. String
datasetId This property is required. String
location This property is required. String
project String
consentStoreId This property is required. string
datasetId This property is required. string
location This property is required. string
project string
consent_store_id This property is required. str
dataset_id This property is required. str
location This property is required. str
project str
consentStoreId This property is required. String
datasetId This property is required. String
location This property is required. String
project String

getConsentStore Result

The following output properties are available:

DefaultConsentTtl string
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.
EnableConsentCreateOnUpdate bool
Optional. If true, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to false.
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.
DefaultConsentTtl string
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.
EnableConsentCreateOnUpdate bool
Optional. If true, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to false.
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.
defaultConsentTtl String
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.
enableConsentCreateOnUpdate Boolean
Optional. If true, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to false.
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.
defaultConsentTtl string
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.
enableConsentCreateOnUpdate boolean
Optional. If true, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to false.
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_ttl str
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_create_on_update bool
Optional. If true, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to false.
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.
defaultConsentTtl String
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.
enableConsentCreateOnUpdate Boolean
Optional. If true, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to false.
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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi