google-cloud-memcache-v1 1.2.0 → 2.0.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: 7c939a3a599dd67868ad884a9df28fb2354f30581bc3db252ecf39302fc2c352
4
- data.tar.gz: c782106c206e39bcc5ae7f599acf24b195a9a3203e72bfe1eb8f766f9c114d8b
3
+ metadata.gz: eaa4b99d0b46c2aabfdaa4557cbd61273e028fc9b655ccfaf177f77a28f795db
4
+ data.tar.gz: 71ae10cb2c5029eb98c0aa7481b9b568ebf0a534c151398a6327f47ceb96fee2
5
5
  SHA512:
6
- metadata.gz: 17829d7210070b17dde61e79fa680ba805a31bf73624f9b6cfd272104a26f9cc2311e6b07e69eb30d0fe3388deca7320b64c9b2067cbe08526bd93b03dcba8cc
7
- data.tar.gz: c4b7b312d16a7f0eb0810329157b72ccd3b23c95dbb29ba8d8a80cd4e385ed820975fd8491389ac81f63e0da4c22caae732fe8e123bde0a74c571d61581a605f
6
+ metadata.gz: 9f151a2f13e92a4f74434baa934d69b328e7bbaeb9ce9d05bab816198a2d4f0d484d859fee5d21e571aa8f74e1e9e64f320c47d5447eedc8c2c597ccdba8a0ef
7
+ data.tar.gz: 6101dc3135a257e05e0bfd24516603b05c128b2205f4b3c9697df227eedcceb600ae41f45b44c37941a5a929649c458d92387b0ff482b09b81a7eba5105f0dbb
@@ -1153,8 +1153,8 @@ module Google
1153
1153
 
1154
1154
  config_attr :endpoint, nil, ::String, nil
1155
1155
  config_attr :credentials, nil do |value|
1156
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1157
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1156
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1157
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1158
1158
  allowed.any? { |klass| klass === value }
1159
1159
  end
1160
1160
  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
@@ -275,10 +275,10 @@ module Google
275
275
  # @param order_by [::String]
276
276
  # Sort results. Supported values are "name", "name desc" or "" (unsorted).
277
277
  # @yield [result, operation] Access the result along with the TransportOperation object
278
- # @yieldparam result [::Google::Cloud::Memcache::V1::ListInstancesResponse]
278
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memcache::V1::Instance>]
279
279
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
280
280
  #
281
- # @return [::Google::Cloud::Memcache::V1::ListInstancesResponse]
281
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memcache::V1::Instance>]
282
282
  #
283
283
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
284
284
  #
@@ -330,7 +330,9 @@ module Google
330
330
  retry_policy: @config.retry_policy
331
331
 
332
332
  @cloud_memcache_stub.list_instances request, options do |result, operation|
333
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_memcache_stub, :list_instances, "instances", request, result, options
333
334
  yield result, operation if block_given?
335
+ throw :response, result
334
336
  end
335
337
  rescue ::Gapic::Rest::Error => e
336
338
  raise ::Google::Cloud::Error.from_error(e)
@@ -1080,7 +1082,7 @@ module Google
1080
1082
 
1081
1083
  config_attr :endpoint, nil, ::String, nil
1082
1084
  config_attr :credentials, nil do |value|
1083
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1085
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1084
1086
  allowed.any? { |klass| klass === value }
1085
1087
  end
1086
1088
  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 V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.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.