Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Aug 5, 2023
1 parent ff054ff commit b16a2d3
Show file tree
Hide file tree
Showing 56 changed files with 9,476 additions and 266 deletions.
15 changes: 0 additions & 15 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,21 +1186,6 @@
"documentationLink": "https://cloud.google.com/channel",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "clouddebugger:v2",
"name": "clouddebugger",
"version": "v2",
"title": "Cloud Debugger API (Deprecated)",
"description": "Examines the call stack and variables of a running application without stopping or slowing it down. (Deprecated)",
"discoveryRestUrl": "https://clouddebugger.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/debugger",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "clouddeploy:v1",
Expand Down
12 changes: 6 additions & 6 deletions batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
}
}
},
"revision": "20230721",
"revision": "20230726",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1016,7 +1016,7 @@
"type": "object"
},
"ComputeResource": {
"description": "Compute resource requirements",
"description": "Compute resource requirements. ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure both fields are compatible with each other.",
"id": "ComputeResource",
"properties": {
"bootDiskMib": {
Expand All @@ -1025,12 +1025,12 @@
"type": "string"
},
"cpuMilli": {
"description": "The milliCPU count.",
"description": "The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.",
"format": "int64",
"type": "string"
},
"memoryMib": {
"description": "Memory in MiB.",
"description": "Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.",
"format": "int64",
"type": "string"
}
Expand Down Expand Up @@ -1168,7 +1168,7 @@
"description": "Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image."
},
"disks": {
"description": "Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted.",
"description": "Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non bootable disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.",
"items": {
"$ref": "AttachedDisk"
},
Expand Down Expand Up @@ -1202,7 +1202,7 @@
"type": "object"
},
"InstancePolicyOrTemplate": {
"description": "Either an InstancePolicy or an instance template.",
"description": "InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks.",
"id": "InstancePolicyOrTemplate",
"properties": {
"installGpuDrivers": {
Expand Down
53 changes: 47 additions & 6 deletions batch/v1/batch-gen.go

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

6 changes: 3 additions & 3 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
"spaces": {
"methods": {
"create": {
"description": "Creates a named space. Spaces grouped by topics or that have guest access aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces` scope.",
"description": "Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces` scope.",
"flatPath": "v1/spaces",
"httpMethod": "POST",
"id": "chat.spaces.create",
Expand Down Expand Up @@ -954,7 +954,7 @@
}
}
},
"revision": "20230729",
"revision": "20230801",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -3380,7 +3380,7 @@
"type": "string"
},
"externalUserAllowed": {
"description": "Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space. For existing spaces, this field is output only.",
"description": "Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. For Google Chat users that use a Google Account, omit this field when creating a space (By default, the space permits any Google Chat user). For existing spaces, this field is output only.",
"type": "boolean"
},
"name": {
Expand Down
13 changes: 8 additions & 5 deletions chat/v1/chat-gen.go

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

4 changes: 2 additions & 2 deletions cloudbuild/v1/cloudbuild-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@
}
}
},
"revision": "20230720",
"revision": "20230801",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -4437,7 +4437,7 @@
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"type": "object"
}
},
Expand Down
4 changes: 2 additions & 2 deletions cloudbuild/v1/cloudbuild-gen.go

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

Loading

0 comments on commit b16a2d3

Please sign in to comment.