com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1DataAttributeBinding Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.dataplex.v1.model;
/**
* DataAttributeBinding represents binding of attributes to resources. Eg: Bind 'CustomerInfo'
* entity with 'PII' attribute.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Dataplex API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudDataplexV1DataAttributeBinding extends com.google.api.client.json.GenericJson {
/**
* Optional. List of attributes to be associated with the resource, provided in the form: projects
* /{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List attributes;
/**
* Output only. The time when the DataAttributeBinding was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Optional. Description of the DataAttributeBinding.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* Optional. User friendly display name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayName;
/**
* 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.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String etag;
/**
* Optional. User-defined labels for the DataAttributeBinding.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map labels;
/**
* Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{p
* roject_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Optional. The list of paths for items within the associated resource (eg. columns and
* partitions within a table) along with attribute bindings.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List paths;
/**
* 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.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String resource;
/**
* Output only. 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.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String uid;
/**
* Output only. The time when the DataAttributeBinding was last updated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* Optional. List of attributes to be associated with the resource, provided in the form: projects
* /{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
* @return value or {@code null} for none
*/
public java.util.List getAttributes() {
return attributes;
}
/**
* Optional. List of attributes to be associated with the resource, provided in the form: projects
* /{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
* @param attributes attributes or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setAttributes(java.util.List attributes) {
this.attributes = attributes;
return this;
}
/**
* Output only. The time when the DataAttributeBinding was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. The time when the DataAttributeBinding was created.
* @param createTime createTime or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Optional. Description of the DataAttributeBinding.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* Optional. Description of the DataAttributeBinding.
* @param description description or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* Optional. User friendly display name.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}
/**
* Optional. User friendly display name.
* @param displayName displayName or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}
/**
* 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.
* @return value or {@code null} for none
*/
public java.lang.String getEtag() {
return etag;
}
/**
* 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.
* @param etag etag or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setEtag(java.lang.String etag) {
this.etag = etag;
return this;
}
/**
* Optional. User-defined labels for the DataAttributeBinding.
* @return value or {@code null} for none
*/
public java.util.Map getLabels() {
return labels;
}
/**
* Optional. User-defined labels for the DataAttributeBinding.
* @param labels labels or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setLabels(java.util.Map labels) {
this.labels = labels;
return this;
}
/**
* Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{p
* roject_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{p
* roject_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
* @param name name or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Optional. The list of paths for items within the associated resource (eg. columns and
* partitions within a table) along with attribute bindings.
* @return value or {@code null} for none
*/
public java.util.List getPaths() {
return paths;
}
/**
* Optional. The list of paths for items within the associated resource (eg. columns and
* partitions within a table) along with attribute bindings.
* @param paths paths or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setPaths(java.util.List paths) {
this.paths = paths;
return this;
}
/**
* 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.
* @return value or {@code null} for none
*/
public java.lang.String getResource() {
return resource;
}
/**
* 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.
* @param resource resource or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setResource(java.lang.String resource) {
this.resource = resource;
return this;
}
/**
* Output only. 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.
* @return value or {@code null} for none
*/
public java.lang.String getUid() {
return uid;
}
/**
* Output only. 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.
* @param uid uid or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setUid(java.lang.String uid) {
this.uid = uid;
return this;
}
/**
* Output only. The time when the DataAttributeBinding was last updated.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Output only. The time when the DataAttributeBinding was last updated.
* @param updateTime updateTime or {@code null} for none
*/
public GoogleCloudDataplexV1DataAttributeBinding setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
@Override
public GoogleCloudDataplexV1DataAttributeBinding set(String fieldName, Object value) {
return (GoogleCloudDataplexV1DataAttributeBinding) super.set(fieldName, value);
}
@Override
public GoogleCloudDataplexV1DataAttributeBinding clone() {
return (GoogleCloudDataplexV1DataAttributeBinding) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy