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)
// 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:
- Attribute
Definition stringId - Consent
Store stringId - Dataset
Id string - Location string
- Project string
- Attribute
Definition stringId - Consent
Store stringId - Dataset
Id string - Location string
- Project string
- attribute
Definition StringId - consent
Store StringId - dataset
Id String - location String
- project String
- attribute
Definition stringId - consent
Store stringId - dataset
Id string - location string
- project string
- attribute_
definition_ strid - consent_
store_ strid - dataset_
id str - location str
- project str
- attribute
Definition StringId - consent
Store StringId - dataset
Id String - location String
- project String
getAttributeDefinition Result
The following output properties are available:
- Allowed
Values 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.
- Consent
Default List<string>Values - Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- Data
Mapping 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 []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.
- Consent
Default []stringValues - Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- Data
Mapping 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 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.
- consent
Default List<String>Values - Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- data
Mapping 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 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.
- consent
Default string[]Values - Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- data
Mapping 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.
- allowed
Values 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.
- consent
Default List<String>Values - Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
- data
Mapping 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