google-cloud-memcache-v1beta2 0.6.0 → 0.6.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/memcache/v1beta2/cloud_memcache/client.rb +4 -2
 - data/lib/google/cloud/memcache/v1beta2/cloud_memcache/operations.rb +3 -1
 - data/lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/client.rb +4 -2
 - data/lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/operations.rb +7 -5
 - data/lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/service_stub.rb +9 -9
 - data/lib/google/cloud/memcache/v1beta2/version.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: 97dd0329aa3b127795b62018e886c6717a46c13819c0660bf31a7bd2d0b67b5c
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 341615c2c22d4290f2abed8bde773a35a732c74fb6cc09a86c88931551cb9846
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: b8ee6f4cdee32f20215c4ef47804d262cef0311cda94b80c5d67443e3709201f8b4c413f8eb15bd3c28805b8459dc2fcdef89462e8528954c4d8b651d508e9ed
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 49e78b667f918a85bc15cb8da7248ea9c0495367f140a34187d7ba4b9bd9cb4510a64710e32d4e9f8654559e79c57071dcc3ac1f492a224e7776365130f2ee2d
         
     | 
| 
         @@ -156,7 +156,7 @@ module Google 
     | 
|
| 
       156 
156 
     | 
    
         
             
                          credentials = @config.credentials
         
     | 
| 
       157 
157 
     | 
    
         
             
                          # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       158 
158 
     | 
    
         
             
                          # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       159 
     | 
    
         
            -
                          enable_self_signed_jwt = @config.endpoint ==  
     | 
| 
      
 159 
     | 
    
         
            +
                          enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
         
     | 
| 
       160 
160 
     | 
    
         
             
                                                   !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       161 
161 
     | 
    
         
             
                          credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       162 
162 
     | 
    
         
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
         @@ -1184,7 +1184,9 @@ module Google 
     | 
|
| 
       1184 
1184 
     | 
    
         
             
                        class Configuration
         
     | 
| 
       1185 
1185 
     | 
    
         
             
                          extend ::Gapic::Config
         
     | 
| 
       1186 
1186 
     | 
    
         | 
| 
       1187 
     | 
    
         
            -
                           
     | 
| 
      
 1187 
     | 
    
         
            +
                          DEFAULT_ENDPOINT = "memcache.googleapis.com"
         
     | 
| 
      
 1188 
     | 
    
         
            +
             
     | 
| 
      
 1189 
     | 
    
         
            +
                          config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         
     | 
| 
       1188 
1190 
     | 
    
         
             
                          config_attr :credentials,   nil do |value|
         
     | 
| 
       1189 
1191 
     | 
    
         
             
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       1190 
1192 
     | 
    
         
             
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         
     | 
| 
         @@ -664,7 +664,9 @@ module Google 
     | 
|
| 
       664 
664 
     | 
    
         
             
                        class Configuration
         
     | 
| 
       665 
665 
     | 
    
         
             
                          extend ::Gapic::Config
         
     | 
| 
       666 
666 
     | 
    
         | 
| 
       667 
     | 
    
         
            -
                           
     | 
| 
      
 667 
     | 
    
         
            +
                          DEFAULT_ENDPOINT = "memcache.googleapis.com"
         
     | 
| 
      
 668 
     | 
    
         
            +
             
     | 
| 
      
 669 
     | 
    
         
            +
                          config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         
     | 
| 
       668 
670 
     | 
    
         
             
                          config_attr :credentials,   nil do |value|
         
     | 
| 
       669 
671 
     | 
    
         
             
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       670 
672 
     | 
    
         
             
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         
     | 
| 
         @@ -152,7 +152,7 @@ module Google 
     | 
|
| 
       152 
152 
     | 
    
         
             
                            credentials = @config.credentials
         
     | 
| 
       153 
153 
     | 
    
         
             
                            # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       154 
154 
     | 
    
         
             
                            # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       155 
     | 
    
         
            -
                            enable_self_signed_jwt = @config.endpoint ==  
     | 
| 
      
 155 
     | 
    
         
            +
                            enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
         
     | 
| 
       156 
156 
     | 
    
         
             
                                                     !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       157 
157 
     | 
    
         
             
                            credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       158 
158 
     | 
    
         
             
                                                                enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
         @@ -906,7 +906,9 @@ module Google 
     | 
|
| 
       906 
906 
     | 
    
         
             
                          class Configuration
         
     | 
| 
       907 
907 
     | 
    
         
             
                            extend ::Gapic::Config
         
     | 
| 
       908 
908 
     | 
    
         | 
| 
       909 
     | 
    
         
            -
                             
     | 
| 
      
 909 
     | 
    
         
            +
                            DEFAULT_ENDPOINT = "memcache.googleapis.com"
         
     | 
| 
      
 910 
     | 
    
         
            +
             
     | 
| 
      
 911 
     | 
    
         
            +
                            config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         
     | 
| 
       910 
912 
     | 
    
         
             
                            config_attr :credentials,   nil do |value|
         
     | 
| 
       911 
913 
     | 
    
         
             
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       912 
914 
     | 
    
         
             
                              allowed.any? { |klass| klass === value }
         
     | 
| 
         @@ -446,7 +446,9 @@ module Google 
     | 
|
| 
       446 
446 
     | 
    
         
             
                          class Configuration
         
     | 
| 
       447 
447 
     | 
    
         
             
                            extend ::Gapic::Config
         
     | 
| 
       448 
448 
     | 
    
         | 
| 
       449 
     | 
    
         
            -
                             
     | 
| 
      
 449 
     | 
    
         
            +
                            DEFAULT_ENDPOINT = "memcache.googleapis.com"
         
     | 
| 
      
 450 
     | 
    
         
            +
             
     | 
| 
      
 451 
     | 
    
         
            +
                            config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         
     | 
| 
       450 
452 
     | 
    
         
             
                            config_attr :credentials,   nil do |value|
         
     | 
| 
       451 
453 
     | 
    
         
             
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       452 
454 
     | 
    
         
             
                              allowed.any? { |klass| klass === value }
         
     | 
| 
         @@ -567,7 +569,7 @@ module Google 
     | 
|
| 
       567 
569 
     | 
    
         | 
| 
       568 
570 
     | 
    
         
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
         
     | 
| 
       569 
571 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       570 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 572 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       571 
573 
     | 
    
         
             
                                                  else
         
     | 
| 
       572 
574 
     | 
    
         
             
                                                    {}
         
     | 
| 
       573 
575 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -605,7 +607,7 @@ module Google 
     | 
|
| 
       605 
607 
     | 
    
         | 
| 
       606 
608 
     | 
    
         
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
         
     | 
| 
       607 
609 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       608 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 610 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       609 
611 
     | 
    
         
             
                                                  else
         
     | 
| 
       610 
612 
     | 
    
         
             
                                                    {}
         
     | 
| 
       611 
613 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -643,7 +645,7 @@ module Google 
     | 
|
| 
       643 
645 
     | 
    
         | 
| 
       644 
646 
     | 
    
         
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
         
     | 
| 
       645 
647 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       646 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 648 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       647 
649 
     | 
    
         
             
                                                  else
         
     | 
| 
       648 
650 
     | 
    
         
             
                                                    {}
         
     | 
| 
       649 
651 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -681,7 +683,7 @@ module Google 
     | 
|
| 
       681 
683 
     | 
    
         | 
| 
       682 
684 
     | 
    
         
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
         
     | 
| 
       683 
685 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       684 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 686 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       685 
687 
     | 
    
         
             
                                                  else
         
     | 
| 
       686 
688 
     | 
    
         
             
                                                    {}
         
     | 
| 
       687 
689 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -59,7 +59,7 @@ module Google 
     | 
|
| 
       59 
59 
     | 
    
         | 
| 
       60 
60 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_list_instances_request request_pb
         
     | 
| 
       61 
61 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       62 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 62 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       63 
63 
     | 
    
         
             
                                                  else
         
     | 
| 
       64 
64 
     | 
    
         
             
                                                    {}
         
     | 
| 
       65 
65 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -97,7 +97,7 @@ module Google 
     | 
|
| 
       97 
97 
     | 
    
         | 
| 
       98 
98 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_get_instance_request request_pb
         
     | 
| 
       99 
99 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       100 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 100 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       101 
101 
     | 
    
         
             
                                                  else
         
     | 
| 
       102 
102 
     | 
    
         
             
                                                    {}
         
     | 
| 
       103 
103 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -135,7 +135,7 @@ module Google 
     | 
|
| 
       135 
135 
     | 
    
         | 
| 
       136 
136 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_create_instance_request request_pb
         
     | 
| 
       137 
137 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       138 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 138 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       139 
139 
     | 
    
         
             
                                                  else
         
     | 
| 
       140 
140 
     | 
    
         
             
                                                    {}
         
     | 
| 
       141 
141 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -173,7 +173,7 @@ module Google 
     | 
|
| 
       173 
173 
     | 
    
         | 
| 
       174 
174 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_update_instance_request request_pb
         
     | 
| 
       175 
175 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       176 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 176 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       177 
177 
     | 
    
         
             
                                                  else
         
     | 
| 
       178 
178 
     | 
    
         
             
                                                    {}
         
     | 
| 
       179 
179 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -211,7 +211,7 @@ module Google 
     | 
|
| 
       211 
211 
     | 
    
         | 
| 
       212 
212 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_update_parameters_request request_pb
         
     | 
| 
       213 
213 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       214 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 214 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       215 
215 
     | 
    
         
             
                                                  else
         
     | 
| 
       216 
216 
     | 
    
         
             
                                                    {}
         
     | 
| 
       217 
217 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -249,7 +249,7 @@ module Google 
     | 
|
| 
       249 
249 
     | 
    
         | 
| 
       250 
250 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_delete_instance_request request_pb
         
     | 
| 
       251 
251 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       252 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 252 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       253 
253 
     | 
    
         
             
                                                  else
         
     | 
| 
       254 
254 
     | 
    
         
             
                                                    {}
         
     | 
| 
       255 
255 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -287,7 +287,7 @@ module Google 
     | 
|
| 
       287 
287 
     | 
    
         | 
| 
       288 
288 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_apply_parameters_request request_pb
         
     | 
| 
       289 
289 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       290 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 290 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       291 
291 
     | 
    
         
             
                                                  else
         
     | 
| 
       292 
292 
     | 
    
         
             
                                                    {}
         
     | 
| 
       293 
293 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -325,7 +325,7 @@ module Google 
     | 
|
| 
       325 
325 
     | 
    
         | 
| 
       326 
326 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_apply_software_update_request request_pb
         
     | 
| 
       327 
327 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       328 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 328 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       329 
329 
     | 
    
         
             
                                                  else
         
     | 
| 
       330 
330 
     | 
    
         
             
                                                    {}
         
     | 
| 
       331 
331 
     | 
    
         
             
                                                  end
         
     | 
| 
         @@ -363,7 +363,7 @@ module Google 
     | 
|
| 
       363 
363 
     | 
    
         | 
| 
       364 
364 
     | 
    
         
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_reschedule_maintenance_request request_pb
         
     | 
| 
       365 
365 
     | 
    
         
             
                            query_string_params = if query_string_params.any?
         
     | 
| 
       366 
     | 
    
         
            -
                                                    query_string_params.to_h { |p| p.split 
     | 
| 
      
 366 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
       367 
367 
     | 
    
         
             
                                                  else
         
     | 
| 
       368 
368 
     | 
    
         
             
                                                    {}
         
     | 
| 
       369 
369 
     | 
    
         
             
                                                  end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-memcache-v1beta2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.6. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.6.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2023- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-06-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.19. 
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 0.19.1
         
     | 
| 
       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.19. 
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.19.1
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - "<"
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
32 
     | 
    
         
             
                    version: 2.a
         
     |