google-cloud-tasks-v2beta3 0.16.0 → 0.17.1
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/tasks/v2beta3/bindings_override.rb +2 -29
 - data/lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb +21 -4
 - data/lib/google/cloud/tasks/v2beta3/cloud_tasks/rest/client.rb +1 -1
 - data/lib/google/cloud/tasks/v2beta3/version.rb +1 -1
 - data/proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb +1 -1
 - data/proto_docs/google/cloud/tasks/v2beta3/queue.rb +1 -1
 - data/proto_docs/google/cloud/tasks/v2beta3/task.rb +1 -1
 - data/proto_docs/google/iam/v1/policy.rb +1 -1
 - 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: 9f2b4c8cce66f69e1d180ba976af175fb274f30376010c2756a4fc7b2de862fe
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8e45c0b37a7d257dab8083b067eacfb668c54f1319ded3f089181bb076cf8de3
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: ffe7dcd887a180be51463f052f4ce2dd4afcfd163b98293c21ca26f400854927bee47a61d0b0145e258f34ce48090732f36ac55904dc33c6fba41d7e7e55855d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 28688e864b8039ad83f34f5543f6e13b83432ad12a3345269fae91102ec222ca941f1b9c114215bb8404224c44a41e24e7c76d37679c951bee05a17768465fd4
         
     | 
| 
         @@ -16,7 +16,7 @@ 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            require "gapic/ 
     | 
| 
      
 19 
     | 
    
         
            +
            require "gapic/rest"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
            module Google
         
     | 
| 
       22 
22 
     | 
    
         
             
              module Cloud
         
     | 
| 
         @@ -42,7 +42,7 @@ module Google 
     | 
|
| 
       42 
42 
     | 
    
         
             
                                          namespace.pop
         
     | 
| 
       43 
43 
     | 
    
         
             
                                        end
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
     | 
    
         
            -
                        default_config =  
     | 
| 
      
 45 
     | 
    
         
            +
                        default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
         
     | 
| 
       46 
46 
     | 
    
         
             
                        default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
         
     | 
| 
       47 
47 
     | 
    
         
             
                          Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
         
     | 
| 
       48 
48 
     | 
    
         
             
                            uri_method: :get,
         
     | 
| 
         @@ -69,33 +69,6 @@ module Google 
     | 
|
| 
       69 
69 
     | 
    
         
             
                      yield @configure if block_given?
         
     | 
| 
       70 
70 
     | 
    
         
             
                      @configure
         
     | 
| 
       71 
71 
     | 
    
         
             
                    end
         
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
                    ##
         
     | 
| 
       74 
     | 
    
         
            -
                    # @private
         
     | 
| 
       75 
     | 
    
         
            -
                    # Configuration class for the google.cloud.tasks.v2beta3 package.
         
     | 
| 
       76 
     | 
    
         
            -
                    #
         
     | 
| 
       77 
     | 
    
         
            -
                    # This class contains common configuration for all services
         
     | 
| 
       78 
     | 
    
         
            -
                    # of the google.cloud.tasks.v2beta3 package.
         
     | 
| 
       79 
     | 
    
         
            -
                    #
         
     | 
| 
       80 
     | 
    
         
            -
                    # This configuration is for internal use of the client library classes,
         
     | 
| 
       81 
     | 
    
         
            -
                    # and it is not intended that the end-users will read or change it.
         
     | 
| 
       82 
     | 
    
         
            -
                    #
         
     | 
| 
       83 
     | 
    
         
            -
                    class Configuration
         
     | 
| 
       84 
     | 
    
         
            -
                      extend ::Gapic::Config
         
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
                      # @private
         
     | 
| 
       87 
     | 
    
         
            -
                      # Overrides for http bindings for the RPC of the mixins for this package.
         
     | 
| 
       88 
     | 
    
         
            -
                      # Services in this package should use these when creating clients for the mixin services.
         
     | 
| 
       89 
     | 
    
         
            -
                      # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
         
     | 
| 
       90 
     | 
    
         
            -
                      config_attr :bindings_override, {}, ::Hash, nil
         
     | 
| 
       91 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
                      # @private
         
     | 
| 
       93 
     | 
    
         
            -
                      def initialize parent_config = nil
         
     | 
| 
       94 
     | 
    
         
            -
                        @parent_config = parent_config unless parent_config.nil?
         
     | 
| 
       95 
     | 
    
         
            -
             
     | 
| 
       96 
     | 
    
         
            -
                        yield self if block_given?
         
     | 
| 
       97 
     | 
    
         
            -
                      end
         
     | 
| 
       98 
     | 
    
         
            -
                    end
         
     | 
| 
       99 
72 
     | 
    
         
             
                  end
         
     | 
| 
       100 
73 
     | 
    
         
             
                end
         
     | 
| 
       101 
74 
     | 
    
         
             
              end
         
     | 
| 
         @@ -511,7 +511,7 @@ module Google 
     | 
|
| 
       511 
511 
     | 
    
         
             
                        #
         
     | 
| 
       512 
512 
     | 
    
         
             
                        #     The list of allowed locations can be obtained by calling Cloud
         
     | 
| 
       513 
513 
     | 
    
         
             
                        #     Tasks' implementation of
         
     | 
| 
       514 
     | 
    
         
            -
                        #      
     | 
| 
      
 514 
     | 
    
         
            +
                        #     [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       515 
515 
     | 
    
         
             
                        #   @param queue [::Google::Cloud::Tasks::V2beta3::Queue, ::Hash]
         
     | 
| 
       516 
516 
     | 
    
         
             
                        #     Required. The queue to create.
         
     | 
| 
       517 
517 
     | 
    
         
             
                        #
         
     | 
| 
         @@ -2001,8 +2001,6 @@ module Google 
     | 
|
| 
       2001 
2001 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       2002 
2002 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       2003 
2003 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       2004 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       2005 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       2006 
2004 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       2007 
2005 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       2008 
2006 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -2011,7 +2009,26 @@ module Google 
     | 
|
| 
       2011 
2009 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       2012 
2010 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       2013 
2011 
     | 
    
         
             
                        #
         
     | 
| 
       2014 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 2012 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 2013 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 2014 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 2015 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2016 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 2017 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2018 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 2019 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 2020 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2021 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 2022 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2023 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 2024 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 2025 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 2026 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2027 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Tasks::V2beta3::CloudTasks::Client.new do |config|
         
     | 
| 
      
 2028 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 2029 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 2030 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2031 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       2015 
2032 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       2016 
2033 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       2017 
2034 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -491,7 +491,7 @@ module Google 
     | 
|
| 
       491 
491 
     | 
    
         
             
                          #
         
     | 
| 
       492 
492 
     | 
    
         
             
                          #     The list of allowed locations can be obtained by calling Cloud
         
     | 
| 
       493 
493 
     | 
    
         
             
                          #     Tasks' implementation of
         
     | 
| 
       494 
     | 
    
         
            -
                          #      
     | 
| 
      
 494 
     | 
    
         
            +
                          #     [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       495 
495 
     | 
    
         
             
                          #   @param queue [::Google::Cloud::Tasks::V2beta3::Queue, ::Hash]
         
     | 
| 
       496 
496 
     | 
    
         
             
                          #     Required. The queue to create.
         
     | 
| 
       497 
497 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -119,7 +119,7 @@ module Google 
     | 
|
| 
       119 
119 
     | 
    
         
             
                    #
         
     | 
| 
       120 
120 
     | 
    
         
             
                    #     The list of allowed locations can be obtained by calling Cloud
         
     | 
| 
       121 
121 
     | 
    
         
             
                    #     Tasks' implementation of
         
     | 
| 
       122 
     | 
    
         
            -
                    #      
     | 
| 
      
 122 
     | 
    
         
            +
                    #     [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       123 
123 
     | 
    
         
             
                    # @!attribute [rw] queue
         
     | 
| 
       124 
124 
     | 
    
         
             
                    #   @return [::Google::Cloud::Tasks::V2beta3::Queue]
         
     | 
| 
       125 
125 
     | 
    
         
             
                    #     Required. The queue to create.
         
     | 
| 
         @@ -42,7 +42,7 @@ module Google 
     | 
|
| 
       42 
42 
     | 
    
         
             
                    #        projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
         
     | 
| 
       43 
43 
     | 
    
         
             
                    #     * `LOCATION_ID` is the canonical ID for the queue's location.
         
     | 
| 
       44 
44 
     | 
    
         
             
                    #        The list of available locations can be obtained by calling
         
     | 
| 
       45 
     | 
    
         
            -
                    #         
     | 
| 
      
 45 
     | 
    
         
            +
                    #        [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       46 
46 
     | 
    
         
             
                    #        For more information, see https://cloud.google.com/about/locations/.
         
     | 
| 
       47 
47 
     | 
    
         
             
                    #     * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
         
     | 
| 
       48 
48 
     | 
    
         
             
                    #       hyphens (-). The maximum length is 100 characters.
         
     | 
| 
         @@ -39,7 +39,7 @@ module Google 
     | 
|
| 
       39 
39 
     | 
    
         
             
                    #        projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
         
     | 
| 
       40 
40 
     | 
    
         
             
                    #     * `LOCATION_ID` is the canonical ID for the task's location.
         
     | 
| 
       41 
41 
     | 
    
         
             
                    #        The list of available locations can be obtained by calling
         
     | 
| 
       42 
     | 
    
         
            -
                    #         
     | 
| 
      
 42 
     | 
    
         
            +
                    #        [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       43 
43 
     | 
    
         
             
                    #        For more information, see https://cloud.google.com/about/locations/.
         
     | 
| 
       44 
44 
     | 
    
         
             
                    #     * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
         
     | 
| 
       45 
45 
     | 
    
         
             
                    #       hyphens (-). The maximum length is 100 characters.
         
     | 
| 
         @@ -313,7 +313,7 @@ module Google 
     | 
|
| 
       313 
313 
     | 
    
         
             
                  #     Specifies the identities that do not cause logging for this type of
         
     | 
| 
       314 
314 
     | 
    
         
             
                  #     permission.
         
     | 
| 
       315 
315 
     | 
    
         
             
                  #     Follows the same format of
         
     | 
| 
       316 
     | 
    
         
            -
                  #      
     | 
| 
      
 316 
     | 
    
         
            +
                  #     [Binding.members][google.iam.v1.Binding.members].
         
     | 
| 
       317 
317 
     | 
    
         
             
                  class AuditLogConfig
         
     | 
| 
       318 
318 
     | 
    
         
             
                    include ::Google::Protobuf::MessageExts
         
     | 
| 
       319 
319 
     | 
    
         
             
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-tasks-v2beta3
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.17.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
         @@ -15,14 +15,14 @@ dependencies: 
     | 
|
| 
       15 
15 
     | 
    
         
             
                requirements:
         
     | 
| 
       16 
16 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       17 
17 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       18 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 18 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
       19 
19 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       20 
20 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       21 
21 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       22 
22 
     | 
    
         
             
                requirements:
         
     | 
| 
       23 
23 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       24 
24 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       25 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 25 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
       26 
26 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       27 
27 
     | 
    
         
             
              name: google-cloud-errors
         
     | 
| 
       28 
28 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       134 
134 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       135 
135 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       136 
136 
     | 
    
         
             
            requirements: []
         
     | 
| 
       137 
     | 
    
         
            -
            rubygems_version: 3.6. 
     | 
| 
      
 137 
     | 
    
         
            +
            rubygems_version: 3.6.9
         
     | 
| 
       138 
138 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       139 
139 
     | 
    
         
             
            summary: Manages the execution of large numbers of distributed requests.
         
     | 
| 
       140 
140 
     | 
    
         
             
            test_files: []
         
     |