All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1DataAttribute 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;

/**
 * Denotes one dataAttribute in a dataTaxonomy, for example, PII. DataAttribute resources can be
 * defined in a hierarchy. A single dataAttribute resource can contain specs of multiple types PII -
 * ResourceAccessSpec : - readers :[email protected] - DataAccessSpec : - readers :[email protected]
 *
 * 

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 GoogleCloudDataplexV1DataAttribute extends com.google.api.client.json.GenericJson { /** * Output only. The number of child attributes present for this attribute. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer attributeCount; /** * Output only. The time when the DataAttribute was created. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery * Tables). * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudDataplexV1DataAccessSpec dataAccessSpec; /** * Optional. Description of the DataAttribute. * 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. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String etag; /** * Optional. User-defined labels for the DataAttribute. * 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 dataAttribute, of the form: projects/{project_nu * mber}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * 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 * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String parentId; /** * Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, * BigQuery table). * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudDataplexV1ResourceAccessSpec resourceAccessSpec; /** * Output only. 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. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String uid; /** * Output only. The time when the DataAttribute was last updated. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Output only. The number of child attributes present for this attribute. * @return value or {@code null} for none */ public java.lang.Integer getAttributeCount() { return attributeCount; } /** * Output only. The number of child attributes present for this attribute. * @param attributeCount attributeCount or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setAttributeCount(java.lang.Integer attributeCount) { this.attributeCount = attributeCount; return this; } /** * Output only. The time when the DataAttribute was created. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. The time when the DataAttribute was created. * @param createTime createTime or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery * Tables). * @return value or {@code null} for none */ public GoogleCloudDataplexV1DataAccessSpec getDataAccessSpec() { return dataAccessSpec; } /** * Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery * Tables). * @param dataAccessSpec dataAccessSpec or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setDataAccessSpec(GoogleCloudDataplexV1DataAccessSpec dataAccessSpec) { this.dataAccessSpec = dataAccessSpec; return this; } /** * Optional. Description of the DataAttribute. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Optional. Description of the DataAttribute. * @param description description or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute 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 GoogleCloudDataplexV1DataAttribute 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. * @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. * @param etag etag or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setEtag(java.lang.String etag) { this.etag = etag; return this; } /** * Optional. User-defined labels for the DataAttribute. * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * Optional. User-defined labels for the DataAttribute. * @param labels labels or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Output only. The relative resource name of the dataAttribute, of the form: projects/{project_nu * mber}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Output only. The relative resource name of the dataAttribute, of the form: projects/{project_nu * mber}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. * @param name name or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setName(java.lang.String name) { this.name = name; return this; } /** * 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 * @return value or {@code null} for none */ public java.lang.String getParentId() { return parentId; } /** * 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 * @param parentId parentId or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setParentId(java.lang.String parentId) { this.parentId = parentId; return this; } /** * Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, * BigQuery table). * @return value or {@code null} for none */ public GoogleCloudDataplexV1ResourceAccessSpec getResourceAccessSpec() { return resourceAccessSpec; } /** * Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, * BigQuery table). * @param resourceAccessSpec resourceAccessSpec or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setResourceAccessSpec(GoogleCloudDataplexV1ResourceAccessSpec resourceAccessSpec) { this.resourceAccessSpec = resourceAccessSpec; return this; } /** * Output only. 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. * @return value or {@code null} for none */ public java.lang.String getUid() { return uid; } /** * Output only. 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. * @param uid uid or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setUid(java.lang.String uid) { this.uid = uid; return this; } /** * Output only. The time when the DataAttribute was last updated. * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Output only. The time when the DataAttribute was last updated. * @param updateTime updateTime or {@code null} for none */ public GoogleCloudDataplexV1DataAttribute setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } @Override public GoogleCloudDataplexV1DataAttribute set(String fieldName, Object value) { return (GoogleCloudDataplexV1DataAttribute) super.set(fieldName, value); } @Override public GoogleCloudDataplexV1DataAttribute clone() { return (GoogleCloudDataplexV1DataAttribute) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy