google-cloud-filestore-v1 1.1.0 → 2.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/client.rb +7 -0
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/operations.rb +7 -0
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/client.rb +15 -4
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/operations.rb +7 -0
- data/lib/google/cloud/filestore/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52290d54210a2307f1d3da18df9320f255cff4e43a072bdbbfd623cdbc89f31d
|
4
|
+
data.tar.gz: f634086b66511e79e8606a88a0f9fb177fbf32048322cb1ab18fbc4a81f0e389
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4074a3058169406df7f60f316cf5e920838381dd6ca825676c86e6c75cc705cb522e932c573d3cec793cc9c8dc1ecc1f24b07e72b7731495a29f5c7909aa102
|
7
|
+
data.tar.gz: 5c5709ae1855027b0a085dd5708a8ef667ee015fdbe52bd63dcd02d468384705bdae73d1f220318827b2484fd56b519b25c7158d9af264772ddb660d0cc0645d
|
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
|
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
|
@@ -1984,6 +1984,13 @@ module Google
|
|
1984
1984
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1985
1985
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1986
1986
|
# * (`nil`) indicating no credentials
|
1987
|
+
#
|
1988
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1989
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1990
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1991
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1992
|
+
# For more information, refer to [Validate credential configurations from external
|
1993
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1987
1994
|
# @return [::Object]
|
1988
1995
|
# @!attribute [rw] scope
|
1989
1996
|
# 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
|
@@ -295,10 +295,10 @@ module Google
|
|
295
295
|
# @param filter [::String]
|
296
296
|
# List filter.
|
297
297
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
298
|
-
# @yieldparam result [::Google::Cloud::Filestore::V1::
|
298
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Filestore::V1::Instance>]
|
299
299
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
300
300
|
#
|
301
|
-
# @return [::Google::Cloud::Filestore::V1::
|
301
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Filestore::V1::Instance>]
|
302
302
|
#
|
303
303
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
304
304
|
#
|
@@ -350,7 +350,9 @@ module Google
|
|
350
350
|
retry_policy: @config.retry_policy
|
351
351
|
|
352
352
|
@cloud_filestore_manager_stub.list_instances request, options do |result, operation|
|
353
|
+
result = ::Gapic::Rest::PagedEnumerable.new @cloud_filestore_manager_stub, :list_instances, "instances", request, result, options
|
353
354
|
yield result, operation if block_given?
|
355
|
+
throw :response, result
|
354
356
|
end
|
355
357
|
rescue ::Gapic::Rest::Error => e
|
356
358
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1394,10 +1396,10 @@ module Google
|
|
1394
1396
|
# @param filter [::String]
|
1395
1397
|
# List filter.
|
1396
1398
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1397
|
-
# @yieldparam result [::Google::Cloud::Filestore::V1::
|
1399
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Filestore::V1::Backup>]
|
1398
1400
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1399
1401
|
#
|
1400
|
-
# @return [::Google::Cloud::Filestore::V1::
|
1402
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Filestore::V1::Backup>]
|
1401
1403
|
#
|
1402
1404
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1403
1405
|
#
|
@@ -1449,7 +1451,9 @@ module Google
|
|
1449
1451
|
retry_policy: @config.retry_policy
|
1450
1452
|
|
1451
1453
|
@cloud_filestore_manager_stub.list_backups request, options do |result, operation|
|
1454
|
+
result = ::Gapic::Rest::PagedEnumerable.new @cloud_filestore_manager_stub, :list_backups, "backups", request, result, options
|
1452
1455
|
yield result, operation if block_given?
|
1456
|
+
throw :response, result
|
1453
1457
|
end
|
1454
1458
|
rescue ::Gapic::Rest::Error => e
|
1455
1459
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1853,6 +1857,13 @@ module Google
|
|
1853
1857
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1854
1858
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1855
1859
|
# * (`nil`) indicating no credentials
|
1860
|
+
#
|
1861
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1862
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1863
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1864
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1865
|
+
# For more information, refer to [Validate credential configurations from external
|
1866
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1856
1867
|
# @return [::Object]
|
1857
1868
|
# @!attribute [rw] scope
|
1858
1869
|
# 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
|
@@ -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
|
@@ -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-filestore-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.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:
|
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.
|
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.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -128,7 +127,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
128
127
|
licenses:
|
129
128
|
- Apache-2.0
|
130
129
|
metadata: {}
|
131
|
-
post_install_message:
|
132
130
|
rdoc_options: []
|
133
131
|
require_paths:
|
134
132
|
- lib
|
@@ -136,15 +134,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
134
|
requirements:
|
137
135
|
- - ">="
|
138
136
|
- !ruby/object:Gem::Version
|
139
|
-
version: '
|
137
|
+
version: '3.0'
|
140
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
139
|
requirements:
|
142
140
|
- - ">="
|
143
141
|
- !ruby/object:Gem::Version
|
144
142
|
version: '0'
|
145
143
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
147
|
-
signing_key:
|
144
|
+
rubygems_version: 3.6.3
|
148
145
|
specification_version: 4
|
149
146
|
summary: The Cloud Filestore API is used for creating and managing cloud file servers.
|
150
147
|
test_files: []
|