Skip to content

Commit 3d4ea5e

Browse files
feat(all): auto-regenerate discovery clients (#1530)
1 parent 6131a7d commit 3d4ea5e

27 files changed

Lines changed: 3621 additions & 315 deletions

api-list.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,21 @@
556556
"documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/",
557557
"preferred": true
558558
},
559+
{
560+
"kind": "discovery#directoryItem",
561+
"id": "baremetalsolution:v1alpha1",
562+
"name": "baremetalsolution",
563+
"version": "v1alpha1",
564+
"title": "Bare Metal Solution API",
565+
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
566+
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v1alpha1",
567+
"icons": {
568+
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
569+
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
570+
},
571+
"documentationLink": "https://cloud.google.com/bare-metal",
572+
"preferred": false
573+
},
559574
{
560575
"kind": "discovery#directoryItem",
561576
"id": "baremetalsolution:v1",
@@ -1169,6 +1184,21 @@
11691184
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
11701185
},
11711186
"documentationLink": "https://cloud.google.com/functions",
1187+
"preferred": false
1188+
},
1189+
{
1190+
"kind": "discovery#directoryItem",
1191+
"id": "cloudfunctions:v2",
1192+
"name": "cloudfunctions",
1193+
"version": "v2",
1194+
"title": "Cloud Functions API",
1195+
"description": "Manages lightweight user-provided functions executed in response to events.",
1196+
"discoveryRestUrl": "https://cloudfunctions.googleapis.com/$discovery/rest?version=v2",
1197+
"icons": {
1198+
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
1199+
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
1200+
},
1201+
"documentationLink": "https://cloud.google.com/functions",
11721202
"preferred": true
11731203
},
11741204
{
@@ -3342,7 +3372,7 @@
33423372
"name": "licensing",
33433373
"version": "v1",
33443374
"title": "Enterprise License Manager API",
3345-
"description": "The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you.",
3375+
"description": "The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.",
33463376
"discoveryRestUrl": "https://licensing.googleapis.com/$discovery/rest?version=v1",
33473377
"icons": {
33483378
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",

bigquery/v2/bigquery-api.json

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@
16931693
}
16941694
}
16951695
},
1696-
"revision": "20220326",
1696+
"revision": "20220422",
16971697
"rootUrl": "https://bigquery.googleapis.com/",
16981698
"schemas": {
16991699
"AggregateClassificationMetrics": {
@@ -2374,7 +2374,7 @@
23742374
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
23752375
},
23762376
"members": {
2377-
"description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
2377+
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
23782378
"items": {
23792379
"type": "string"
23802380
},
@@ -2816,7 +2816,7 @@
28162816
"format": "int64",
28172817
"type": "string"
28182818
},
2819-
"satisfiesPZS": {
2819+
"satisfiesPzs": {
28202820
"description": "[Output-only] Reserved for future use.",
28212821
"type": "boolean"
28222822
},
@@ -4865,6 +4865,11 @@
48654865
"format": "int64",
48664866
"type": "string"
48674867
},
4868+
"maxStaleness": {
4869+
"description": "[Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).",
4870+
"format": "byte",
4871+
"type": "string"
4872+
},
48684873
"query": {
48694874
"description": "[Required] A query whose result is persisted.",
48704875
"type": "string"
@@ -5613,6 +5618,33 @@
56135618
},
56145619
"type": "object"
56155620
},
5621+
"RemoteFunctionOptions": {
5622+
"description": "Options for a remote user-defined function.",
5623+
"id": "RemoteFunctionOptions",
5624+
"properties": {
5625+
"connection": {
5626+
"description": "Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. projects/{project_id}/locations/{location_id}/connections/{connection_id}",
5627+
"type": "string"
5628+
},
5629+
"endpoint": {
5630+
"description": "Endpoint of the user-provided remote service (e.g. a function url in Google Cloud Functions).",
5631+
"type": "string"
5632+
},
5633+
"maxBatchingRows": {
5634+
"description": "Max number of rows in each batch sent to the remote service. If absent or if 0, it means no limit.",
5635+
"format": "int64",
5636+
"type": "string"
5637+
},
5638+
"userDefinedContext": {
5639+
"additionalProperties": {
5640+
"type": "string"
5641+
},
5642+
"description": "User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.",
5643+
"type": "object"
5644+
}
5645+
},
5646+
"type": "object"
5647+
},
56165648
"Routine": {
56175649
"description": "A user-defined function or a stored procedure.",
56185650
"id": "Routine",
@@ -5684,6 +5716,10 @@
56845716
"readOnly": true,
56855717
"type": "string"
56865718
},
5719+
"remoteFunctionOptions": {
5720+
"$ref": "RemoteFunctionOptions",
5721+
"description": "Optional. Remote function specific options."
5722+
},
56875723
"returnTableType": {
56885724
"$ref": "StandardSqlTableType",
56895725
"description": "Optional. Can be set only if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time."
@@ -5886,7 +5922,7 @@
58865922
"properties": {
58875923
"policy": {
58885924
"$ref": "Policy",
5889-
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
5925+
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
58905926
},
58915927
"updateMask": {
58925928
"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
@@ -6354,10 +6390,14 @@
63546390
},
63556391
"type": "object"
63566392
},
6357-
"collationSpec": {
6393+
"collation": {
63586394
"description": "Optional. Collation specification of the field. It only can be set on string type field.",
63596395
"type": "string"
63606396
},
6397+
"defaultValueExpression": {
6398+
"description": "Optional. A SQL expression to specify the default value for this field. It can only be set for top level fields (columns). You can use struct or array expression to specify default value for the entire struct or array. The valid SQL expressions are: - Literals for all data types, including STRUCT and ARRAY. - Following functions: - CURRENT_TIMESTAMP - CURRENT_TIME - CURRENT_DATE - CURRENT_DATETIME - GENERATE_UUID - RAND - SESSION_USER - ST_GEOGPOINT - Struct or array composed with the above allowed functions, for example, [CURRENT_DATE(), DATE '2020-01-01']",
6399+
"type": "string"
6400+
},
63616401
"description": {
63626402
"description": "[Optional] The field description. The maximum length is 1,024 characters.",
63636403
"type": "string"
@@ -6568,7 +6608,7 @@
65686608
"id": "TestIamPermissionsRequest",
65696609
"properties": {
65706610
"permissions": {
6571-
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
6611+
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
65726612
"items": {
65736613
"type": "string"
65746614
},

bigquery/v2/bigquery-gen.go

Lines changed: 74 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)