Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2989)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jan 31, 2025
1 parent 51947d3 commit 7da3675
Show file tree
Hide file tree
Showing 24 changed files with 1,188 additions and 64 deletions.
315 changes: 314 additions & 1 deletion backupdr/v1/backupdr-api.json

Large diffs are not rendered by default.

470 changes: 470 additions & 0 deletions backupdr/v1/backupdr-gen.go

Large diffs are not rendered by default.

57 changes: 52 additions & 5 deletions batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,34 @@
"resources": {
"jobs": {
"methods": {
"cancel": {
"description": "Cancel a Job.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}:cancel",
"httpMethod": "POST",
"id": "batch.projects.locations.jobs.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Job name.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"request": {
"$ref": "CancelJobRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Create a Job.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs",
Expand Down Expand Up @@ -561,7 +589,7 @@
}
}
},
"revision": "20241204",
"revision": "20250122",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1059,6 +1087,17 @@
},
"type": "object"
},
"CancelJobRequest": {
"description": "CancelJob Request.",
"id": "CancelJobRequest",
"properties": {
"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 after 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"
}
},
"type": "object"
},
"CancelOperationRequest": {
"description": "The request message for Operations.CancelOperation.",
"id": "CancelOperationRequest",
Expand Down Expand Up @@ -1434,7 +1473,9 @@
"RUNNING",
"SUCCEEDED",
"FAILED",
"DELETION_IN_PROGRESS"
"DELETION_IN_PROGRESS",
"CANCELLATION_IN_PROGRESS",
"CANCELLED"
],
"enumDescriptions": [
"Job state unspecified.",
Expand All @@ -1443,7 +1484,9 @@
"Resource allocation has been successful. At least one Task in the Job is RUNNING.",
"All Tasks in the Job have finished successfully.",
"At least one Task in the Job has failed.",
"The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up."
"The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.",
"The Job cancellation is in progress, this is because the resources used by the Job are still being cleaned up.",
"The Job has been cancelled, the task executions were stopped and the resources were cleaned up."
],
"type": "string"
},
Expand Down Expand Up @@ -1678,7 +1721,9 @@
"RUNNING",
"SUCCEEDED",
"FAILED",
"DELETION_IN_PROGRESS"
"DELETION_IN_PROGRESS",
"CANCELLATION_IN_PROGRESS",
"CANCELLED"
],
"enumDescriptions": [
"Job state unspecified.",
Expand All @@ -1687,7 +1732,9 @@
"Resource allocation has been successful. At least one Task in the Job is RUNNING.",
"All Tasks in the Job have finished successfully.",
"At least one Task in the Job has failed.",
"The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up."
"The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.",
"The Job cancellation is in progress, this is because the resources used by the Job are still being cleaned up.",
"The Job has been cancelled, the task executions were stopped and the resources were cleaned up."
],
"type": "string"
},
Expand Down
143 changes: 143 additions & 0 deletions batch/v1/batch-gen.go

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

5 changes: 3 additions & 2 deletions clouddeploy/v1/clouddeploy-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2348,7 +2348,7 @@
}
}
},
"revision": "20250101",
"revision": "20250122",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AbandonReleaseRequest": {
Expand Down Expand Up @@ -4275,7 +4275,8 @@
"type": "string"
},
"name": {
"description": "Identifier. Name of the `JobRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.",
"description": "Output only. Name of the `JobRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.",
"readOnly": true,
"type": "string"
},
"phaseId": {
Expand Down
2 changes: 1 addition & 1 deletion clouddeploy/v1/clouddeploy-gen.go

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

38 changes: 36 additions & 2 deletions container/v1/container-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,7 @@
}
}
},
"revision": "20241228",
"revision": "20250114",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -4934,7 +4934,7 @@
"additionalProperties": {
"type": "string"
},
"description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse kernel.shmmni kernel.shmmax kernel.shmall",
"description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall vm.max_map_count",
"type": "object"
}
},
Expand Down Expand Up @@ -5801,6 +5801,22 @@
"description": "Node kubelet configs.",
"id": "NodeKubeletConfig",
"properties": {
"allowedUnsafeSysctls": {
"description": "Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods. To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details.",
"items": {
"type": "string"
},
"type": "array"
},
"containerLogMaxFiles": {
"description": "Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified.",
"format": "int32",
"type": "integer"
},
"containerLogMaxSize": {
"description": "Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified.",
"type": "string"
},
"cpuCfsQuota": {
"description": "Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.",
"type": "boolean"
Expand All @@ -5813,6 +5829,24 @@
"description": "Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * \"none\": the default, which represents the existing scheduling behavior. * \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.",
"type": "string"
},
"imageGcHighThresholdPercent": {
"description": "Optional. Defines the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and greater than image_gc_low_threshold_percent. The default value is 85 if unspecified.",
"format": "int32",
"type": "integer"
},
"imageGcLowThresholdPercent": {
"description": "Optional. Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and smaller than image_gc_high_threshold_percent. The default value is 80 if unspecified.",
"format": "int32",
"type": "integer"
},
"imageMaximumGcAge": {
"description": "Optional. Defines the maximum age an image can be unused before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration greater than image_minimum_gc_age or \"0s\". The default value is \"0s\" if unspecified, which disables this field, meaning images won't be garbage collected based on being unused for too long.",
"type": "string"
},
"imageMinimumGcAge": {
"description": "Optional. Defines the minimum age for an unused image before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration less than or equal to 2 minutes. The default value is \"2m0s\" if unspecified.",
"type": "string"
},
"insecureKubeletReadonlyPortEnabled": {
"description": "Enable or disable Kubelet read only port.",
"type": "boolean"
Expand Down
Loading

0 comments on commit 7da3675

Please sign in to comment.