google-cloud-parallelstore-v1 0.2.1 → 1.0.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: e0befa2b32bc5836c34ce532c0408f0aa90e3c773d6d82dd8872da9e3a1b761b
4
- data.tar.gz: 61c74c1714297434a7d0f4dc2238d8a2d043ee04a5dc2bce7740de08f45ca019
3
+ metadata.gz: 7540e916aa6ae1cb889b09bdd8c1c70667cc045e5c13f6bb92131b97c01f2305
4
+ data.tar.gz: 63cb0a563612bcf2ac4c60a4faa402af09e419ef0076e807af54aeca5187270a
5
5
  SHA512:
6
- metadata.gz: 98ceab9a1864745520b926a31d22ed16b28ff380cce1605e18d0ddab65ea11dfca5f9ffdb3cd2b44340327a3d0c8128650b1626973b446deb4a4fd576d78c126
7
- data.tar.gz: c0bc373eca318d5aef12f4c2a950dd72675ca0f8b34293a142ab0ab0f0286f0ffd034a6a300492672b8c531dcbd40af977f87160a4bdfe0b45ad8359e56fa943
6
+ metadata.gz: 9cd2707776d2a638c2af6818acfdcb68571d2edcfe8e231b5bfc3d0fa601f2ea394e70b005cd14a8b3e02f7d7afea206f426b0e32b0673a3b22fb84a60e108c6
7
+ data.tar.gz: 52447ba6e1b23c41a5929bc8b64d9621f283500129fe6838d1ac9430a65a99e5c7156e153ef321077a66053e7a0e17d211b38c51054f8904046ee2982ccbfce4
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
@@ -1049,6 +1049,13 @@ module Google
1049
1049
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1050
1050
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1051
1051
  # * (`nil`) indicating no credentials
1052
+ #
1053
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1054
+ # external source for authentication to Google Cloud, you must validate it before
1055
+ # providing it to a Google API client library. Providing an unvalidated credential
1056
+ # configuration to Google APIs can compromise the security of your systems and data.
1057
+ # For more information, refer to [Validate credential configurations from external
1058
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1052
1059
  # @return [::Object]
1053
1060
  # @!attribute [rw] scope
1054
1061
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -255,10 +255,10 @@ module Google
255
255
  # @param order_by [::String]
256
256
  # Optional. Hint for how to order the results.
257
257
  # @yield [result, operation] Access the result along with the TransportOperation object
258
- # @yieldparam result [::Google::Cloud::Parallelstore::V1::ListInstancesResponse]
258
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Parallelstore::V1::Instance>]
259
259
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
260
260
  #
261
- # @return [::Google::Cloud::Parallelstore::V1::ListInstancesResponse]
261
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Parallelstore::V1::Instance>]
262
262
  #
263
263
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
264
264
  #
@@ -310,7 +310,9 @@ module Google
310
310
  retry_policy: @config.retry_policy
311
311
 
312
312
  @parallelstore_stub.list_instances request, options do |result, operation|
313
+ result = ::Gapic::Rest::PagedEnumerable.new @parallelstore_stub, :list_instances, "instances", request, result, options
313
314
  yield result, operation if block_given?
315
+ throw :response, result
314
316
  end
315
317
  rescue ::Gapic::Rest::Error => e
316
318
  raise ::Google::Cloud::Error.from_error(e)
@@ -990,6 +992,13 @@ module Google
990
992
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
991
993
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
992
994
  # * (`nil`) indicating no credentials
995
+ #
996
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
997
+ # external source for authentication to Google Cloud, you must validate it before
998
+ # providing it to a Google API client library. Providing an unvalidated credential
999
+ # configuration to Google APIs can compromise the security of your systems and data.
1000
+ # For more information, refer to [Validate credential configurations from external
1001
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
993
1002
  # @return [::Object]
994
1003
  # @!attribute [rw] scope
995
1004
  # 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 Parallelstore
23
23
  module V1
24
- VERSION = "0.2.1"
24
+ VERSION = "1.0.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
@@ -511,15 +511,23 @@ module Google
511
511
  # @!attribute [r] source_parallelstore
512
512
  # @return [::Google::Cloud::Parallelstore::V1::SourceParallelstore]
513
513
  # Output only. Parallelstore source.
514
+ #
515
+ # Note: The following fields are mutually exclusive: `source_parallelstore`, `source_gcs_bucket`. If a field in that set is populated, all other fields in the set will automatically be cleared.
514
516
  # @!attribute [r] source_gcs_bucket
515
517
  # @return [::Google::Cloud::Parallelstore::V1::SourceGcsBucket]
516
518
  # Output only. Cloud Storage source.
519
+ #
520
+ # Note: The following fields are mutually exclusive: `source_gcs_bucket`, `source_parallelstore`. If a field in that set is populated, all other fields in the set will automatically be cleared.
517
521
  # @!attribute [r] destination_gcs_bucket
518
522
  # @return [::Google::Cloud::Parallelstore::V1::DestinationGcsBucket]
519
523
  # Output only. Cloud Storage destination.
524
+ #
525
+ # Note: The following fields are mutually exclusive: `destination_gcs_bucket`, `destination_parallelstore`. If a field in that set is populated, all other fields in the set will automatically be cleared.
520
526
  # @!attribute [r] destination_parallelstore
521
527
  # @return [::Google::Cloud::Parallelstore::V1::DestinationParallelstore]
522
528
  # Output only. Parallelstore destination.
529
+ #
530
+ # Note: The following fields are mutually exclusive: `destination_parallelstore`, `destination_gcs_bucket`. If a field in that set is populated, all other fields in the set will automatically be cleared.
523
531
  # @!attribute [r] counters
524
532
  # @return [::Google::Cloud::Parallelstore::V1::TransferCounters]
525
533
  # Output only. The progress of the transfer operation.
@@ -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-parallelstore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-09 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
@@ -111,7 +110,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
111
110
  licenses:
112
111
  - Apache-2.0
113
112
  metadata: {}
114
- post_install_message:
115
113
  rdoc_options: []
116
114
  require_paths:
117
115
  - lib
@@ -119,15 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
117
  requirements:
120
118
  - - ">="
121
119
  - !ruby/object:Gem::Version
122
- version: '2.7'
120
+ version: '3.0'
123
121
  required_rubygems_version: !ruby/object:Gem::Requirement
124
122
  requirements:
125
123
  - - ">="
126
124
  - !ruby/object:Gem::Version
127
125
  version: '0'
128
126
  requirements: []
129
- rubygems_version: 3.5.23
130
- signing_key:
127
+ rubygems_version: 3.6.3
131
128
  specification_version: 4
132
129
  summary: API Client library for the Parallelstore V1 API
133
130
  test_files: []