google-cloud-memorystore-v1beta 0.2.0 → 0.4.0

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: 07f6809b9167dd7f7ef4c2e2571c12cfe60a19afda9902727e1093b05162d8a7
4
- data.tar.gz: 8c78eacb0ad0c09c1512c73c9c626cf84db2b21cb060c06435367f90d9e984b5
3
+ metadata.gz: b022525fd8835bc6f9b29aa198ca26d5766ef61b4c5c62853edf3b7bd0e62945
4
+ data.tar.gz: cbcae2e2419a75fcd880fcbf61791f7be1157b45d52bd020195e7bcfc40acb16
5
5
  SHA512:
6
- metadata.gz: efcbdd3983895ef08c117310bcc26f9dcb7bd5fe9311c52f18c89557d5e974298b0c764f0d061ce8a36599905414426469fb955321a4e2aeb2851425544ab9d3
7
- data.tar.gz: f15f559e4ec959e7d08124120d0eacdcc3c30b52e4cd417aff25a7a88967b61d21aeb2a13fce1363da27098bd4740fb4d48d6f8d9ecccdf623f17d82d096b9ca
6
+ metadata.gz: 8adaf8c44f394b18c8f53cbad70902bb8020c37eca8d4d3a14c451afd22159437e38c699fde8c956466d434306c21885aaf5a69cd7a174780afc3ef72eecccd7
7
+ data.tar.gz: 2783c4fb4fa10e543a650f57e767be0adfd74328a078143352debf010ba229f605af72379c50491cab4b48bd7a854509b15b752bef46b7bf3a59f5aef230befd
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -260,10 +260,10 @@ module Google
260
260
  # Optional. Sort results by a defined order. Supported values: "name",
261
261
  # "create_time".
262
262
  # @yield [result, operation] Access the result along with the TransportOperation object
263
- # @yieldparam result [::Google::Cloud::Memorystore::V1beta::ListInstancesResponse]
263
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memorystore::V1beta::Instance>]
264
264
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
265
265
  #
266
- # @return [::Google::Cloud::Memorystore::V1beta::ListInstancesResponse]
266
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memorystore::V1beta::Instance>]
267
267
  #
268
268
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
269
269
  #
@@ -315,7 +315,9 @@ module Google
315
315
  retry_policy: @config.retry_policy
316
316
 
317
317
  @memorystore_stub.list_instances request, options do |result, operation|
318
+ result = ::Gapic::Rest::PagedEnumerable.new @memorystore_stub, :list_instances, "instances", request, result, options
318
319
  yield result, operation if block_given?
320
+ throw :response, result
319
321
  end
320
322
  rescue ::Gapic::Rest::Error => e
321
323
  raise ::Google::Cloud::Error.from_error(e)
@@ -843,6 +845,13 @@ module Google
843
845
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
844
846
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
845
847
  # * (`nil`) indicating no credentials
848
+ #
849
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
850
+ # external source for authentication to Google Cloud, you must validate it before
851
+ # providing it to a Google API client library. Providing an unvalidated credential
852
+ # configuration to Google APIs can compromise the security of your systems and data.
853
+ # For more information, refer to [Validate credential configurations from external
854
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
846
855
  # @return [::Object]
847
856
  # @!attribute [rw] scope
848
857
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Memorystore
23
23
  module V1beta
24
- VERSION = "0.2.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -135,9 +135,13 @@ module Google
135
135
  # @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
136
136
  # Detailed information of a PSC connection that is created through
137
137
  # service connectivity automation.
138
+ #
139
+ # Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
138
140
  # @!attribute [rw] psc_connection
139
141
  # @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
140
142
  # Detailed information of a PSC connection that is created by the user.
143
+ #
144
+ # Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
141
145
  class ConnectionDetail
142
146
  include ::Google::Protobuf::MessageExts
143
147
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-memorystore-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -109,7 +108,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
109
108
  licenses:
110
109
  - Apache-2.0
111
110
  metadata: {}
112
- post_install_message:
113
111
  rdoc_options: []
114
112
  require_paths:
115
113
  - lib
@@ -117,15 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
115
  requirements:
118
116
  - - ">="
119
117
  - !ruby/object:Gem::Version
120
- version: '2.7'
118
+ version: '3.0'
121
119
  required_rubygems_version: !ruby/object:Gem::Requirement
122
120
  requirements:
123
121
  - - ">="
124
122
  - !ruby/object:Gem::Version
125
123
  version: '0'
126
124
  requirements: []
127
- rubygems_version: 3.5.23
128
- signing_key:
125
+ rubygems_version: 3.6.3
129
126
  specification_version: 4
130
127
  summary: API Client library for the Memorystore V1BETA API
131
128
  test_files: []