google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.healthcare/v1.getAttributeDefinition

Explore with Pulumi AI

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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:healthcare/v1:getAttributeDefinition
  arguments:
    # arguments dictionary

The following arguments are supported:

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