1. Packages
  2. Google Cloud Native
  3. API Docs
  4. healthcare
  5. healthcare/v1beta1
  6. getAttributeDefinition

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/v1beta1.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>
Copy
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]
Copy
func LookupAttributeDefinition(ctx *Context, args *LookupAttributeDefinitionArgs, opts ...InvokeOption) (*LookupAttributeDefinitionResult, error)
func LookupAttributeDefinitionOutput(ctx *Context, args *LookupAttributeDefinitionOutputArgs, opts ...InvokeOption) LookupAttributeDefinitionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAttributeDefinitionResult> getAttributeDefinition(GetAttributeDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Copy
fn::invoke:
  function: google-native:healthcare/v1beta1:getAttributeDefinition
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AttributeDefinitionId This property is required. string
ConsentStoreId This property is required. string
DatasetId This property is required. string
Location This property is required. string
Project string
AttributeDefinitionId This property is required. string
ConsentStoreId This property is required. string
DatasetId This property is required. string
Location This property is required. string
Project string
attributeDefinitionId This property is required. String
consentStoreId This property is required. String
datasetId This property is required. String
location This property is required. String
project String
attributeDefinitionId This property is required. string
consentStoreId This property is required. string
datasetId This property is required. string
location This property is required. string
project string
attribute_definition_id This property is required. str
consent_store_id This property is required. str
dataset_id This property is required. str
location This property is required. str
project str
attributeDefinitionId This property is required. String
consentStoreId This property is required. String
datasetId This property is required. String
location This property is required. 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.
ConsentDefaultValues List<string>
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
DataMappingDefaultValue string
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.
ConsentDefaultValues []string
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
DataMappingDefaultValue string
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.
consentDefaultValues List<String>
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
dataMappingDefaultValue String
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.
consentDefaultValues string[]
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
dataMappingDefaultValue string
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_values Sequence[str]
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
data_mapping_default_value str
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.
consentDefaultValues List<String>
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
dataMappingDefaultValue String
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