google-cloud-memcache-v1beta2 0.11.0 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5287bbb33c444abaf85b8e9c96514c197c5feb0a56935fd244e1fcb9cb16da39
4
- data.tar.gz: 7971248e2c475e787c6e43e19772a5e0798eb006c12c5ebd3d080c05e9309949
3
+ metadata.gz: 5ce7da5e19950be87c5c5eb6e1675808136073a7de8642cd6e242480539f704b
4
+ data.tar.gz: 3e3719a58607d08d00c5c597ac89c01a754892b8e0ef382e705ccfda02a6ce56
5
5
  SHA512:
6
- metadata.gz: 417710c9b6299adfd6a44c7ac0bd1d6214025e6f31a494f473441a1cbca574dd663bb7b55f431498390fb13fdfa79922466c3d6228699d43cd33a5d464e4608c
7
- data.tar.gz: aa545e80e26e4c3045d049afc5ffe6d5b202a5ea2bb11ce07d97f07980d421ec78454aaf720f7bf555bb27a63a1b71c514d9f7186c8c285cbcbc03ed56f4aa6a
6
+ metadata.gz: a246ef2797dc7c00b4424676dc6c5b3b9683cd311d0f4850a60aec8bce22ca6d44eabd693b1dae3495c3157c73fd71bc9b9dd4dcebe3d029b8e9a8cfaef4c206
7
+ data.tar.gz: db1f1307110bf3269152147da16007b421c219d5822c420edd0854adf7b0b562c7535689e1bf2a5ec6b53477428504073dae103765f5b38447bbbcb2b117a260
@@ -1257,8 +1257,8 @@ module Google
1257
1257
 
1258
1258
  config_attr :endpoint, nil, ::String, nil
1259
1259
  config_attr :credentials, nil do |value|
1260
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1261
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1260
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1261
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1262
1262
  allowed.any? { |klass| klass === value }
1263
1263
  end
1264
1264
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -277,10 +277,10 @@ module Google
277
277
  # @param order_by [::String]
278
278
  # Sort results. Supported values are "name", "name desc" or "" (unsorted).
279
279
  # @yield [result, operation] Access the result along with the TransportOperation object
280
- # @yieldparam result [::Google::Cloud::Memcache::V1beta2::ListInstancesResponse]
280
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memcache::V1beta2::Instance>]
281
281
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
282
282
  #
283
- # @return [::Google::Cloud::Memcache::V1beta2::ListInstancesResponse]
283
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memcache::V1beta2::Instance>]
284
284
  #
285
285
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
286
286
  #
@@ -332,7 +332,9 @@ module Google
332
332
  retry_policy: @config.retry_policy
333
333
 
334
334
  @cloud_memcache_stub.list_instances request, options do |result, operation|
335
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_memcache_stub, :list_instances, "resources", request, result, options
335
336
  yield result, operation if block_given?
337
+ throw :response, result
336
338
  end
337
339
  rescue ::Gapic::Rest::Error => e
338
340
  raise ::Google::Cloud::Error.from_error(e)
@@ -1177,7 +1179,7 @@ module Google
1177
1179
 
1178
1180
  config_attr :endpoint, nil, ::String, nil
1179
1181
  config_attr :credentials, nil do |value|
1180
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1182
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1181
1183
  allowed.any? { |klass| klass === value }
1182
1184
  end
1183
1185
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Memcache
23
23
  module V1beta2
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-memcache-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.6.2
128
+ rubygems_version: 3.6.8
129
129
  specification_version: 4
130
130
  summary: Google Cloud Memorystore for Memcached API is used for creating and managing
131
131
  Memcached instances in GCP.