google-cloud-tasks-v2 1.3.0 → 1.4.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/v2/bindings_override.rb +2 -29
 - data/lib/google/cloud/tasks/v2/cloud_tasks/client.rb +21 -4
 - data/lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb +1 -1
 - data/lib/google/cloud/tasks/v2/version.rb +1 -1
 - data/proto_docs/google/cloud/tasks/v2/cloudtasks.rb +1 -1
 - data/proto_docs/google/cloud/tasks/v2/queue.rb +1 -1
 - data/proto_docs/google/cloud/tasks/v2/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: 10976a6d186bbe5b3ca7bcc44a29990402c74522c837ebaa286994acc7a543c9
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ccb0603e59ea0a412e9788443f1bebf407d754a688395c837650d8909e5b4dbc
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 4cf6128283313715d8658d0e8d46b4c6cf5b28d3db5b0a56f15d14b560287294375f15a5b51857848c87c1d45093efab98b346362109476c343f81591156a866
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: eca4a672502f88111894aa8a796ee7c09f5902b244fa7824e87ee0627134dae7b54cc6884ff3a58f25698042d6d9a7a05bb7def25124bf007963ad78920397d1
         
     | 
| 
         @@ -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.v2 package.
         
     | 
| 
       76 
     | 
    
         
            -
                    #
         
     | 
| 
       77 
     | 
    
         
            -
                    # This class contains common configuration for all services
         
     | 
| 
       78 
     | 
    
         
            -
                    # of the google.cloud.tasks.v2 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
         
     | 
| 
         @@ -501,7 +501,7 @@ module Google 
     | 
|
| 
       501 
501 
     | 
    
         
             
                        #
         
     | 
| 
       502 
502 
     | 
    
         
             
                        #     The list of allowed locations can be obtained by calling Cloud
         
     | 
| 
       503 
503 
     | 
    
         
             
                        #     Tasks' implementation of
         
     | 
| 
       504 
     | 
    
         
            -
                        #      
     | 
| 
      
 504 
     | 
    
         
            +
                        #     [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       505 
505 
     | 
    
         
             
                        #   @param queue [::Google::Cloud::Tasks::V2::Queue, ::Hash]
         
     | 
| 
       506 
506 
     | 
    
         
             
                        #     Required. The queue to create.
         
     | 
| 
       507 
507 
     | 
    
         
             
                        #
         
     | 
| 
         @@ -1983,8 +1983,6 @@ module Google 
     | 
|
| 
       1983 
1983 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1984 
1984 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1985 
1985 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1986 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1987 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1988 
1986 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1989 
1987 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1990 
1988 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1993,7 +1991,26 @@ module Google 
     | 
|
| 
       1993 
1991 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1994 
1992 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1995 
1993 
     | 
    
         
             
                        #
         
     | 
| 
       1996 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1994 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1995 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1996 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1997 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1998 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1999 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2000 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 2001 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 2002 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2003 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 2004 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2005 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 2006 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 2007 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 2008 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2009 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Tasks::V2::CloudTasks::Client.new do |config|
         
     | 
| 
      
 2010 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 2011 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 2012 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2013 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1997 
2014 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1998 
2015 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1999 
2016 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -481,7 +481,7 @@ module Google 
     | 
|
| 
       481 
481 
     | 
    
         
             
                          #
         
     | 
| 
       482 
482 
     | 
    
         
             
                          #     The list of allowed locations can be obtained by calling Cloud
         
     | 
| 
       483 
483 
     | 
    
         
             
                          #     Tasks' implementation of
         
     | 
| 
       484 
     | 
    
         
            -
                          #      
     | 
| 
      
 484 
     | 
    
         
            +
                          #     [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       485 
485 
     | 
    
         
             
                          #   @param queue [::Google::Cloud::Tasks::V2::Queue, ::Hash]
         
     | 
| 
       486 
486 
     | 
    
         
             
                          #     Required. The queue to create.
         
     | 
| 
       487 
487 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -105,7 +105,7 @@ module Google 
     | 
|
| 
       105 
105 
     | 
    
         
             
                    #
         
     | 
| 
       106 
106 
     | 
    
         
             
                    #     The list of allowed locations can be obtained by calling Cloud
         
     | 
| 
       107 
107 
     | 
    
         
             
                    #     Tasks' implementation of
         
     | 
| 
       108 
     | 
    
         
            -
                    #      
     | 
| 
      
 108 
     | 
    
         
            +
                    #     [ListLocations][google.cloud.location.Locations.ListLocations].
         
     | 
| 
       109 
109 
     | 
    
         
             
                    # @!attribute [rw] queue
         
     | 
| 
       110 
110 
     | 
    
         
             
                    #   @return [::Google::Cloud::Tasks::V2::Queue]
         
     | 
| 
       111 
111 
     | 
    
         
             
                    #     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-v2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.4.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: []
         
     |