google-cloud-support-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: 957cf4fee031d313a141a5ec666e35919f92bada7a47f76f9cbd41ca97179a3d
4
- data.tar.gz: df8deb9d2490b90945b50ae4a00e7c1f8a65e10549ae59686f01cbcd14d60b69
3
+ metadata.gz: 7081f2c900e274630a69000db75523b38992fe719092f3cee82f3ba7a3c919dc
4
+ data.tar.gz: fcb0d5e96623f6edf00205ed57c62c98b12c4d6226dfee614f1848dbbd0f205d
5
5
  SHA512:
6
- metadata.gz: ba0cba4f053d1b312007bb178933c78287d763bc1f240bf5a92ef6f1f18c96cc3fe8e440f5f0e9472e7e4cacdfe5c2a1f5f3cc5d5fdbbd16ac599c916b6c0e2f
7
- data.tar.gz: 7b99ec4b4f899727c6a441b5d47e14a83ffe14c57879f23012ac4f2e7ce8fd94f2ba595e604b99bfd5ce3373e86f2f4f39e6e9934365cabdbbe3055c28941375
6
+ metadata.gz: 6f0cc47ce3d4ada3996ab722ee8293c4aff740042ce61d87724b892942c976a0ddecef5de7098a5f8c65a4e3879ea1744a6ff7eca69903c04c889203f062ab96
7
+ data.tar.gz: 6a59af4e42c0a67b6bc75e50289355bdcfc59ae6ba661a77f3bb779af3e71370ba742a131e43a089513a3becc7e9957b951dbe28c9d3efb7324dd116aaeb43ae
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
@@ -331,6 +331,13 @@ module Google
331
331
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
332
332
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
333
333
  # * (`nil`) indicating no credentials
334
+ #
335
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
336
+ # external source for authentication to Google Cloud, you must validate it before
337
+ # providing it to a Google API client library. Providing an unvalidated credential
338
+ # configuration to Google APIs can compromise the security of your systems and data.
339
+ # For more information, refer to [Validate credential configurations from external
340
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
334
341
  # @return [::Object]
335
342
  # @!attribute [rw] scope
336
343
  # The OAuth scopes
@@ -385,8 +392,8 @@ module Google
385
392
 
386
393
  config_attr :endpoint, nil, ::String, nil
387
394
  config_attr :credentials, nil do |value|
388
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
389
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
395
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
396
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
390
397
  allowed.any? { |klass| klass === value }
391
398
  end
392
399
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1048,6 +1048,13 @@ module Google
1048
1048
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1049
1049
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1050
1050
  # * (`nil`) indicating no credentials
1051
+ #
1052
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1053
+ # external source for authentication to Google Cloud, you must validate it before
1054
+ # providing it to a Google API client library. Providing an unvalidated credential
1055
+ # configuration to Google APIs can compromise the security of your systems and data.
1056
+ # For more information, refer to [Validate credential configurations from external
1057
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1051
1058
  # @return [::Object]
1052
1059
  # @!attribute [rw] scope
1053
1060
  # The OAuth scopes
@@ -1102,8 +1109,8 @@ module Google
1102
1109
 
1103
1110
  config_attr :endpoint, nil, ::String, nil
1104
1111
  config_attr :credentials, nil do |value|
1105
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1106
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1112
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1113
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1107
1114
  allowed.any? { |klass| klass === value }
1108
1115
  end
1109
1116
  config_attr :scope, nil, ::String, ::Array, nil
@@ -419,6 +419,13 @@ module Google
419
419
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
420
420
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
421
421
  # * (`nil`) indicating no credentials
422
+ #
423
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
424
+ # external source for authentication to Google Cloud, you must validate it before
425
+ # providing it to a Google API client library. Providing an unvalidated credential
426
+ # configuration to Google APIs can compromise the security of your systems and data.
427
+ # For more information, refer to [Validate credential configurations from external
428
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
422
429
  # @return [::Object]
423
430
  # @!attribute [rw] scope
424
431
  # The OAuth scopes
@@ -473,8 +480,8 @@ module Google
473
480
 
474
481
  config_attr :endpoint, nil, ::String, nil
475
482
  config_attr :credentials, nil do |value|
476
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
477
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
483
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
484
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
478
485
  allowed.any? { |klass| klass === value }
479
486
  end
480
487
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Support
23
23
  module V2
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.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,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-support-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
@@ -103,7 +102,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
103
102
  licenses:
104
103
  - Apache-2.0
105
104
  metadata: {}
106
- post_install_message:
107
105
  rdoc_options: []
108
106
  require_paths:
109
107
  - lib
@@ -111,15 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
109
  requirements:
112
110
  - - ">="
113
111
  - !ruby/object:Gem::Version
114
- version: '2.7'
112
+ version: '3.0'
115
113
  required_rubygems_version: !ruby/object:Gem::Requirement
116
114
  requirements:
117
115
  - - ">="
118
116
  - !ruby/object:Gem::Version
119
117
  version: '0'
120
118
  requirements: []
121
- rubygems_version: 3.5.23
122
- signing_key:
119
+ rubygems_version: 3.6.8
123
120
  specification_version: 4
124
121
  summary: Manages Google Cloud technical support cases for Customer Care support offerings.
125
122
  test_files: []