target.apidocs.com.google.api.services.bigquery.model.JobCreationReason.html Maven / Gradle / Ivy
JobCreationReason (BigQuery API v2-rev20240905-2.0.0)
com.google.api.services.bigquery.model
Class JobCreationReason
- 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.JobCreationReason
-
public final class JobCreationReason
extends com.google.api.client.json.GenericJson
Reason about why a Job was created from a
[`jobs.query`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query) method when
used with `JOB_CREATION_OPTIONAL` Job creation mode. For
[`jobs.insert`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert) method
calls it will always be `REQUESTED`. [Preview](https://cloud.google.com/products/#product-launch-
stages)
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
JobCreationReason()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
JobCreationReason
clone()
String
getCode()
Output only.
JobCreationReason
set(String fieldName,
Object value)
JobCreationReason
setCode(String code)
Output only.
-
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
-
getCode
public String getCode()
Output only. Specifies the high level reason why a Job was created.
- Returns:
- value or
null
for none
-
setCode
public JobCreationReason setCode(String code)
Output only. Specifies the high level reason why a Job was created.
- Parameters:
code
- code or null
for none
-
set
public JobCreationReason set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public JobCreationReason clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.