Skip to content

Commit b73d0a3

Browse files
feat: Automated regeneration of Batch client (googleapis#12209)
Auto-created at 2024-09-25 13:19:17 +0000 using the toys pull request generator.
1 parent e2ee658 commit b73d0a3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

clients/batch/lib/google_api/batch/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Batch.V1 do
2020
API client metadata for GoogleApi.Batch.V1.
2121
"""
2222

23-
@discovery_revision "20240911"
23+
@discovery_revision "20240919"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/batch/lib/google_api/batch/v1/model/allocation_policy.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Batch.V1.Model.AllocationPolicy do
2222
## Attributes
2323
2424
* `instances` (*type:* `list(GoogleApi.Batch.V1.Model.InstancePolicyOrTemplate.t)`, *default:* `nil`) - Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
25-
* `labels` (*type:* `map()`, *default:* `nil`) - Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
25+
* `labels` (*type:* `map()`, *default:* `nil`) - Custom labels to apply to the job and all the Compute Engine resources that both are created by this allocation policy and support labels. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
2626
* `location` (*type:* `GoogleApi.Batch.V1.Model.LocationPolicy.t`, *default:* `nil`) - Location where compute resources should be allocated for the Job.
2727
* `network` (*type:* `GoogleApi.Batch.V1.Model.NetworkPolicy.t`, *default:* `nil`) - The network policy. If you define an instance template in the `InstancePolicyOrTemplate` field, Batch will use the network settings in the instance template instead of this field.
2828
* `placement` (*type:* `GoogleApi.Batch.V1.Model.PlacementPolicy.t`, *default:* `nil`) - The placement policy.

clients/batch/lib/google_api/batch/v1/model/job.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.Batch.V1.Model.Job do
2323
2424
* `allocationPolicy` (*type:* `GoogleApi.Batch.V1.Model.AllocationPolicy.t`, *default:* `nil`) - Compute resource allocation for all TaskGroups in the Job.
2525
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. When the Job was created.
26-
* `labels` (*type:* `map()`, *default:* `nil`) - Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
26+
* `labels` (*type:* `map()`, *default:* `nil`) - Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
2727
* `logsPolicy` (*type:* `GoogleApi.Batch.V1.Model.LogsPolicy.t`, *default:* `nil`) - Log preservation policy for the Job.
2828
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
2929
* `notifications` (*type:* `list(GoogleApi.Batch.V1.Model.JobNotification.t)`, *default:* `nil`) - Notification configurations.

clients/batch/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Batch.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.6.1"
21+
@version "0.6.2"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)