google-cloud-batch-v1 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/batch/v1/batch_service.rb +1 -1
- data/lib/google/cloud/batch/v1/task_pb.rb +7 -0
- data/lib/google/cloud/batch/v1/version.rb +1 -1
- data/lib/google/cloud/batch/v1.rb +2 -2
- data/proto_docs/google/cloud/batch/v1/job.rb +12 -2
- data/proto_docs/google/cloud/batch/v1/task.rb +30 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 2afe49680f204d1a3b683778fdc012ed38907f15a5c2f109ececcdfb4f9e1960
         | 
| 4 | 
            +
              data.tar.gz: 8f2726db11bb5a00d1aa630e9a80fa3bbe3a0505e14850f722f1ae824164686f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 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 | 
            -
                    #  | 
| 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
         | 
| @@ -23,9 +23,9 @@ module Google | |
| 23 23 | 
             
              module Cloud
         | 
| 24 24 | 
             
                module Batch
         | 
| 25 25 | 
             
                  ##
         | 
| 26 | 
            -
                  #  | 
| 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  | 
| 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  | 
| 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
         | 
| @@ -241,8 +241,7 @@ module Google | |
| 241 241 | 
             
                    #     If task ends with non-zero exit code, retry the task with max_retry_count.
         | 
| 242 242 | 
             
                    # @!attribute [rw] environments
         | 
| 243 243 | 
             
                    #   @return [::Google::Protobuf::Map{::String => ::String}]
         | 
| 244 | 
            -
                    #      | 
| 245 | 
            -
                    #     You can set up to 100 environments.
         | 
| 244 | 
            +
                    #     Deprecated: please use environment(non-plural) instead.
         | 
| 246 245 | 
             
                    # @!attribute [rw] volumes
         | 
| 247 246 | 
             
                    #   @return [::Array<::Google::Cloud::Batch::V1::Volume>]
         | 
| 248 247 | 
             
                    #     Volumes to mount before running Tasks using this TaskSpec.
         | 
| @@ -320,10 +319,30 @@ module Google | |
| 320 319 | 
             
                    # @!attribute [rw] variables
         | 
| 321 320 | 
             
                    #   @return [::Google::Protobuf::Map{::String => ::String}]
         | 
| 322 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.
         | 
| 323 331 | 
             
                    class Environment
         | 
| 324 332 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 325 333 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 326 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 | 
            +
             | 
| 327 346 | 
             
                      # @!attribute [rw] key
         | 
| 328 347 | 
             
                      #   @return [::String]
         | 
| 329 348 | 
             
                      # @!attribute [rw] value
         | 
| @@ -332,6 +351,15 @@ module Google | |
| 332 351 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 333 352 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 334 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
         | 
| 335 363 | 
             
                    end
         | 
| 336 364 | 
             
                  end
         | 
| 337 365 | 
             
                end
         | 
| @@ -28,12 +28,14 @@ module Google | |
| 28 28 | 
             
                # [API Design Guide](https://cloud.google.com/apis/design/errors).
         | 
| 29 29 | 
             
                # @!attribute [rw] code
         | 
| 30 30 | 
             
                #   @return [::Integer]
         | 
| 31 | 
            -
                #     The status code, which should be an enum value of | 
| 31 | 
            +
                #     The status code, which should be an enum value of
         | 
| 32 | 
            +
                #     [google.rpc.Code][google.rpc.Code].
         | 
| 32 33 | 
             
                # @!attribute [rw] message
         | 
| 33 34 | 
             
                #   @return [::String]
         | 
| 34 35 | 
             
                #     A developer-facing error message, which should be in English. Any
         | 
| 35 36 | 
             
                #     user-facing error message should be localized and sent in the
         | 
| 36 | 
            -
                #     {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized | 
| 37 | 
            +
                #     {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
         | 
| 38 | 
            +
                #     by the client.
         | 
| 37 39 | 
             
                # @!attribute [rw] details
         | 
| 38 40 | 
             
                #   @return [::Array<::Google::Protobuf::Any>]
         | 
| 39 41 | 
             
                #     A list of messages that carry the error details.  There is a common set of
         | 
    
        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 | 
            +
              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:  | 
| 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:  | 
| 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:  | 
| 29 | 
            +
                    version: 0.16.0
         | 
| 30 30 | 
             
                - - "<"
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 32 | 
             
                    version: 2.a
         |