target.apidocs.com.google.api.services.bigquery.model.ExternalDatasetReference.html Maven / Gradle / Ivy
ExternalDatasetReference (BigQuery API v2-rev20240905-2.0.0)
com.google.api.services.bigquery.model
Class ExternalDatasetReference
- 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.ExternalDatasetReference
-
public final class ExternalDatasetReference
extends com.google.api.client.json.GenericJson
Configures the access a dataset defined in an external metadata storage.
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
ExternalDatasetReference()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ExternalDatasetReference
clone()
String
getConnection()
Required.
String
getExternalSource()
Required.
ExternalDatasetReference
set(String fieldName,
Object value)
ExternalDatasetReference
setConnection(String connection)
Required.
ExternalDatasetReference
setExternalSource(String externalSource)
Required.
-
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
-
getConnection
public String getConnection()
Required. The connection id that is used to access the external_source. Format:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
- Returns:
- value or
null
for none
-
setConnection
public ExternalDatasetReference setConnection(String connection)
Required. The connection id that is used to access the external_source. Format:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
- Parameters:
connection
- connection or null
for none
-
getExternalSource
public String getExternalSource()
Required. External source that backs this dataset.
- Returns:
- value or
null
for none
-
setExternalSource
public ExternalDatasetReference setExternalSource(String externalSource)
Required. External source that backs this dataset.
- Parameters:
externalSource
- externalSource or null
for none
-
set
public ExternalDatasetReference set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ExternalDatasetReference clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.