google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.dataplex/v1.Attribute

Create a DataAttribute resource. Auto-naming is currently not supported for this resource.

Create Attribute Resource

new Attribute(name: string, args: AttributeArgs, opts?: CustomResourceOptions);
@overload
def Attribute(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              data_access_spec: Optional[GoogleCloudDataplexV1DataAccessSpecArgs] = None,
              data_attribute_id: Optional[str] = None,
              data_taxonomy_id: Optional[str] = None,
              description: Optional[str] = None,
              display_name: Optional[str] = None,
              etag: Optional[str] = None,
              labels: Optional[Mapping[str, str]] = None,
              location: Optional[str] = None,
              parent_id: Optional[str] = None,
              project: Optional[str] = None,
              resource_access_spec: Optional[GoogleCloudDataplexV1ResourceAccessSpecArgs] = None,
              validate_only: Optional[bool] = None)
@overload
def Attribute(resource_name: str,
              args: AttributeArgs,
              opts: Optional[ResourceOptions] = None)
func NewAttribute(ctx *Context, name string, args AttributeArgs, opts ...ResourceOption) (*Attribute, error)
public Attribute(string name, AttributeArgs args, CustomResourceOptions? opts = null)
public Attribute(String name, AttributeArgs args)
public Attribute(String name, AttributeArgs args, CustomResourceOptions options)
type: google-native:dataplex/v1:Attribute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AttributeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AttributeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AttributeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AttributeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AttributeArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Attribute Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Attribute resource accepts the following input properties:

DataAttributeId string

Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy.

DataTaxonomyId string
DataAccessSpec Pulumi.GoogleNative.Dataplex.V1.Inputs.GoogleCloudDataplexV1DataAccessSpecArgs

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.

Location string
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

Project string
ResourceAccessSpec Pulumi.GoogleNative.Dataplex.V1.Inputs.GoogleCloudDataplexV1ResourceAccessSpecArgs

Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).

ValidateOnly bool

Optional. Only validate the request, but do not perform mutations. The default is false.

DataAttributeId string

Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy.

DataTaxonomyId string
DataAccessSpec GoogleCloudDataplexV1DataAccessSpecArgs

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.

Location string
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

Project string
ResourceAccessSpec GoogleCloudDataplexV1ResourceAccessSpecArgs

Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).

ValidateOnly bool

Optional. Only validate the request, but do not perform mutations. The default is false.

dataAttributeId String

Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy.

dataTaxonomyId String
dataAccessSpec GoogleCloudDataplexV1DataAccessSpecArgs

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.

location String
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

project String
resourceAccessSpec GoogleCloudDataplexV1ResourceAccessSpecArgs

Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).

validateOnly Boolean

Optional. Only validate the request, but do not perform mutations. The default is false.

dataAttributeId string

Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy.

dataTaxonomyId string
dataAccessSpec GoogleCloudDataplexV1DataAccessSpecArgs

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.

location string
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

project string
resourceAccessSpec GoogleCloudDataplexV1ResourceAccessSpecArgs

Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).

validateOnly boolean

Optional. Only validate the request, but do not perform mutations. The default is false.

data_attribute_id str

Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy.

data_taxonomy_id str
data_access_spec GoogleCloudDataplexV1DataAccessSpecArgs

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.

location str
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

project str
resource_access_spec GoogleCloudDataplexV1ResourceAccessSpecArgs

Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).

validate_only bool

Optional. Only validate the request, but do not perform mutations. The default is false.

dataAttributeId String

Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy.

dataTaxonomyId String
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.

location String
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

project String
resourceAccessSpec Property Map

Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).

validateOnly Boolean

Optional. Only validate the request, but do not perform mutations. The default is false.

Outputs

All input properties are implicitly available as output properties. Additionally, the Attribute resource produces the following output properties:

AttributeCount int

The number of child attributes present for this attribute.

CreateTime string

The time when the DataAttribute was created.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.

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.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.

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.

id String

The provider-assigned unique ID for this managed resource.

name String

The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.

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.

id string

The provider-assigned unique ID for this managed resource.

name string

The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.

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.

id str

The provider-assigned unique ID for this managed resource.

name str

The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.

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.

id String

The provider-assigned unique ID for this managed resource.

name String

The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.

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

GoogleCloudDataplexV1DataAccessSpec

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.

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.

GoogleCloudDataplexV1ResourceAccessSpec

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.

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