Skip to content

Commit 367c996

Browse files
feat(bigquery): update the api
#### bigquery:v2 The following keys were added: - resources.routines.methods.testIamPermissions (Total Keys: 12) - schemas.ExternalRuntimeOptions (Total Keys: 9) - schemas.PythonOptions (Total Keys: 5) - schemas.Routine.properties.externalRuntimeOptions.$ref (Total Keys: 1) - schemas.Routine.properties.pythonOptions.$ref (Total Keys: 1) The following keys were changed: - endpoints (Total Keys: 1)
1 parent 10979e5 commit 367c996

File tree

4 files changed

+244
-21
lines changed

4 files changed

+244
-21
lines changed

docs/dyn/bigquery_v2.datasets.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ <h3>Method Details</h3>
133133
datasetView: string, Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned.
134134
Allowed values
135135
DATASET_VIEW_UNSPECIFIED - The default value. Default to the FULL view.
136-
METADATA - Updates metadata information for the dataset, such as friendlyName, description, labels, etc.
137-
ACL - Updates ACL information for the dataset, which defines dataset access for one or more entities.
138-
FULL - Updates both dataset metadata and ACL information.
136+
METADATA - View metadata information for the dataset, such as friendlyName, description, labels, etc.
137+
ACL - View ACL information for the dataset, which defines dataset access for one or more entities.
138+
FULL - View both dataset metadata and ACL information.
139139
x__xgafv: string, V1 error format.
140140
Allowed values
141141
1 - v1 error format

docs/dyn/bigquery_v2.jobs.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ <h3>Method Details</h3>
570570
},
571571
&quot;etag&quot;: &quot;A String&quot;, # Output only. A hash of this resource.
572572
&quot;id&quot;: &quot;A String&quot;, # Output only. Opaque ID field of the job.
573-
&quot;jobCreationReason&quot;: { # 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) # Output only. The reason why a Job was created. [Preview](https://cloud.google.com/products/#product-launch-stages)
573+
&quot;jobCreationReason&quot;: { # 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`. # Output only. The reason why a Job was created.
574574
&quot;code&quot;: &quot;A String&quot;, # Output only. Specifies the high level reason why a Job was created.
575575
},
576576
&quot;jobReference&quot;: { # A job reference is a fully qualified identifier for referring to a job. # Optional. Reference describing the unique-per-user name of the job.
@@ -2034,7 +2034,7 @@ <h3>Method Details</h3>
20342034
},
20352035
&quot;etag&quot;: &quot;A String&quot;, # Output only. A hash of this resource.
20362036
&quot;id&quot;: &quot;A String&quot;, # Output only. Opaque ID field of the job.
2037-
&quot;jobCreationReason&quot;: { # 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) # Output only. The reason why a Job was created. [Preview](https://cloud.google.com/products/#product-launch-stages)
2037+
&quot;jobCreationReason&quot;: { # 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`. # Output only. The reason why a Job was created.
20382038
&quot;code&quot;: &quot;A String&quot;, # Output only. Specifies the high level reason why a Job was created.
20392039
},
20402040
&quot;jobReference&quot;: { # A job reference is a fully qualified identifier for referring to a job. # Optional. Reference describing the unique-per-user name of the job.
@@ -3579,7 +3579,7 @@ <h3>Method Details</h3>
35793579
},
35803580
&quot;etag&quot;: &quot;A String&quot;, # Output only. A hash of this resource.
35813581
&quot;id&quot;: &quot;A String&quot;, # Output only. Opaque ID field of the job.
3582-
&quot;jobCreationReason&quot;: { # 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) # Output only. The reason why a Job was created. [Preview](https://cloud.google.com/products/#product-launch-stages)
3582+
&quot;jobCreationReason&quot;: { # 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`. # Output only. The reason why a Job was created.
35833583
&quot;code&quot;: &quot;A String&quot;, # Output only. Specifies the high level reason why a Job was created.
35843584
},
35853585
&quot;jobReference&quot;: { # A job reference is a fully qualified identifier for referring to a job. # Optional. Reference describing the unique-per-user name of the job.
@@ -5014,7 +5014,7 @@ <h3>Method Details</h3>
50145014
},
50155015
&quot;etag&quot;: &quot;A String&quot;, # Output only. A hash of this resource.
50165016
&quot;id&quot;: &quot;A String&quot;, # Output only. Opaque ID field of the job.
5017-
&quot;jobCreationReason&quot;: { # 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) # Output only. The reason why a Job was created. [Preview](https://cloud.google.com/products/#product-launch-stages)
5017+
&quot;jobCreationReason&quot;: { # 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`. # Output only. The reason why a Job was created.
50185018
&quot;code&quot;: &quot;A String&quot;, # Output only. Specifies the high level reason why a Job was created.
50195019
},
50205020
&quot;jobReference&quot;: { # A job reference is a fully qualified identifier for referring to a job. # Optional. Reference describing the unique-per-user name of the job.
@@ -7502,7 +7502,7 @@ <h3>Method Details</h3>
75027502
&quot;formatOptions&quot;: { # Options for data format adjustments. # Optional. Output format adjustments.
75037503
&quot;useInt64Timestamp&quot;: True or False, # Optional. Output timestamp as usec int64. Default is false.
75047504
},
7505-
&quot;jobCreationMode&quot;: &quot;A String&quot;, # Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode. [Preview](https://cloud.google.com/products/#product-launch-stages)
7505+
&quot;jobCreationMode&quot;: &quot;A String&quot;, # Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode.
75067506
&quot;jobTimeoutMs&quot;: &quot;A String&quot;, # Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete. This timeout applies to the query even if a job does not need to be created.
75077507
&quot;kind&quot;: &quot;bigquery#queryRequest&quot;, # The resource type of the request.
75087508
&quot;labels&quot;: { # Optional. The labels associated with this query. Labels can be used to organize and group query jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label keys must start with a letter and each label in the list must have a different key.
@@ -7578,7 +7578,7 @@ <h3>Method Details</h3>
75787578
},
75797579
],
75807580
&quot;jobComplete&quot;: True or False, # Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.
7581-
&quot;jobCreationReason&quot;: { # 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) # Optional. The reason why a Job was created. Only relevant when a job_reference is present in the response. If job_reference is not present it will always be unset. [Preview](https://cloud.google.com/products/#product-launch-stages)
7581+
&quot;jobCreationReason&quot;: { # 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`. # Optional. The reason why a Job was created. Only relevant when a job_reference is present in the response. If job_reference is not present it will always be unset.
75827582
&quot;code&quot;: &quot;A String&quot;, # Output only. Specifies the high level reason why a Job was created.
75837583
},
75847584
&quot;jobReference&quot;: { # A job reference is a fully qualified identifier for referring to a job. # Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). If job_creation_mode was set to `JOB_CREATION_OPTIONAL` and the query completes without creating a job, this field will be empty.
@@ -7590,7 +7590,7 @@ <h3>Method Details</h3>
75907590
&quot;location&quot;: &quot;A String&quot;, # Output only. The geographic location of the query. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations
75917591
&quot;numDmlAffectedRows&quot;: &quot;A String&quot;, # Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.
75927592
&quot;pageToken&quot;: &quot;A String&quot;, # A token used for paging results. A non-empty token indicates that additional results are available. To see additional results, query the [`jobs.getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults) method. For more information, see [Paging through table data](https://cloud.google.com/bigquery/docs/paging-results).
7593-
&quot;queryId&quot;: &quot;A String&quot;, # Auto-generated ID for the query. [Preview](https://cloud.google.com/products/#product-launch-stages)
7593+
&quot;queryId&quot;: &quot;A String&quot;, # Auto-generated ID for the query.
75947594
&quot;rows&quot;: [ # An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above.
75957595
{
75967596
&quot;f&quot;: [ # Represents a single row in the result set, consisting of one or more fields.

0 commit comments

Comments
 (0)