google-cloud-storage-control-v2 1.1.0 → 1.2.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: 80b4732e2c5fc89ee1a28acf18401d527d56a5292deddb172372ff0a5b326e93
4
- data.tar.gz: 1e96717d3d3c6fb98ba8c7890633e1e123439eab70f45d092044f220717fd64a
3
+ metadata.gz: cd6857a3635ed2567927dec727395a1fd5142325f6204796fbdcb54f5f52be8e
4
+ data.tar.gz: 64fe2c3f7bb273ccf521836b89759c7881aac10d84506ac4b7a0c2dc3f1bac52
5
5
  SHA512:
6
- metadata.gz: 2d5659a88ae1fbc01f2df0b40e7ade80a91d30645e7f9034c29178701d5d9e55943fe8ac094aa4a64b1ad5daa9b221d520348f293bf686bd6fdce3a9514e15f4
7
- data.tar.gz: 12f6641d8a6b681171eb3e31a010a92842cd0a43fed4d4bdc22172e782be265340dc3b40e05ef1b7049b6c8a5501a66ff6207b396f050b1fd73afd82f72bfc0c
6
+ metadata.gz: dd861c71c7ffd5f1ef44fa9cb798f1a8d2e19cb5d98bcb1022cb6e1d1801cb6796ec5f3a0cd2a676fe87a5dfd778763f4f7c54272bd3a4cf928ccf4756151e17
7
+ data.tar.gz: 96cfd4a638f8a626d5cc34e15d0e76a2d4ae7b2b9f9b96183d9b15a2827c6696b25d259baea1a79eecf5d6778ba12475800bca39db4042a58d7dc7cbb908fca2
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
@@ -1305,6 +1305,13 @@ module Google
1305
1305
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1306
1306
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1307
1307
  # * (`nil`) indicating no credentials
1308
+ #
1309
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1310
+ # external source for authentication to Google Cloud, you must validate it before
1311
+ # providing it to a Google API client library. Providing an unvalidated credential
1312
+ # configuration to Google APIs can compromise the security of your systems and data.
1313
+ # For more information, refer to [Validate credential configurations from external
1314
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1308
1315
  # @return [::Object]
1309
1316
  # @!attribute [rw] scope
1310
1317
  # The OAuth scopes
@@ -1359,8 +1366,8 @@ module Google
1359
1366
 
1360
1367
  config_attr :endpoint, nil, ::String, nil
1361
1368
  config_attr :credentials, nil do |value|
1362
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1363
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1369
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1370
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1364
1371
  allowed.any? { |klass| klass === value }
1365
1372
  end
1366
1373
  config_attr :scope, nil, ::String, ::Array, nil
@@ -641,6 +641,13 @@ module Google
641
641
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
642
642
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
643
  # * (`nil`) indicating no credentials
644
+ #
645
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
646
+ # external source for authentication to Google Cloud, you must validate it before
647
+ # providing it to a Google API client library. Providing an unvalidated credential
648
+ # configuration to Google APIs can compromise the security of your systems and data.
649
+ # For more information, refer to [Validate credential configurations from external
650
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
644
651
  # @return [::Object]
645
652
  # @!attribute [rw] scope
646
653
  # The OAuth scopes
@@ -695,8 +702,8 @@ module Google
695
702
 
696
703
  config_attr :endpoint, nil, ::String, nil
697
704
  config_attr :credentials, nil do |value|
698
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
699
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
705
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
706
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
700
707
  allowed.any? { |klass| klass === value }
701
708
  end
702
709
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Storage
23
23
  module Control
24
24
  module V2
25
- VERSION = "1.1.0"
25
+ VERSION = "1.2.1"
26
26
  end
27
27
  end
28
28
  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
@@ -52,7 +52,7 @@ module Google
52
52
  # The routing header consists of one or multiple key-value pairs. Every key
53
53
  # and value must be percent-encoded, and joined together in the format of
54
54
  # `key1=value1&key2=value2`.
55
- # In the examples below I am skipping the percent-encoding for readablity.
55
+ # The examples below skip the percent-encoding for readability.
56
56
  #
57
57
  # Example 1
58
58
  #
@@ -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-storage-control-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.1
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: 1980-01-02 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
@@ -90,7 +89,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
90
89
  licenses:
91
90
  - Apache-2.0
92
91
  metadata: {}
93
- post_install_message:
94
92
  rdoc_options: []
95
93
  require_paths:
96
94
  - lib
@@ -98,15 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
96
  requirements:
99
97
  - - ">="
100
98
  - !ruby/object:Gem::Version
101
- version: '2.7'
99
+ version: '3.0'
102
100
  required_rubygems_version: !ruby/object:Gem::Requirement
103
101
  requirements:
104
102
  - - ">="
105
103
  - !ruby/object:Gem::Version
106
104
  version: '0'
107
105
  requirements: []
108
- rubygems_version: 3.5.23
109
- signing_key:
106
+ rubygems_version: 3.6.8
110
107
  specification_version: 4
111
108
  summary: The Storage Control API lets you perform metadata-specific, control plane,
112
109
  and long-running operations. The Storage Control API creates one space to perform