Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.dataplex/v1.getAttribute
Explore with Pulumi AI
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:
- Attribute
Id string - Data
Taxonomy stringId - Location string
- Project string
- Attribute
Id string - Data
Taxonomy stringId - Location string
- Project string
- attribute
Id String - data
Taxonomy StringId - location String
- project String
- attribute
Id string - data
Taxonomy stringId - location string
- project string
- attribute_
id str - data_
taxonomy_ strid - location str
- project str
- attribute
Id String - data
Taxonomy StringId - location String
- project String
getAttribute Result
The following output properties are available:
- Attribute
Count int The number of child attributes present for this attribute.
- Create
Time string The time when the DataAttribute was created.
- Data
Access Pulumi.Spec Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Data Access Spec Response Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
- Description string
Optional. Description of the DataAttribute.
- Display
Name 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}.
- Parent
Id 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
- Resource
Access Pulumi.Spec Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Resource Access Spec Response 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.
- Update
Time string The time when the DataAttribute was last updated.
- Attribute
Count int The number of child attributes present for this attribute.
- Create
Time string The time when the DataAttribute was created.
- Data
Access GoogleSpec Cloud Dataplex V1Data Access Spec Response Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
- Description string
Optional. Description of the DataAttribute.
- Display
Name 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}.
- Parent
Id 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
- Resource
Access GoogleSpec Cloud Dataplex V1Resource Access Spec Response 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.
- Update
Time string The time when the DataAttribute was last updated.
- attribute
Count Integer The number of child attributes present for this attribute.
- create
Time String The time when the DataAttribute was created.
- data
Access GoogleSpec Cloud Dataplex V1Data Access Spec Response Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
- description String
Optional. Description of the DataAttribute.
- display
Name 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}.
- parent
Id 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
- resource
Access GoogleSpec Cloud Dataplex V1Resource Access Spec Response 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.
- update
Time String The time when the DataAttribute was last updated.
- attribute
Count number The number of child attributes present for this attribute.
- create
Time string The time when the DataAttribute was created.
- data
Access GoogleSpec Cloud Dataplex V1Data Access Spec Response Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
- description string
Optional. Description of the DataAttribute.
- display
Name 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}.
- parent
Id 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
- resource
Access GoogleSpec Cloud Dataplex V1Resource Access Spec Response 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.
- update
Time 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_ Googlespec Cloud Dataplex V1Data Access Spec Response 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_ Googlespec Cloud Dataplex V1Resource Access Spec Response 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.
- attribute
Count Number The number of child attributes present for this attribute.
- create
Time String The time when the DataAttribute was created.
- data
Access Property MapSpec Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
- description String
Optional. Description of the DataAttribute.
- display
Name 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}.
- parent
Id 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
- resource
Access Property MapSpec 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.
- update
Time 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