1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dataplex
  5. dataplex/v1
  6. getAttribute

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.dataplex/v1.getAttribute

Explore with Pulumi AI

google-native logo

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

    Retrieves a Data Attribute resource.

    Using getAttribute

    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 getAttribute(args: GetAttributeArgs, opts?: InvokeOptions): Promise<GetAttributeResult>
    function getAttributeOutput(args: GetAttributeOutputArgs, opts?: InvokeOptions): Output<GetAttributeResult>
    def get_attribute(attribute_id: Optional[str] = None,
                      data_taxonomy_id: Optional[str] = None,
                      location: Optional[str] = None,
                      project: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAttributeResult
    def get_attribute_output(attribute_id: Optional[pulumi.Input[str]] = None,
                      data_taxonomy_id: Optional[pulumi.Input[str]] = None,
                      location: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAttributeResult]
    func LookupAttribute(ctx *Context, args *LookupAttributeArgs, opts ...InvokeOption) (*LookupAttributeResult, error)
    func LookupAttributeOutput(ctx *Context, args *LookupAttributeOutputArgs, opts ...InvokeOption) LookupAttributeResultOutput

    > Note: This function is named LookupAttribute in the Go SDK.

    public static class GetAttribute 
    {
        public static Task<GetAttributeResult> InvokeAsync(GetAttributeArgs args, InvokeOptions? opts = null)
        public static Output<GetAttributeResult> Invoke(GetAttributeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAttributeResult> getAttribute(GetAttributeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:dataplex/v1:getAttribute
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AttributeId string
    DataTaxonomyId string
    Location string
    Project string
    AttributeId string
    DataTaxonomyId string
    Location string
    Project string
    attributeId String
    dataTaxonomyId String
    location String
    project String
    attributeId string
    dataTaxonomyId string
    location string
    project string
    attributeId String
    dataTaxonomyId String
    location String
    project String

    getAttribute Result

    The following output properties are available:

    AttributeCount int
    The number of child attributes present for this attribute.
    CreateTime string
    The time when the DataAttribute was created.
    DataAccessSpec Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1DataAccessSpecResponse
    Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
    Description string
    Optional. Description of the DataAttribute.
    DisplayName string
    Optional. User friendly display name.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Labels Dictionary<string, string>
    Optional. User-defined labels for the DataAttribute.
    Name string
    The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    ParentId string
    Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4
    ResourceAccessSpec Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1ResourceAccessSpecResponse
    Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
    Uid string
    System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.
    UpdateTime string
    The time when the DataAttribute was last updated.
    AttributeCount int
    The number of child attributes present for this attribute.
    CreateTime string
    The time when the DataAttribute was created.
    DataAccessSpec GoogleCloudDataplexV1DataAccessSpecResponse
    Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
    Description string
    Optional. Description of the DataAttribute.
    DisplayName string
    Optional. User friendly display name.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Labels map[string]string
    Optional. User-defined labels for the DataAttribute.
    Name string
    The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    ParentId string
    Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4
    ResourceAccessSpec GoogleCloudDataplexV1ResourceAccessSpecResponse
    Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
    Uid string
    System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.
    UpdateTime string
    The time when the DataAttribute was last updated.
    attributeCount Integer
    The number of child attributes present for this attribute.
    createTime String
    The time when the DataAttribute was created.
    dataAccessSpec GoogleCloudDataplexV1DataAccessSpecResponse
    Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
    description String
    Optional. Description of the DataAttribute.
    displayName String
    Optional. User friendly display name.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Map<String,String>
    Optional. User-defined labels for the DataAttribute.
    name String
    The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    parentId String
    Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4
    resourceAccessSpec GoogleCloudDataplexV1ResourceAccessSpecResponse
    Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
    uid String
    System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.
    updateTime String
    The time when the DataAttribute was last updated.
    attributeCount number
    The number of child attributes present for this attribute.
    createTime string
    The time when the DataAttribute was created.
    dataAccessSpec GoogleCloudDataplexV1DataAccessSpecResponse
    Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
    description string
    Optional. Description of the DataAttribute.
    displayName string
    Optional. User friendly display name.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels {[key: string]: string}
    Optional. User-defined labels for the DataAttribute.
    name string
    The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    parentId string
    Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4
    resourceAccessSpec GoogleCloudDataplexV1ResourceAccessSpecResponse
    Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
    uid string
    System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.
    updateTime string
    The time when the DataAttribute was last updated.
    attribute_count int
    The number of child attributes present for this attribute.
    create_time str
    The time when the DataAttribute was created.
    data_access_spec GoogleCloudDataplexV1DataAccessSpecResponse
    Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
    description str
    Optional. Description of the DataAttribute.
    display_name str
    Optional. User friendly display name.
    etag str
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Mapping[str, str]
    Optional. User-defined labels for the DataAttribute.
    name str
    The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    parent_id str
    Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4
    resource_access_spec GoogleCloudDataplexV1ResourceAccessSpecResponse
    Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
    uid str
    System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.
    update_time str
    The time when the DataAttribute was last updated.
    attributeCount Number
    The number of child attributes present for this attribute.
    createTime String
    The time when the DataAttribute was created.
    dataAccessSpec Property Map
    Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
    description String
    Optional. Description of the DataAttribute.
    displayName String
    Optional. User friendly display name.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Map<String>
    Optional. User-defined labels for the DataAttribute.
    name String
    The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    parentId String
    Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4
    resourceAccessSpec Property Map
    Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
    uid String
    System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name.
    updateTime String
    The time when the DataAttribute was last updated.

    Supporting Types

    GoogleCloudDataplexV1DataAccessSpecResponse

    Readers List<string>
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
    Readers []string
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
    readers List<String>
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
    readers string[]
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
    readers Sequence[str]
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
    readers List<String>
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.

    GoogleCloudDataplexV1ResourceAccessSpecResponse

    Owners List<string>
    Optional. The set of principals to be granted owner role on the resource.
    Readers List<string>
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.
    Writers List<string>
    Optional. The set of principals to be granted writer role on the resource.
    Owners []string
    Optional. The set of principals to be granted owner role on the resource.
    Readers []string
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.
    Writers []string
    Optional. The set of principals to be granted writer role on the resource.
    owners List<String>
    Optional. The set of principals to be granted owner role on the resource.
    readers List<String>
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.
    writers List<String>
    Optional. The set of principals to be granted writer role on the resource.
    owners string[]
    Optional. The set of principals to be granted owner role on the resource.
    readers string[]
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.
    writers string[]
    Optional. The set of principals to be granted writer role on the resource.
    owners Sequence[str]
    Optional. The set of principals to be granted owner role on the resource.
    readers Sequence[str]
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.
    writers Sequence[str]
    Optional. The set of principals to be granted writer role on the resource.
    owners List<String>
    Optional. The set of principals to be granted owner role on the resource.
    readers List<String>
    Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource.
    writers List<String>
    Optional. The set of principals to be granted writer role on the resource.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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