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.getAttributeDefinition
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 Attribute definition.
Using getAttributeDefinition
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 getAttributeDefinition(args: GetAttributeDefinitionArgs, opts?: InvokeOptions): Promise<GetAttributeDefinitionResult>
function getAttributeDefinitionOutput(args: GetAttributeDefinitionOutputArgs, opts?: InvokeOptions): Output<GetAttributeDefinitionResult>def get_attribute_definition(attribute_definition_id: Optional[str] = None,
                             consent_store_id: Optional[str] = None,
                             dataset_id: Optional[str] = None,
                             location: Optional[str] = None,
                             project: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAttributeDefinitionResult
def get_attribute_definition_output(attribute_definition_id: Optional[pulumi.Input[str]] = None,
                             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[GetAttributeDefinitionResult]func LookupAttributeDefinition(ctx *Context, args *LookupAttributeDefinitionArgs, opts ...InvokeOption) (*LookupAttributeDefinitionResult, error)
func LookupAttributeDefinitionOutput(ctx *Context, args *LookupAttributeDefinitionOutputArgs, opts ...InvokeOption) LookupAttributeDefinitionResultOutput> Note: This function is named LookupAttributeDefinition in the Go SDK.
public static class GetAttributeDefinition 
{
    public static Task<GetAttributeDefinitionResult> InvokeAsync(GetAttributeDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetAttributeDefinitionResult> Invoke(GetAttributeDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAttributeDefinitionResult> getAttributeDefinition(GetAttributeDefinitionArgs args, InvokeOptions options)
public static Output<GetAttributeDefinitionResult> getAttributeDefinition(GetAttributeDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:healthcare/v1:getAttributeDefinition
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AttributeDefinition stringId 
- ConsentStore stringId 
- DatasetId string
- Location string
- Project string
- AttributeDefinition stringId 
- ConsentStore stringId 
- DatasetId string
- Location string
- Project string
- attributeDefinition StringId 
- consentStore StringId 
- datasetId String
- location String
- project String
- attributeDefinition stringId 
- consentStore stringId 
- datasetId string
- location string
- project string
- attribute_definition_ strid 
- consent_store_ strid 
- dataset_id str
- location str
- project str
- attributeDefinition StringId 
- consentStore StringId 
- datasetId String
- location String
- project String
getAttributeDefinition Result
The following output properties are available:
- AllowedValues List<string>
- Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
- Category string
- The category of the attribute. The value of this field cannot be changed after creation.
- ConsentDefault List<string>Values 
- Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- DataMapping stringDefault Value 
- Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category RESOURCE.
- Description string
- Optional. A description of the attribute.
- Name string
- Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.
- AllowedValues []string
- Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
- Category string
- The category of the attribute. The value of this field cannot be changed after creation.
- ConsentDefault []stringValues 
- Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- DataMapping stringDefault Value 
- Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category RESOURCE.
- Description string
- Optional. A description of the attribute.
- Name string
- Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.
- allowedValues List<String>
- Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
- category String
- The category of the attribute. The value of this field cannot be changed after creation.
- consentDefault List<String>Values 
- Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- dataMapping StringDefault Value 
- Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category RESOURCE.
- description String
- Optional. A description of the attribute.
- name String
- Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.
- allowedValues string[]
- Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
- category string
- The category of the attribute. The value of this field cannot be changed after creation.
- consentDefault string[]Values 
- Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- dataMapping stringDefault Value 
- Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category RESOURCE.
- description string
- Optional. A description of the attribute.
- name string
- Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.
- allowed_values Sequence[str]
- Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
- category str
- The category of the attribute. The value of this field cannot be changed after creation.
- consent_default_ Sequence[str]values 
- Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- data_mapping_ strdefault_ value 
- Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category RESOURCE.
- description str
- Optional. A description of the attribute.
- name str
- Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.
- allowedValues List<String>
- Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
- category String
- The category of the attribute. The value of this field cannot be changed after creation.
- consentDefault List<String>Values 
- Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- dataMapping StringDefault Value 
- Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category RESOURCE.
- description String
- Optional. A description of the attribute.
- name String
- Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_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