Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1813)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jan 17, 2023
1 parent 4df52d2 commit a12685c
Show file tree
Hide file tree
Showing 24 changed files with 2,020 additions and 262 deletions.
12 changes: 8 additions & 4 deletions batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@
}
}
},
"revision": "20221212",
"revision": "20230105",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1068,11 +1068,11 @@
"type": "string"
},
"image": {
"description": "Name of a public or custom image used as the data source.",
"description": "Name of a public or custom image used as the data source. For example, the following are all valid URLs: (1) Specify the image by its family name: projects/{project}/global/images/family/{image_family} (2) Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: \"batch-debian\": use Batch Debian images. \"batch-centos\": use Batch CentOS images. \"batch-cos\": use Batch Container-Optimized images.",
"type": "string"
},
"sizeGb": {
"description": "Disk size in GB. This field is ignored if `data_source` is `disk` or `image`. If `type` is `local-ssd`, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB.",
"description": "Disk size in GB. For persistent disk, this field is ignored if `data_source` is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB. For boot disk, Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.",
"format": "int64",
"type": "string"
},
Expand All @@ -1081,7 +1081,7 @@
"type": "string"
},
"type": {
"description": "Disk type as shown in `gcloud compute disk-types list` For example, \"pd-ssd\", \"pd-standard\", \"pd-balanced\", \"local-ssd\".",
"description": "Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type \"local-ssd\". Persistent disks and boot disks use \"pd-balanced\", \"pd-extreme\", \"pd-ssd\" or \"pd-standard\".",
"type": "string"
}
},
Expand Down Expand Up @@ -1163,6 +1163,10 @@
},
"type": "array"
},
"bootDisk": {
"$ref": "Disk",
"description": "Book disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted."
},
"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.",
"items": {
Expand Down
31 changes: 24 additions & 7 deletions batch/v1/batch-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 clouddeploy/v1/clouddeploy-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@
}
}
},
"revision": "20221213",
"revision": "20230105",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AbandonReleaseRequest": {
Expand Down Expand Up @@ -2838,7 +2838,7 @@
"properties": {
"supportEndDate": {
"$ref": "Date",
"description": "Date when this version is expected to no longer be supported. For a more precise time, use the `support_expiration_time` field."
"description": "Date when this version is expected to no longer be supported."
},
"version": {
"description": "Release version number. For example, \"1.20.3\".",
Expand Down
3 changes: 1 addition & 2 deletions clouddeploy/v1/clouddeploy-gen.go

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

Loading

0 comments on commit a12685c

Please sign in to comment.