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

com.google.api.services.bigquery.model.DestinationTableProperties Maven / Gradle / Ivy

There is a newer version: v2-rev20241027-2.0.0
Show newest version
/*
 * 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.bigquery.model;

/**
 * Properties for the destination table.
 *
 * 

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 BigQuery 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 DestinationTableProperties extends com.google.api.client.json.GenericJson { /** * Optional. The description for the destination table. This will only be used if the destination * table is newly created. If the table already exists and a value different than the current * description is provided, the job will fail. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * Internal use only. * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime expirationTime; /** * Optional. Friendly name for the destination table. If the table already exists, it should be * same as the existing friendly name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String friendlyName; /** * Optional. The labels associated with this table. You can use these to organize and group your * tables. This will only be used if the destination table is newly created. If the table already * exists and labels are different than the current labels are provided, the job will fail. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Optional. The description for the destination table. This will only be used if the destination * table is newly created. If the table already exists and a value different than the current * description is provided, the job will fail. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Optional. The description for the destination table. This will only be used if the destination * table is newly created. If the table already exists and a value different than the current * description is provided, the job will fail. * @param description description or {@code null} for none */ public DestinationTableProperties setDescription(java.lang.String description) { this.description = description; return this; } /** * Internal use only. * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getExpirationTime() { return expirationTime; } /** * Internal use only. * @param expirationTime expirationTime or {@code null} for none */ public DestinationTableProperties setExpirationTime(com.google.api.client.util.DateTime expirationTime) { this.expirationTime = expirationTime; return this; } /** * Optional. Friendly name for the destination table. If the table already exists, it should be * same as the existing friendly name. * @return value or {@code null} for none */ public java.lang.String getFriendlyName() { return friendlyName; } /** * Optional. Friendly name for the destination table. If the table already exists, it should be * same as the existing friendly name. * @param friendlyName friendlyName or {@code null} for none */ public DestinationTableProperties setFriendlyName(java.lang.String friendlyName) { this.friendlyName = friendlyName; return this; } /** * Optional. The labels associated with this table. You can use these to organize and group your * tables. This will only be used if the destination table is newly created. If the table already * exists and labels are different than the current labels are provided, the job will fail. * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * Optional. The labels associated with this table. You can use these to organize and group your * tables. This will only be used if the destination table is newly created. If the table already * exists and labels are different than the current labels are provided, the job will fail. * @param labels labels or {@code null} for none */ public DestinationTableProperties setLabels(java.util.Map labels) { this.labels = labels; return this; } @Override public DestinationTableProperties set(String fieldName, Object value) { return (DestinationTableProperties) super.set(fieldName, value); } @Override public DestinationTableProperties clone() { return (DestinationTableProperties) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy