Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2879)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Nov 19, 2024
1 parent 2f1c8ae commit 9c21349
Show file tree
Hide file tree
Showing 101 changed files with 8,617 additions and 5,988 deletions.
679 changes: 664 additions & 15 deletions aiplatform/v1/aiplatform-api.json

Large diffs are not rendered by default.

2,460 changes: 2,088 additions & 372 deletions aiplatform/v1/aiplatform-gen.go

Large diffs are not rendered by default.

339 changes: 326 additions & 13 deletions aiplatform/v1beta1/aiplatform-api.json

Large diffs are not rendered by default.

947 changes: 848 additions & 99 deletions aiplatform/v1beta1/aiplatform-gen.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions backupdr/v1/backupdr-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@
}
}
},
"revision": "20241030",
"revision": "20241106",
"rootUrl": "https://backupdr.googleapis.com/",
"schemas": {
"AbandonBackupRequest": {
Expand Down Expand Up @@ -2459,7 +2459,7 @@
"id": "BackupRule",
"properties": {
"backupRetentionDays": {
"description": "Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault.",
"description": "Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault. Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups. Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 30 and maximum value is 36159 for yearly backups.",
"format": "int32",
"type": "integer"
},
Expand Down
6 changes: 5 additions & 1 deletion backupdr/v1/backupdr-gen.go

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

20 changes: 10 additions & 10 deletions batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
}
}
},
"revision": "20241002",
"revision": "20241106",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1070,7 +1070,7 @@
"id": "CloudLoggingOption",
"properties": {
"useGenericTaskMonitoredResource": {
"description": "Optional. Set this flag to true to change the [monitored resource type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) type.",
"description": "Optional. Set this field to `true` to change the [monitored resource type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) type.",
"type": "boolean"
}
},
Expand Down Expand Up @@ -1287,7 +1287,7 @@
"type": "boolean"
},
"instanceTemplate": {
"description": "Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates. You can specify the global instance template as a full or partial URL.",
"description": "Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates from the same project as the job. You can specify the global instance template as a full or partial URL.",
"type": "string"
},
"policy": {
Expand Down Expand Up @@ -1637,29 +1637,29 @@
"type": "object"
},
"LogsPolicy": {
"description": "LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.",
"description": "LogsPolicy describes if and how a job's logs are preserved. Logs include information that is automatically written by the Batch service agent and any information that you configured the job's runnables to write to the `stdout` or `stderr` streams.",
"id": "LogsPolicy",
"properties": {
"cloudLoggingOption": {
"$ref": "CloudLoggingOption",
"description": "Optional. Additional settings for Cloud Logging. It will only take effect when the destination of `LogsPolicy` is set to `CLOUD_LOGGING`."
"description": "Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally set this field to configure additional settings for Cloud Logging."
},
"destination": {
"description": "Where logs should be saved.",
"description": "If and where logs should be saved.",
"enum": [
"DESTINATION_UNSPECIFIED",
"CLOUD_LOGGING",
"PATH"
],
"enumDescriptions": [
"Logs are not preserved.",
"Logs are streamed to Cloud Logging.",
"Logs are saved to a file path."
"(Default) Logs are not preserved.",
"Logs are streamed to Cloud Logging. Optionally, you can configure additional settings in the `cloudLoggingOption` field.",
"Logs are saved to the file path specified in the `logsPath` field."
],
"type": "string"
},
"logsPath": {
"description": "The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.",
"description": "When `destination` is set to `PATH`, you must set this field to the path where you want logs to be saved. This path can point to a local directory on the VM or (if congifured) a directory under the mount path of any Cloud Storage bucket, network file system (NFS), or writable persistent disk that is mounted to the job. For example, if the job has a bucket with `mountPath` set to `/mnt/disks/my-bucket`, you can write logs to the root directory of the `remotePath` of that bucket by setting this field to `/mnt/disks/my-bucket/`.",
"type": "string"
}
},
Expand Down
42 changes: 26 additions & 16 deletions batch/v1/batch-gen.go

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

70 changes: 1 addition & 69 deletions beyondcorp/v1/beyondcorp-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2197,34 +2197,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setPeering": {
"description": "This is a custom method to allow customers to create a peering connections between Google network and customer networks. This is enabled only for the allowlisted customers.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}:setPeering",
"httpMethod": "POST",
"id": "beyondcorp.projects.locations.securityGateways.setPeering",
"parameterOrder": [
"securityGateway"
],
"parameters": {
"securityGateway": {
"description": "Required. BeyondCorp SecurityGateway name using the form: `projects/{project}/locations/{location}/securityGateways/{security_gateway}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+securityGateway}:setPeering",
"request": {
"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}:testIamPermissions",
Expand Down Expand Up @@ -2431,7 +2403,7 @@
}
}
},
"revision": "20241024",
"revision": "20241106",
"rootUrl": "https://beyondcorp.googleapis.com/",
"schemas": {
"AllocatedConnection": {
Expand Down Expand Up @@ -3791,24 +3763,6 @@
},
"type": "object"
},
"GoogleCloudBeyondcorpSecuritygatewaysV1Peering": {
"description": "VPC Peering details.",
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1Peering",
"properties": {
"dnsZones": {
"description": "Optional. List of DNS zones for DNS peering with the customer VPC network.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNetwork": {
"description": "Required. The name of the Target VPC network name in the format: `projects/{project}/global/networks/{network}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway": {
"description": "Information about a BeyoncCorp SecurityGateway resource.",
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway",
Expand Down Expand Up @@ -3918,28 +3872,6 @@
},
"type": "object"
},
"GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest": {
"description": "Set Peering request for creating a VPC peering between Google network and customer networks.",
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest",
"properties": {
"peerings": {
"description": "Required. List of Peering connection information.",
"items": {
"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Peering"
},
"type": "array"
},
"requestId": {
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
"type": "string"
},
"validateOnly": {
"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata": {
"description": "Represents the metadata of the long-running operation.",
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata",
Expand Down
Loading

0 comments on commit 9c21349

Please sign in to comment.