google-cloud-batch-v1 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8145d86893b1e0276bc292a6303d9401439760fa02ac0455f569134ae4f3d0d
4
- data.tar.gz: f3d2f23314e05e39ab7feb1486a198f6af4a9b58f562b81051f4d471925493f6
3
+ metadata.gz: 2afe49680f204d1a3b683778fdc012ed38907f15a5c2f109ececcdfb4f9e1960
4
+ data.tar.gz: 8f2726db11bb5a00d1aa630e9a80fa3bbe3a0505e14850f722f1ae824164686f
5
5
  SHA512:
6
- metadata.gz: 9d994e672630ed1a020e51f553f5cb6093526c90a8f3b34b4f8b61b6110a78f1db0686162747f79e12e230066a4bd22f24def6022b7ffda05b18ea23207b9863
7
- data.tar.gz: 2f1ae1a14f61688e4d20f1ce6217413b258fda0fec3764f775bfe37044069d015020b1a180823ec999faec7d419bff46f8fa762da5d37d9f07e23abd3ce312c2
6
+ metadata.gz: 366abe659edb5b34a0f18d18cf60c54177a938aec843890bb023e482fe49f8458be16a24006f1c9795ccd558bee030bfb7e0d8902799dae2016e4111bab1fb20
7
+ data.tar.gz: 72061100018c92a2c62a337138d083c30e33e7410c6f83fea856ddf82dc035b773c25db31ef076d00d9f59cd92671f1ac56b5f9d431b7f9484fc55750bf64855
@@ -36,7 +36,7 @@ module Google
36
36
  # The service manages user submitted batch jobs and allocates Google Compute
37
37
  # Engine VM instances to run the jobs.
38
38
  #
39
- # To load this service and instantiate a client:
39
+ # @example Load this service and instantiate a gRPC client
40
40
  #
41
41
  # require "google/cloud/batch/v1/batch_service"
42
42
  # client = ::Google::Cloud::Batch::V1::BatchService::Client.new
@@ -95,6 +95,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
95
95
  end
96
96
  add_message "google.cloud.batch.v1.Environment" do
97
97
  map :variables, :string, :string, 1
98
+ map :secret_variables, :string, :string, 2
99
+ optional :encrypted_variables, :message, 3, "google.cloud.batch.v1.Environment.KMSEnvMap"
100
+ end
101
+ add_message "google.cloud.batch.v1.Environment.KMSEnvMap" do
102
+ optional :key_name, :string, 1
103
+ optional :cipher_text, :string, 2
98
104
  end
99
105
  end
100
106
  end
@@ -118,6 +124,7 @@ module Google
118
124
  LifecyclePolicy::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.batch.v1.LifecyclePolicy.Action").enummodule
119
125
  Task = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.batch.v1.Task").msgclass
120
126
  Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.batch.v1.Environment").msgclass
127
+ Environment::KMSEnvMap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.batch.v1.Environment.KMSEnvMap").msgclass
121
128
  end
122
129
  end
123
130
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Batch
23
23
  module V1
24
- VERSION = "0.4.3"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,9 +23,9 @@ module Google
23
23
  module Cloud
24
24
  module Batch
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
26
+ # API client module.
27
27
  #
28
- # @example
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
29
  #
30
30
  # require "google/cloud/batch/v1"
31
31
  # client = ::Google::Cloud::Batch::V1::BatchService::Client.new
@@ -407,10 +407,20 @@ module Google
407
407
  # A network interface.
408
408
  # @!attribute [rw] network
409
409
  # @return [::String]
410
- # The URL of the network resource.
410
+ # The URL of an existing network resource.
411
+ # You can specify the network as a full or partial URL.
412
+ # For example, the following are all valid URLs:
413
+ # https://www.googleapis.com/compute/v1/projects/\\{project}/global/networks/\\{network}
414
+ # projects/\\{project}/global/networks/\\{network}
415
+ # global/networks/\\{network}
411
416
  # @!attribute [rw] subnetwork
412
417
  # @return [::String]
413
- # The URL of the Subnetwork resource.
418
+ # The URL of an existing subnetwork resource in the network.
419
+ # You can specify the subnetwork as a full or partial URL.
420
+ # For example, the following are all valid URLs:
421
+ # https://www.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetwork}
422
+ # projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetwork}
423
+ # regions/\\{region}/subnetworks/\\{subnetwork}
414
424
  # @!attribute [rw] no_external_ip_address
415
425
  # @return [::Boolean]
416
426
  # Default is false (with an external IP address). Required if
@@ -319,10 +319,30 @@ module Google
319
319
  # @!attribute [rw] variables
320
320
  # @return [::Google::Protobuf::Map{::String => ::String}]
321
321
  # A map of environment variable names to values.
322
+ # @!attribute [rw] secret_variables
323
+ # @return [::Google::Protobuf::Map{::String => ::String}]
324
+ # A map of environment variable names to Secret Manager secret names.
325
+ # The VM will access the named secrets to set the value of each environment
326
+ # variable.
327
+ # @!attribute [rw] encrypted_variables
328
+ # @return [::Google::Cloud::Batch::V1::Environment::KMSEnvMap]
329
+ # An encrypted JSON dictionary where the key/value pairs correspond to
330
+ # environment variable names and their values.
322
331
  class Environment
323
332
  include ::Google::Protobuf::MessageExts
324
333
  extend ::Google::Protobuf::MessageExts::ClassMethods
325
334
 
335
+ # @!attribute [rw] key_name
336
+ # @return [::String]
337
+ # The name of the KMS key that will be used to decrypt the cipher text.
338
+ # @!attribute [rw] cipher_text
339
+ # @return [::String]
340
+ # The value of the cipherText response from the `encrypt` method.
341
+ class KMSEnvMap
342
+ include ::Google::Protobuf::MessageExts
343
+ extend ::Google::Protobuf::MessageExts::ClassMethods
344
+ end
345
+
326
346
  # @!attribute [rw] key
327
347
  # @return [::String]
328
348
  # @!attribute [rw] value
@@ -331,6 +351,15 @@ module Google
331
351
  include ::Google::Protobuf::MessageExts
332
352
  extend ::Google::Protobuf::MessageExts::ClassMethods
333
353
  end
354
+
355
+ # @!attribute [rw] key
356
+ # @return [::String]
357
+ # @!attribute [rw] value
358
+ # @return [::String]
359
+ class SecretVariablesEntry
360
+ include ::Google::Protobuf::MessageExts
361
+ extend ::Google::Protobuf::MessageExts::ClassMethods
362
+ end
334
363
  end
335
364
  end
336
365
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-batch-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-15 00:00:00.000000000 Z
11
+ date: 2023-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: 0.16.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.12'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a