google-cloud-batch-v1 0.20.1 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/batch/v1/batch_service/client.rb +7 -0
- data/lib/google/cloud/batch/v1/batch_service/operations.rb +7 -0
- data/lib/google/cloud/batch/v1/batch_service/rest/client.rb +7 -0
- data/lib/google/cloud/batch/v1/batch_service/rest/operations.rb +7 -0
- data/lib/google/cloud/batch/v1/version.rb +1 -1
- data/lib/google/iam/v1/iam_policy/client.rb +7 -0
- data/lib/google/iam/v1/iam_policy/rest/client.rb +7 -0
- data/proto_docs/google/cloud/batch/v1/job.rb +11 -0
- data/proto_docs/google/cloud/batch/v1/task.rb +10 -0
- data/proto_docs/google/cloud/batch/v1/volume.rb +6 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c6d395c50daba4f41cd99b061f77f688f1d73030a432778d69591e95cc3069e
|
4
|
+
data.tar.gz: 5dacafb4a952376415f0a8dc8705e4764d994921514b9af0b4c88eef20cc077b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b038c928bd1ce7036bb5549e17518bb893221bf5e69d92e4a6a9d06ec2e43cf8dfb608c6d63894aaa5da0b4120dea1bc049895fcdba541097edf860613d89700
|
7
|
+
data.tar.gz: cd1f31c364e3e16b405fb44fce6ce95ac39e6a6f368b293c9532829105352ef34b8b12780fee71b4eb2c6c4a022987643a40c82162979ac992e0261f17d88d67
|
data/README.md
CHANGED
@@ -83,7 +83,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
83
83
|
|
84
84
|
## Supported Ruby Versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.0+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported
|
89
89
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -876,6 +876,13 @@ module Google
|
|
876
876
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
877
877
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
878
878
|
# * (`nil`) indicating no credentials
|
879
|
+
#
|
880
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
881
|
+
# external source for authentication to Google Cloud, you must validate it before
|
882
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
883
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
884
|
+
# For more information, refer to [Validate credential configurations from external
|
885
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
879
886
|
# @return [::Object]
|
880
887
|
# @!attribute [rw] scope
|
881
888
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -822,6 +822,13 @@ module Google
|
|
822
822
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
823
823
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
824
824
|
# * (`nil`) indicating no credentials
|
825
|
+
#
|
826
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
827
|
+
# external source for authentication to Google Cloud, you must validate it before
|
828
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
829
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
830
|
+
# For more information, refer to [Validate credential configurations from external
|
831
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
825
832
|
# @return [::Object]
|
826
833
|
# @!attribute [rw] scope
|
827
834
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -552,6 +552,13 @@ module Google
|
|
552
552
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
553
553
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
554
554
|
# * (`nil`) indicating no credentials
|
555
|
+
#
|
556
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
557
|
+
# external source for authentication to Google Cloud, you must validate it before
|
558
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
559
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
560
|
+
# For more information, refer to [Validate credential configurations from external
|
561
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
555
562
|
# @return [::Object]
|
556
563
|
# @!attribute [rw] scope
|
557
564
|
# The OAuth scopes
|
@@ -523,6 +523,13 @@ module Google
|
|
523
523
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
524
524
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
525
525
|
# * (`nil`) indicating no credentials
|
526
|
+
#
|
527
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
528
|
+
# external source for authentication to Google Cloud, you must validate it before
|
529
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
530
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
531
|
+
# For more information, refer to [Validate credential configurations from external
|
532
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
526
533
|
# @return [::Object]
|
527
534
|
# @!attribute [rw] scope
|
528
535
|
# The OAuth scopes
|
@@ -392,10 +392,14 @@ module Google
|
|
392
392
|
# * `batch-debian`: use Batch Debian images.
|
393
393
|
# * `batch-cos`: use Batch Container-Optimized images.
|
394
394
|
# * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
|
395
|
+
#
|
396
|
+
# Note: The following fields are mutually exclusive: `image`, `snapshot`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
395
397
|
# @!attribute [rw] snapshot
|
396
398
|
# @return [::String]
|
397
399
|
# Name of a snapshot used as the data source.
|
398
400
|
# Snapshot is not supported as boot disk now.
|
401
|
+
#
|
402
|
+
# Note: The following fields are mutually exclusive: `snapshot`, `image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
399
403
|
# @!attribute [rw] type
|
400
404
|
# @return [::String]
|
401
405
|
# Disk type as shown in `gcloud compute disk-types list`.
|
@@ -441,9 +445,12 @@ module Google
|
|
441
445
|
# instance.
|
442
446
|
# @!attribute [rw] new_disk
|
443
447
|
# @return [::Google::Cloud::Batch::V1::AllocationPolicy::Disk]
|
448
|
+
# Note: The following fields are mutually exclusive: `new_disk`, `existing_disk`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
444
449
|
# @!attribute [rw] existing_disk
|
445
450
|
# @return [::String]
|
446
451
|
# Name of an existing PD.
|
452
|
+
#
|
453
|
+
# Note: The following fields are mutually exclusive: `existing_disk`, `new_disk`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
447
454
|
# @!attribute [rw] device_name
|
448
455
|
# @return [::String]
|
449
456
|
# Device name that the guest operating system will see.
|
@@ -527,6 +534,8 @@ module Google
|
|
527
534
|
# @!attribute [rw] policy
|
528
535
|
# @return [::Google::Cloud::Batch::V1::AllocationPolicy::InstancePolicy]
|
529
536
|
# InstancePolicy.
|
537
|
+
#
|
538
|
+
# Note: The following fields are mutually exclusive: `policy`, `instance_template`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
530
539
|
# @!attribute [rw] instance_template
|
531
540
|
# @return [::String]
|
532
541
|
# Name of an instance template used to create VMs.
|
@@ -536,6 +545,8 @@ module Google
|
|
536
545
|
# Batch only supports global instance templates from the same project as
|
537
546
|
# the job.
|
538
547
|
# You can specify the global instance template as a full or partial URL.
|
548
|
+
#
|
549
|
+
# Note: The following fields are mutually exclusive: `instance_template`, `policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
539
550
|
# @!attribute [rw] install_gpu_drivers
|
540
551
|
# @return [::Boolean]
|
541
552
|
# Set this field true if you want Batch to help fetch drivers from a third
|
@@ -159,12 +159,18 @@ module Google
|
|
159
159
|
# @!attribute [rw] container
|
160
160
|
# @return [::Google::Cloud::Batch::V1::Runnable::Container]
|
161
161
|
# Container runnable.
|
162
|
+
#
|
163
|
+
# Note: The following fields are mutually exclusive: `container`, `script`, `barrier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
162
164
|
# @!attribute [rw] script
|
163
165
|
# @return [::Google::Cloud::Batch::V1::Runnable::Script]
|
164
166
|
# Script runnable.
|
167
|
+
#
|
168
|
+
# Note: The following fields are mutually exclusive: `script`, `container`, `barrier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
165
169
|
# @!attribute [rw] barrier
|
166
170
|
# @return [::Google::Cloud::Batch::V1::Runnable::Barrier]
|
167
171
|
# Barrier runnable.
|
172
|
+
#
|
173
|
+
# Note: The following fields are mutually exclusive: `barrier`, `container`, `script`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
168
174
|
# @!attribute [rw] display_name
|
169
175
|
# @return [::String]
|
170
176
|
# Optional. DisplayName is an optional field that can be provided by the
|
@@ -325,6 +331,8 @@ module Google
|
|
325
331
|
# include `#!/bin/bash` as the first line of the file. Alternatively,
|
326
332
|
# to execute the script using Python3, include `#!/usr/bin/env python3`
|
327
333
|
# as the first line of the file.
|
334
|
+
#
|
335
|
+
# Note: The following fields are mutually exclusive: `path`, `text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
328
336
|
# @!attribute [rw] text
|
329
337
|
# @return [::String]
|
330
338
|
# The text for a script.
|
@@ -336,6 +344,8 @@ module Google
|
|
336
344
|
# include `#!/bin/bash\n` at the beginning of the text. Alternatively,
|
337
345
|
# to execute the script using Python3, include `#!/usr/bin/env python3\n`
|
338
346
|
# at the beginning of the text.
|
347
|
+
#
|
348
|
+
# Note: The following fields are mutually exclusive: `text`, `path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
339
349
|
class Script
|
340
350
|
include ::Google::Protobuf::MessageExts
|
341
351
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,9 +26,13 @@ module Google
|
|
26
26
|
# @return [::Google::Cloud::Batch::V1::NFS]
|
27
27
|
# A Network File System (NFS) volume. For example, a
|
28
28
|
# Filestore file share.
|
29
|
+
#
|
30
|
+
# Note: The following fields are mutually exclusive: `nfs`, `gcs`, `device_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
29
31
|
# @!attribute [rw] gcs
|
30
32
|
# @return [::Google::Cloud::Batch::V1::GCS]
|
31
33
|
# A Google Cloud Storage (GCS) volume.
|
34
|
+
#
|
35
|
+
# Note: The following fields are mutually exclusive: `gcs`, `nfs`, `device_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
32
36
|
# @!attribute [rw] device_name
|
33
37
|
# @return [::String]
|
34
38
|
# Device name of an attached disk volume, which should align with a
|
@@ -36,6 +40,8 @@ module Google
|
|
36
40
|
# job.allocation_policy.instances[0].policy.disks[i].device_name or
|
37
41
|
# defined by the given instance template in
|
38
42
|
# job.allocation_policy.instances[0].instance_template.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `device_name`, `nfs`, `gcs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
39
45
|
# @!attribute [rw] mount_path
|
40
46
|
# @return [::String]
|
41
47
|
# The mount path for the volume, e.g. /mnt/disks/share.
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-batch-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -147,7 +146,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
147
146
|
licenses:
|
148
147
|
- Apache-2.0
|
149
148
|
metadata: {}
|
150
|
-
post_install_message:
|
151
149
|
rdoc_options: []
|
152
150
|
require_paths:
|
153
151
|
- lib
|
@@ -155,15 +153,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
153
|
requirements:
|
156
154
|
- - ">="
|
157
155
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
156
|
+
version: '3.0'
|
159
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
158
|
requirements:
|
161
159
|
- - ">="
|
162
160
|
- !ruby/object:Gem::Version
|
163
161
|
version: '0'
|
164
162
|
requirements: []
|
165
|
-
rubygems_version: 3.
|
166
|
-
signing_key:
|
163
|
+
rubygems_version: 3.6.2
|
167
164
|
specification_version: 4
|
168
165
|
summary: An API to manage the running of Batch resources on Google Cloud Platform.
|
169
166
|
test_files: []
|