Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #1530

Merged
merged 1 commit into from May 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 31 additions & 1 deletion api-list.json
Expand Up @@ -556,6 +556,21 @@
"documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "baremetalsolution:v1alpha1",
"name": "baremetalsolution",
"version": "v1alpha1",
"title": "Bare Metal Solution API",
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v1alpha1",
"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://cloud.google.com/bare-metal",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "baremetalsolution:v1",
Expand Down Expand Up @@ -1169,6 +1184,21 @@
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/functions",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "cloudfunctions:v2",
"name": "cloudfunctions",
"version": "v2",
"title": "Cloud Functions API",
"description": "Manages lightweight user-provided functions executed in response to events.",
"discoveryRestUrl": "https://cloudfunctions.googleapis.com/$discovery/rest?version=v2",
"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://cloud.google.com/functions",
"preferred": true
},
{
Expand Down Expand Up @@ -3342,7 +3372,7 @@
"name": "licensing",
"version": "v1",
"title": "Enterprise License Manager API",
"description": "The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you.",
"description": "The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.",
"discoveryRestUrl": "https://licensing.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand Down
52 changes: 46 additions & 6 deletions bigquery/v2/bigquery-api.json
Expand Up @@ -1693,7 +1693,7 @@
}
}
},
"revision": "20220326",
"revision": "20220422",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
Expand Down Expand Up @@ -2374,7 +2374,7 @@
"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)."
},
"members": {
"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`. ",
"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`. ",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -2816,7 +2816,7 @@
"format": "int64",
"type": "string"
},
"satisfiesPZS": {
"satisfiesPzs": {
"description": "[Output-only] Reserved for future use.",
"type": "boolean"
},
Expand Down Expand Up @@ -4865,6 +4865,11 @@
"format": "int64",
"type": "string"
},
"maxStaleness": {
"description": "[Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).",
"format": "byte",
"type": "string"
},
"query": {
"description": "[Required] A query whose result is persisted.",
"type": "string"
Expand Down Expand Up @@ -5613,6 +5618,33 @@
},
"type": "object"
},
"RemoteFunctionOptions": {
"description": "Options for a remote user-defined function.",
"id": "RemoteFunctionOptions",
"properties": {
"connection": {
"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}",
"type": "string"
},
"endpoint": {
"description": "Endpoint of the user-provided remote service (e.g. a function url in Google Cloud Functions).",
"type": "string"
},
"maxBatchingRows": {
"description": "Max number of rows in each batch sent to the remote service. If absent or if 0, it means no limit.",
"format": "int64",
"type": "string"
},
"userDefinedContext": {
"additionalProperties": {
"type": "string"
},
"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.",
"type": "object"
}
},
"type": "object"
},
"Routine": {
"description": "A user-defined function or a stored procedure.",
"id": "Routine",
Expand Down Expand Up @@ -5684,6 +5716,10 @@
"readOnly": true,
"type": "string"
},
"remoteFunctionOptions": {
"$ref": "RemoteFunctionOptions",
"description": "Optional. Remote function specific options."
},
"returnTableType": {
"$ref": "StandardSqlTableType",
"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."
Expand Down Expand Up @@ -5886,7 +5922,7 @@
"properties": {
"policy": {
"$ref": "Policy",
"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."
"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."
},
"updateMask": {
"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\"`",
Expand Down Expand Up @@ -6354,10 +6390,14 @@
},
"type": "object"
},
"collationSpec": {
"collation": {
"description": "Optional. Collation specification of the field. It only can be set on string type field.",
"type": "string"
},
"defaultValueExpression": {
"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']",
"type": "string"
},
"description": {
"description": "[Optional] The field description. The maximum length is 1,024 characters.",
"type": "string"
Expand Down Expand Up @@ -6568,7 +6608,7 @@
"id": "TestIamPermissionsRequest",
"properties": {
"permissions": {
"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).",
"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).",
"items": {
"type": "string"
},
Expand Down
83 changes: 74 additions & 9 deletions bigquery/v2/bigquery-gen.go

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