google-cloud-api_keys-v2 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71c622db5c127ad420355d07b6875488064a5a89c4e8114ce7fcb4a37217324e
4
- data.tar.gz: 518494faf3ef302d1865a75d15b020bbc275c14320b420690f92874bc5977394
3
+ metadata.gz: 73da7baf859185850e80a9070866607c77ea41399e7318e9cf6b2267ec81ab1c
4
+ data.tar.gz: 6005a880f723466a1b078e76c07d0b33e09c87147d97d11c31d2d8b97944ccd6
5
5
  SHA512:
6
- metadata.gz: 87629db0312a88b70bf48402a9c15b126c9a4ebb13e7d4c923b8c362fe380eba9187ad267e73444e11bbfa60ae67f45fc7a480d7adf703c5158b7824e1e3d348
7
- data.tar.gz: 8689ee2199cfedf39f8e72a5d597a412a3aea804613ec3786e53f7d53a81c467ed1fc8c28ec352d542056e6c70a2e8100b5822d8684a82bae7703e8542fcbbe4
6
+ metadata.gz: 4b9c2a4f19f303e54809b889b22b858518209332910e705a8324afd5fd532370a643f4a028aa6f6be23ffa937dd6f7ebe1f4ce35c92add42ab86f264db9f53f0
7
+ data.tar.gz: 02c388dc24ce4de3ebe475dd8d5627ab0c06b03b1529a5effe1a96a5aaa97d982db10f476269b2beddfa1a908455f3345161e29ec63e963f3193895a4a39c361
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
@@ -1020,6 +1020,13 @@ module Google
1020
1020
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1021
1021
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1022
1022
  # * (`nil`) indicating no credentials
1023
+ #
1024
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1025
+ # external source for authentication to Google Cloud, you must validate it before
1026
+ # providing it to a Google API client library. Providing an unvalidated credential
1027
+ # configuration to Google APIs can compromise the security of your systems and data.
1028
+ # For more information, refer to [Validate credential configurations from external
1029
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1023
1030
  # @return [::Object]
1024
1031
  # @!attribute [rw] scope
1025
1032
  # 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
@@ -963,6 +963,13 @@ module Google
963
963
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
964
964
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
965
965
  # * (`nil`) indicating no credentials
966
+ #
967
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
968
+ # external source for authentication to Google Cloud, you must validate it before
969
+ # providing it to a Google API client library. Providing an unvalidated credential
970
+ # configuration to Google APIs can compromise the security of your systems and data.
971
+ # For more information, refer to [Validate credential configurations from external
972
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
966
973
  # @return [::Object]
967
974
  # @!attribute [rw] scope
968
975
  # 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 ApiKeys
23
23
  module V2
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -87,15 +87,23 @@ module Google
87
87
  # @!attribute [rw] browser_key_restrictions
88
88
  # @return [::Google::Cloud::ApiKeys::V2::BrowserKeyRestrictions]
89
89
  # The HTTP referrers (websites) that are allowed to use the key.
90
+ #
91
+ # Note: The following fields are mutually exclusive: `browser_key_restrictions`, `server_key_restrictions`, `android_key_restrictions`, `ios_key_restrictions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
92
  # @!attribute [rw] server_key_restrictions
91
93
  # @return [::Google::Cloud::ApiKeys::V2::ServerKeyRestrictions]
92
94
  # The IP addresses of callers that are allowed to use the key.
95
+ #
96
+ # Note: The following fields are mutually exclusive: `server_key_restrictions`, `browser_key_restrictions`, `android_key_restrictions`, `ios_key_restrictions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
93
97
  # @!attribute [rw] android_key_restrictions
94
98
  # @return [::Google::Cloud::ApiKeys::V2::AndroidKeyRestrictions]
95
99
  # The Android apps that are allowed to use the key.
100
+ #
101
+ # Note: The following fields are mutually exclusive: `android_key_restrictions`, `browser_key_restrictions`, `server_key_restrictions`, `ios_key_restrictions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
96
102
  # @!attribute [rw] ios_key_restrictions
97
103
  # @return [::Google::Cloud::ApiKeys::V2::IosKeyRestrictions]
98
104
  # The iOS apps that are allowed to use the key.
105
+ #
106
+ # Note: The following fields are mutually exclusive: `ios_key_restrictions`, `browser_key_restrictions`, `server_key_restrictions`, `android_key_restrictions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
99
107
  # @!attribute [rw] api_targets
100
108
  # @return [::Array<::Google::Cloud::ApiKeys::V2::ApiTarget>]
101
109
  # A restriction for a specific service and optionally one or
@@ -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-api_keys-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-01-29 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
@@ -92,7 +91,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
92
91
  licenses:
93
92
  - Apache-2.0
94
93
  metadata: {}
95
- post_install_message:
96
94
  rdoc_options: []
97
95
  require_paths:
98
96
  - lib
@@ -100,15 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
98
  requirements:
101
99
  - - ">="
102
100
  - !ruby/object:Gem::Version
103
- version: '2.7'
101
+ version: '3.0'
104
102
  required_rubygems_version: !ruby/object:Gem::Requirement
105
103
  requirements:
106
104
  - - ">="
107
105
  - !ruby/object:Gem::Version
108
106
  version: '0'
109
107
  requirements: []
110
- rubygems_version: 3.5.23
111
- signing_key:
108
+ rubygems_version: 3.6.2
112
109
  specification_version: 4
113
110
  summary: Manages the API keys associated with developer projects.
114
111
  test_files: []