Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2617)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jun 2, 2024
1 parent 5f21214 commit 08fdd71
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 32 deletions.
65 changes: 58 additions & 7 deletions compute/v0.alpha/compute-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -19351,7 +19351,7 @@
]
},
"patch": {
"description": "Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.",
"description": "Patches the specified network with the data included in the request. Only routingConfig can be modified.",
"flatPath": "projects/{project}/global/networks/{network}",
"httpMethod": "PATCH",
"id": "compute.networks.patch",
Expand Down Expand Up @@ -44423,7 +44423,7 @@
}
}
},
"revision": "20240519",
"revision": "20240526",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AWSV4Signature": {
Expand Down Expand Up @@ -46052,7 +46052,7 @@
"description": "[Output Only] shielded vm initial state stored on disk"
},
"source": {
"description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.",
"description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.",
"type": "string"
},
"type": {
Expand Down Expand Up @@ -46210,19 +46210,19 @@
"type": "array"
},
"sourceImage": {
"description": "The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.",
"description": "The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.",
"type": "string"
},
"sourceImageEncryptionKey": {
"$ref": "CustomerEncryptionKey",
"description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys."
},
"sourceInstantSnapshot": {
"description": "The source instant-snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set.",
"description": "The source instant-snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set.",
"type": "string"
},
"sourceSnapshot": {
"description": "The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.",
"description": "The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.",
"type": "string"
},
"sourceSnapshotEncryptionKey": {
Expand Down Expand Up @@ -53589,6 +53589,22 @@
},
"type": "array"
},
"destNetworkScope": {
"description": "Network scope of the traffic destination.",
"enum": [
"INTERNET",
"NON_INTERNET",
"UNSPECIFIED",
"VPC_NETWORKS"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"destRegionCodes": {
"description": "Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex.\"US\" Maximum number of dest region codes allowed is 5000.",
"items": {
Expand Down Expand Up @@ -53631,6 +53647,29 @@
},
"type": "array"
},
"srcNetworkScope": {
"description": "Network scope of the traffic source.",
"enum": [
"INTERNET",
"NON_INTERNET",
"UNSPECIFIED",
"VPC_NETWORKS"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"srcNetworks": {
"description": "Networks of the traffic source. It can be either a full or partial url.",
"items": {
"type": "string"
},
"type": "array"
},
"srcRegionCodes": {
"description": "Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex.\"US\" Maximum number of source region codes allowed is 5000.",
"items": {
Expand Down Expand Up @@ -59338,6 +59377,14 @@
"description": "[Output Only] The URL of the region where the managed instance group resides (for regional resources).",
"type": "string"
},
"satisfiesPzi": {
"description": "[Output Only] Reserved for future use.",
"type": "boolean"
},
"satisfiesPzs": {
"description": "[Output Only] Reserved for future use.",
"type": "boolean"
},
"selfLink": {
"description": "[Output Only] The URL for this managed instance group. The server defines this URL.",
"type": "string"
Expand Down Expand Up @@ -68413,6 +68460,10 @@
"description": "A full or partial URL of the network placement to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkPlacements/{network_placement_name} - projects/{project_id}/global/networkPlacements/{network_placement_name} ",
"type": "string"
},
"networkProfile": {
"description": "A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name} ",
"type": "string"
},
"peerings": {
"description": "[Output Only] A list of network peerings for the resource.",
"items": {
Expand Down Expand Up @@ -99129,7 +99180,7 @@
"type": "object"
},
"Zone": {
"description": "Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.",
"description": "Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-b is located in the us-east1 region. For more information, read Regions and Zones.",
"id": "Zone",
"properties": {
"availableCpuPlatforms": {
Expand Down
76 changes: 52 additions & 24 deletions compute/v0.alpha/compute-gen.go

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

2 changes: 1 addition & 1 deletion compute/v0.alpha/compute2-gen.go

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

0 comments on commit 08fdd71

Please sign in to comment.