target.apidocs.com.google.api.services.bigquery.model.DestinationTableProperties.html Maven / Gradle / Ivy
DestinationTableProperties (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class DestinationTableProperties
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.DestinationTableProperties
-
public final class DestinationTableProperties
extends com.google.api.client.json.GenericJson
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
DestinationTableProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DestinationTableProperties
clone()
String
getDescription()
Optional.
com.google.api.client.util.DateTime
getExpirationTime()
Internal use only.
String
getFriendlyName()
Optional.
Map<String,String>
getLabels()
Optional.
DestinationTableProperties
set(String fieldName,
Object value)
DestinationTableProperties
setDescription(String description)
Optional.
DestinationTableProperties
setExpirationTime(com.google.api.client.util.DateTime expirationTime)
Internal use only.
DestinationTableProperties
setFriendlyName(String friendlyName)
Optional.
DestinationTableProperties
setLabels(Map<String,String> labels)
Optional.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDescription
public String getDescription()
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.
- Returns:
- value or
null
for none
-
setDescription
public DestinationTableProperties setDescription(String 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.
- Parameters:
description
- description or null
for none
-
getExpirationTime
public com.google.api.client.util.DateTime getExpirationTime()
Internal use only.
- Returns:
- value or
null
for none
-
setExpirationTime
public DestinationTableProperties setExpirationTime(com.google.api.client.util.DateTime expirationTime)
Internal use only.
- Parameters:
expirationTime
- expirationTime or null
for none
-
getFriendlyName
public String getFriendlyName()
Optional. Friendly name for the destination table. If the table already exists, it should be
same as the existing friendly name.
- Returns:
- value or
null
for none
-
setFriendlyName
public DestinationTableProperties setFriendlyName(String friendlyName)
Optional. Friendly name for the destination table. If the table already exists, it should be
same as the existing friendly name.
- Parameters:
friendlyName
- friendlyName or null
for none
-
getLabels
public Map<String,String> getLabels()
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.
- Returns:
- value or
null
for none
-
setLabels
public DestinationTableProperties setLabels(Map<String,String> 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.
- Parameters:
labels
- labels or null
for none
-
set
public DestinationTableProperties set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DestinationTableProperties clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.