Skip to content

Commit 86a76f6

Browse files
feat: Automated regeneration of batch v1 client (googleapis#20552)
Auto-created at 2024-11-17 09:13:17 +0000 using the toys pull request generator.
1 parent 34b2cd3 commit 86a76f6

File tree

3 files changed

+29
-17
lines changed

3 files changed

+29
-17
lines changed

generated/google-apis-batch_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-batch_v1
22

3+
### v0.47.0 (2024-11-17)
4+
5+
* Regenerated from discovery document revision 20241106
6+
37
### v0.46.0 (2024-10-20)
48

59
* Regenerated from discovery document revision 20241002

generated/google-apis-batch_v1/lib/google/apis/batch_v1/classes.rb

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -778,11 +778,11 @@ def update!(**args)
778778
class CloudLoggingOption
779779
include Google::Apis::Core::Hashable
780780

781-
# Optional. Set this flag to true to change the [monitored resource type](https:/
782-
# /cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated
783-
# by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.
784-
# com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the
785-
# formerly used [`generic_task`](https://cloud.google.com/monitoring/api/
781+
# Optional. Set this field to `true` to change the [monitored resource type](
782+
# https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs
783+
# generated by this Batch job from the [`batch.googleapis.com/Job`](https://
784+
# cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) type
785+
# to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/
786786
# resources#tag_generic_task) type.
787787
# Corresponds to the JSON property `useGenericTaskMonitoredResource`
788788
# @return [Boolean]
@@ -1224,8 +1224,8 @@ class InstancePolicyOrTemplate
12241224

12251225
# Name of an instance template used to create VMs. Named the field as '
12261226
# instance_template' instead of 'template' to avoid C++ keyword conflict. Batch
1227-
# only supports global instance templates. You can specify the global instance
1228-
# template as a full or partial URL.
1227+
# only supports global instance templates from the same project as the job. You
1228+
# can specify the global instance template as a full or partial URL.
12291229
# Corresponds to the JSON property `instanceTemplate`
12301230
# @return [String]
12311231
attr_accessor :instance_template
@@ -1317,8 +1317,10 @@ class Job
13171317
# @return [Hash<String,String>]
13181318
attr_accessor :labels
13191319

1320-
# LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
1321-
# preserved.
1320+
# LogsPolicy describes if and how a job's logs are preserved. Logs include
1321+
# information that is automatically written by the Batch service agent and any
1322+
# information that you configured the job's runnables to write to the `stdout`
1323+
# or `stderr` streams.
13221324
# Corresponds to the JSON property `logsPolicy`
13231325
# @return [Google::Apis::BatchV1::LogsPolicy]
13241326
attr_accessor :logs_policy
@@ -1695,8 +1697,10 @@ def update!(**args)
16951697
end
16961698
end
16971699

1698-
# LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
1699-
# preserved.
1700+
# LogsPolicy describes if and how a job's logs are preserved. Logs include
1701+
# information that is automatically written by the Batch service agent and any
1702+
# information that you configured the job's runnables to write to the `stdout`
1703+
# or `stderr` streams.
17001704
class LogsPolicy
17011705
include Google::Apis::Core::Hashable
17021706

@@ -1706,14 +1710,18 @@ class LogsPolicy
17061710
# @return [Google::Apis::BatchV1::CloudLoggingOption]
17071711
attr_accessor :cloud_logging_option
17081712

1709-
# Where logs should be saved.
1713+
# If and where logs should be saved.
17101714
# Corresponds to the JSON property `destination`
17111715
# @return [String]
17121716
attr_accessor :destination
17131717

1714-
# The path to which logs are saved when the destination = PATH. This can be a
1715-
# local file path on the VM, or under the mount point of a Persistent Disk or
1716-
# Filestore, or a Cloud Storage path.
1718+
# When `destination` is set to `PATH`, you must set this field to the path where
1719+
# you want logs to be saved. This path can point to a local directory on the VM
1720+
# or (if congifured) a directory under the mount path of any Cloud Storage
1721+
# bucket, network file system (NFS), or writable persistent disk that is mounted
1722+
# to the job. For example, if the job has a bucket with `mountPath` set to `/mnt/
1723+
# disks/my-bucket`, you can write logs to the root directory of the `remotePath`
1724+
# of that bucket by setting this field to `/mnt/disks/my-bucket/`.
17171725
# Corresponds to the JSON property `logsPath`
17181726
# @return [String]
17191727
attr_accessor :logs_path

generated/google-apis-batch_v1/lib/google/apis/batch_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BatchV1
1818
# Version of the google-apis-batch_v1 gem
19-
GEM_VERSION = "0.46.0"
19+
GEM_VERSION = "0.47.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241002"
25+
REVISION = "20241106"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)