Skip to content

Commit

Permalink
feat: Automated regeneration of Batch client (#11235)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-31 13:11:23 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 31, 2024
1 parent 7fa6b7f commit a7e12e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/batch/lib/google_api/batch/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Batch.V1 do
API client metadata for GoogleApi.Batch.V1.
"""

@discovery_revision "20240315"
@discovery_revision "20240324"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ defmodule GoogleApi.Batch.V1.Model.AllocationPolicy do
* `location` (*type:* `GoogleApi.Batch.V1.Model.LocationPolicy.t`, *default:* `nil`) - Location where compute resources should be allocated for the Job.
* `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.
* `placement` (*type:* `GoogleApi.Batch.V1.Model.PlacementPolicy.t`, *default:* `nil`) - The placement policy.
* `serviceAccount` (*type:* `GoogleApi.Batch.V1.Model.ServiceAccount.t`, *default:* `nil`) - Service account that VMs will run as.
* `serviceAccount` (*type:* `GoogleApi.Batch.V1.Model.ServiceAccount.t`, *default:* `nil`) - Defines the service account for Batch-created VMs. If omitted, the [default Compute Engine service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. Must match the service account specified in any used instance template configured in the Batch job. Includes the following fields: * email: The service account's email address. If not set, the default Compute Engine service account is used. * scopes: Additional OAuth scopes to grant the service account, beyond the default cloud-platform scope. (list of strings)
* `tags` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Tags applied to the VM instances. The tags identify valid sources or targets for network firewalls. Each tag must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ defmodule GoogleApi.Batch.V1.Model.ServiceAccount do
## Attributes
* `email` (*type:* `String.t`, *default:* `nil`) - Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
* `scopes` (*type:* `list(String.t)`, *default:* `nil`) - List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
* `email` (*type:* `String.t`, *default:* `nil`) - Email address of the service account.
* `scopes` (*type:* `list(String.t)`, *default:* `nil`) - List of scopes to be enabled for this service account.
"""

use GoogleApi.Gax.ModelBase
Expand Down
2 changes: 1 addition & 1 deletion clients/batch/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Batch.Mixfile do
use Mix.Project

@version "0.2.1"
@version "0.2.2"

def project() do
[
Expand Down

0 comments on commit a7e12e1

Please sign in to comment.