Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dataplex/v1.DataAttributeBinding
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create a DataAttributeBinding resource. Auto-naming is currently not supported for this resource.
Create DataAttributeBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataAttributeBinding(name: string, args: DataAttributeBindingArgs, opts?: CustomResourceOptions);
@overload
def DataAttributeBinding(resource_name: str,
args: DataAttributeBindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataAttributeBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_attribute_binding_id: Optional[str] = None,
attributes: Optional[Sequence[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,
paths: Optional[Sequence[GoogleCloudDataplexV1DataAttributeBindingPathArgs]] = None,
project: Optional[str] = None,
resource: Optional[str] = None)
func NewDataAttributeBinding(ctx *Context, name string, args DataAttributeBindingArgs, opts ...ResourceOption) (*DataAttributeBinding, error)
public DataAttributeBinding(string name, DataAttributeBindingArgs args, CustomResourceOptions? opts = null)
public DataAttributeBinding(String name, DataAttributeBindingArgs args)
public DataAttributeBinding(String name, DataAttributeBindingArgs args, CustomResourceOptions options)
type: google-native:dataplex/v1:DataAttributeBinding
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DataAttributeBindingArgs
- 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 DataAttributeBindingArgs
- 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 DataAttributeBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataAttributeBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataAttributeBindingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataAttributeBindingResource = new GoogleNative.Dataplex.V1.DataAttributeBinding("dataAttributeBindingResource", new()
{
DataAttributeBindingId = "string",
Attributes = new[]
{
"string",
},
Description = "string",
DisplayName = "string",
Etag = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Paths = new[]
{
new GoogleNative.Dataplex.V1.Inputs.GoogleCloudDataplexV1DataAttributeBindingPathArgs
{
Name = "string",
Attributes = new[]
{
"string",
},
},
},
Project = "string",
Resource = "string",
});
example, err := dataplex.NewDataAttributeBinding(ctx, "dataAttributeBindingResource", &dataplex.DataAttributeBindingArgs{
DataAttributeBindingId: pulumi.String("string"),
Attributes: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Etag: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Paths: dataplex.GoogleCloudDataplexV1DataAttributeBindingPathArray{
&dataplex.GoogleCloudDataplexV1DataAttributeBindingPathArgs{
Name: pulumi.String("string"),
Attributes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Project: pulumi.String("string"),
Resource: pulumi.String("string"),
})
var dataAttributeBindingResource = new DataAttributeBinding("dataAttributeBindingResource", DataAttributeBindingArgs.builder()
.dataAttributeBindingId("string")
.attributes("string")
.description("string")
.displayName("string")
.etag("string")
.labels(Map.of("string", "string"))
.location("string")
.paths(GoogleCloudDataplexV1DataAttributeBindingPathArgs.builder()
.name("string")
.attributes("string")
.build())
.project("string")
.resource("string")
.build());
data_attribute_binding_resource = google_native.dataplex.v1.DataAttributeBinding("dataAttributeBindingResource",
data_attribute_binding_id="string",
attributes=["string"],
description="string",
display_name="string",
etag="string",
labels={
"string": "string",
},
location="string",
paths=[google_native.dataplex.v1.GoogleCloudDataplexV1DataAttributeBindingPathArgs(
name="string",
attributes=["string"],
)],
project="string",
resource="string")
const dataAttributeBindingResource = new google_native.dataplex.v1.DataAttributeBinding("dataAttributeBindingResource", {
dataAttributeBindingId: "string",
attributes: ["string"],
description: "string",
displayName: "string",
etag: "string",
labels: {
string: "string",
},
location: "string",
paths: [{
name: "string",
attributes: ["string"],
}],
project: "string",
resource: "string",
});
type: google-native:dataplex/v1:DataAttributeBinding
properties:
attributes:
- string
dataAttributeBindingId: string
description: string
displayName: string
etag: string
labels:
string: string
location: string
paths:
- attributes:
- string
name: string
project: string
resource: string
DataAttributeBinding 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 DataAttributeBinding resource accepts the following input properties:
- Data
Attribute stringBinding Id - Required. DataAttributeBinding 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 Location.
- Attributes List<string>
- Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- Description string
- Optional. Description of the DataAttributeBinding.
- 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. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
- Labels Dictionary<string, string>
- Optional. User-defined labels for the DataAttributeBinding.
- Location string
- Paths
List<Pulumi.
Google Native. Dataplex. V1. Inputs. Google Cloud Dataplex V1Data Attribute Binding Path> - Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
- Project string
- Resource string
- Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
- Data
Attribute stringBinding Id - Required. DataAttributeBinding 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 Location.
- Attributes []string
- Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- Description string
- Optional. Description of the DataAttributeBinding.
- 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. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
- Labels map[string]string
- Optional. User-defined labels for the DataAttributeBinding.
- Location string
- Paths
[]Google
Cloud Dataplex V1Data Attribute Binding Path Args - Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
- Project string
- Resource string
- Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
- data
Attribute StringBinding Id - Required. DataAttributeBinding 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 Location.
- attributes List<String>
- Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- description String
- Optional. Description of the DataAttributeBinding.
- 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. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
- labels Map<String,String>
- Optional. User-defined labels for the DataAttributeBinding.
- location String
- paths
List<Google
Cloud Dataplex V1Data Attribute Binding Path> - Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
- project String
- resource String
- Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
- data
Attribute stringBinding Id - Required. DataAttributeBinding 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 Location.
- attributes string[]
- Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- description string
- Optional. Description of the DataAttributeBinding.
- 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. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
- labels {[key: string]: string}
- Optional. User-defined labels for the DataAttributeBinding.
- location string
- paths
Google
Cloud Dataplex V1Data Attribute Binding Path[] - Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
- project string
- resource string
- Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
- data_
attribute_ strbinding_ id - Required. DataAttributeBinding 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 Location.
- attributes Sequence[str]
- Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- description str
- Optional. Description of the DataAttributeBinding.
- 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. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
- labels Mapping[str, str]
- Optional. User-defined labels for the DataAttributeBinding.
- location str
- paths
Sequence[Google
Cloud Dataplex V1Data Attribute Binding Path Args] - Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
- project str
- resource str
- Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
- data
Attribute StringBinding Id - Required. DataAttributeBinding 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 Location.
- attributes List<String>
- Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- description String
- Optional. Description of the DataAttributeBinding.
- 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. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
- labels Map<String>
- Optional. User-defined labels for the DataAttributeBinding.
- location String
- paths List<Property Map>
- Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
- project String
- resource String
- Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataAttributeBinding resource produces the following output properties:
- Create
Time string - The time when the DataAttributeBinding was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
- Uid string
- System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
- Update
Time string - The time when the DataAttributeBinding was last updated.
- Create
Time string - The time when the DataAttributeBinding was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
- Uid string
- System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
- Update
Time string - The time when the DataAttributeBinding was last updated.
- create
Time String - The time when the DataAttributeBinding was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
- uid String
- System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
- update
Time String - The time when the DataAttributeBinding was last updated.
- create
Time string - The time when the DataAttributeBinding was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
- uid string
- System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
- update
Time string - The time when the DataAttributeBinding was last updated.
- create_
time str - The time when the DataAttributeBinding was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
- uid str
- System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
- update_
time str - The time when the DataAttributeBinding was last updated.
- create
Time String - The time when the DataAttributeBinding was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
- uid String
- System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
- update
Time String - The time when the DataAttributeBinding was last updated.
Supporting Types
GoogleCloudDataplexV1DataAttributeBindingPath, GoogleCloudDataplexV1DataAttributeBindingPathArgs
- Name string
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- Attributes List<string>
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- Name string
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- Attributes []string
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name String
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes List<String>
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name string
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes string[]
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name str
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes Sequence[str]
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name String
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes List<String>
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
GoogleCloudDataplexV1DataAttributeBindingPathResponse, GoogleCloudDataplexV1DataAttributeBindingPathResponseArgs
- Attributes List<string>
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- Name string
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- Attributes []string
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- Name string
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes List<String>
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name String
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes string[]
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name string
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes Sequence[str]
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name str
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
- attributes List<String>
- Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- name String
- The name identifier of the path. Nested columns should be of the form: 'address.city'.
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.