Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2660)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jun 29, 2024
1 parent 7cd88da commit 3ca2f84
Show file tree
Hide file tree
Showing 24 changed files with 2,250 additions and 264 deletions.
15 changes: 0 additions & 15 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -3291,21 +3291,6 @@
"documentationLink": "https://cloud.google.com/firestore",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "fitness:v1",
"name": "fitness",
"version": "v1",
"title": "Fitness API",
"description": "The Fitness API for managing users' fitness tracking data.",
"discoveryRestUrl": "https://fitness.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://developers.google.com/fit/rest/v1/get-started",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "forms:v1",
Expand Down
27 changes: 12 additions & 15 deletions bigquery/v2/bigquery-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/bigquery/",
"endpoints": [
{
"description": "Regional Endpoint",
"endpointUrl": "https://bigquery.me-central2.rep.googleapis.com/",
"location": "me-central2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://bigquery.europe-west3.rep.googleapis.com/",
Expand All @@ -49,6 +44,11 @@
"endpointUrl": "https://bigquery.europe-west9.rep.googleapis.com/",
"location": "europe-west9"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://bigquery.me-central2.rep.googleapis.com/",
"location": "me-central2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://bigquery.us-east4.rep.googleapis.com/",
Expand Down Expand Up @@ -1935,7 +1935,7 @@
}
}
},
"revision": "20240526",
"revision": "20240616",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
Expand Down Expand Up @@ -2998,7 +2998,7 @@
"type": "object"
},
"ConnectionProperty": {
"description": "A connection-level property to customize query behavior. Under JDBC, these correspond directly to connection properties passed to the DriverManager. Under ODBC, these correspond to properties in the connection string. Currently supported connection properties: * **dataset_project_id**: represents the default project for datasets that are used in the query. Setting the system variable `@@dataset_project_id` achieves the same behavior. For more information about system variables, see: https://cloud.google.com/bigquery/docs/reference/system-variables * **time_zone**: represents the default timezone used to run the query. * **session_id**: associates the query with a given session. * **query_label**: associates the query with a given job label. If set, all subsequent queries in a script or session will have this label. For the format in which a you can specify a query label, see labels in the JobConfiguration resource type: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfiguration Additional properties are allowed, but ignored. Specifying multiple connection properties with the same key returns an error.",
"description": "A connection-level property to customize query behavior. Under JDBC, these correspond directly to connection properties passed to the DriverManager. Under ODBC, these correspond to properties in the connection string. Currently supported connection properties: * **dataset_project_id**: represents the default project for datasets that are used in the query. Setting the system variable `@@dataset_project_id` achieves the same behavior. For more information about system variables, see: https://cloud.google.com/bigquery/docs/reference/system-variables * **time_zone**: represents the default timezone used to run the query. * **session_id**: associates the query with a given session. * **query_label**: associates the query with a given job label. If set, all subsequent queries in a script or session will have this label. For the format in which a you can specify a query label, see labels in the JobConfiguration resource type: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfiguration * **service_account**: indicates the service account to use to run a continuous query. If set, the query job uses the service account to access Google Cloud resources. Service account access is bounded by the IAM permissions that you have granted to the service account. Additional properties are allowed, but ignored. Specifying multiple connection properties with the same key returns an error.",
"id": "ConnectionProperty",
"properties": {
"key": {
Expand Down Expand Up @@ -6747,23 +6747,21 @@
"id": "PartitionedColumn",
"properties": {
"field": {
"description": "Output only. The name of the partition column.",
"readOnly": true,
"description": "Required. The name of the partition column.",
"type": "string"
}
},
"type": "object"
},
"PartitioningDefinition": {
"description": "The partitioning information, which includes managed table and external table partition information.",
"description": "The partitioning information, which includes managed table, external table and metastore partitioned table partition information.",
"id": "PartitioningDefinition",
"properties": {
"partitionedColumn": {
"description": "Output only. Details about each partitioning column. BigQuery native tables only support 1 partitioning column. Other table types may support 0, 1 or more partitioning columns.",
"description": "Optional. Details about each partitioning column. This field is output only for all partitioning types other than metastore partitioned tables. BigQuery native tables only support 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. For metastore partitioned tables, the order must match the definition order in the Hive Metastore, where it must match the physical layout of the table. For example, CREATE TABLE a_table(id BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING). In this case the values must be ['city', 'state'] in that order.",
"items": {
"$ref": "PartitionedColumn"
},
"readOnly": true,
"type": "array"
}
},
Expand Down Expand Up @@ -7281,7 +7279,7 @@
"id": "RangePartitioning",
"properties": {
"field": {
"description": "Required. [Experimental] The table is partitioned by this field. The field must be a top-level NULLABLE/REQUIRED field. The only supported type is INTEGER/INT64.",
"description": "Required. The name of the column to partition the table on. It must be a top-level, INT64 column whose mode is NULLABLE or REQUIRED.",
"type": "string"
},
"range": {
Expand Down Expand Up @@ -8507,8 +8505,7 @@
},
"partitionDefinition": {
"$ref": "PartitioningDefinition",
"description": "Output only. The partition information for all table formats, including managed partitioned tables, hive partitioned tables, and iceberg partitioned tables.",
"readOnly": true
"description": "Optional. The partition information for all table formats, including managed partitioned tables, hive partitioned tables, iceberg partitioned, and metastore partitioned tables. This field is only populated for metastore partitioned tables. For other table formats, this is an output only field."
},
"rangePartitioning": {
"$ref": "RangePartitioning",
Expand Down
37 changes: 24 additions & 13 deletions bigquery/v2/bigquery-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3ca2f84

Please sign in to comment.