google-cloud-service_usage-v1 1.1.0 → 1.2.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: 654c07ede43cdeca4c1006d4c79f37f1b6d8bf27aef98fedc9a04e54d81e08a0
4
- data.tar.gz: a2feec71c8f79f55db72bcc26a95edd4126cda002c543de1e865faa6892d34c5
3
+ metadata.gz: 400448523db10c12b4c947f569b3892e3a11df07b2aa5af0e791b9ba4f9789a1
4
+ data.tar.gz: cd8614c7ed9030ee9883b4613b760a094200f9e478524b6084693e84012e5cc3
5
5
  SHA512:
6
- metadata.gz: 905d772cc40d4cebec1dafb07379536c78cbc7bce106b9c2458ca397ca6c34d489ae09325c76f5c366ce1fa558c4e1d7758abd309a8a92461cb36871ec05194d
7
- data.tar.gz: 5784697ca1ce9c935329fc7e344a017a94908052a076fcd6f9da2835ac89413787fa0db61d12ca62a06ded0aed4b8e8bd09e142c8ae3fbcc033928dc1699172b
6
+ metadata.gz: ebf0ff518c7a311a2658029c4a05ef30f50d025a68b315c1a1b0150c5a0630eb55dbc32bcc4ee4fd9ad9191b646f46b86a3ad9e19faacb617b4fc11a93bb3e8e
7
+ data.tar.gz: eef2522ac3843f8a0b26d68984b60f760431ab5b5a7b135b8d9250d6ea4bc7b0598280068eca01e831a13809af76a90cce67d9c56616af7e9a7974e2d146e533
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
@@ -878,6 +878,13 @@ module Google
878
878
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
879
879
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
880
880
  # * (`nil`) indicating no credentials
881
+ #
882
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
883
+ # external source for authentication to Google Cloud, you must validate it before
884
+ # providing it to a Google API client library. Providing an unvalidated credential
885
+ # configuration to Google APIs can compromise the security of your systems and data.
886
+ # For more information, refer to [Validate credential configurations from external
887
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
881
888
  # @return [::Object]
882
889
  # @!attribute [rw] scope
883
890
  # The OAuth scopes
@@ -632,6 +632,13 @@ module Google
632
632
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
633
633
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
634
634
  # * (`nil`) indicating no credentials
635
+ #
636
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
637
+ # external source for authentication to Google Cloud, you must validate it before
638
+ # providing it to a Google API client library. Providing an unvalidated credential
639
+ # configuration to Google APIs can compromise the security of your systems and data.
640
+ # For more information, refer to [Validate credential configurations from external
641
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
635
642
  # @return [::Object]
636
643
  # @!attribute [rw] scope
637
644
  # The OAuth scopes
@@ -827,6 +827,13 @@ module Google
827
827
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
828
828
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
829
829
  # * (`nil`) indicating no credentials
830
+ #
831
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
832
+ # external source for authentication to Google Cloud, you must validate it before
833
+ # providing it to a Google API client library. Providing an unvalidated credential
834
+ # configuration to Google APIs can compromise the security of your systems and data.
835
+ # For more information, refer to [Validate credential configurations from external
836
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
830
837
  # @return [::Object]
831
838
  # @!attribute [rw] scope
832
839
  # 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 ServiceUsage
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -84,12 +84,18 @@ module Google
84
84
  # @!attribute [rw] header
85
85
  # @return [::String]
86
86
  # Specifies HTTP header name to extract JWT token.
87
+ #
88
+ # Note: The following fields are mutually exclusive: `header`, `query`, `cookie`. If a field in that set is populated, all other fields in the set will automatically be cleared.
87
89
  # @!attribute [rw] query
88
90
  # @return [::String]
89
91
  # Specifies URL query parameter name to extract JWT token.
92
+ #
93
+ # Note: The following fields are mutually exclusive: `query`, `header`, `cookie`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
94
  # @!attribute [rw] cookie
91
95
  # @return [::String]
92
96
  # Specifies cookie name to extract JWT token.
97
+ #
98
+ # Note: The following fields are mutually exclusive: `cookie`, `header`, `query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
93
99
  # @!attribute [rw] value_prefix
94
100
  # @return [::String]
95
101
  # The value prefix. The value format is "value_prefix\\{token}"
@@ -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
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_usage-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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
@@ -101,7 +100,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
101
100
  licenses:
102
101
  - Apache-2.0
103
102
  metadata: {}
104
- post_install_message:
105
103
  rdoc_options: []
106
104
  require_paths:
107
105
  - lib
@@ -109,15 +107,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
111
109
  - !ruby/object:Gem::Version
112
- version: '2.7'
110
+ version: '3.0'
113
111
  required_rubygems_version: !ruby/object:Gem::Requirement
114
112
  requirements:
115
113
  - - ">="
116
114
  - !ruby/object:Gem::Version
117
115
  version: '0'
118
116
  requirements: []
119
- rubygems_version: 3.5.23
120
- signing_key:
117
+ rubygems_version: 3.6.2
121
118
  specification_version: 4
122
119
  summary: Enables services that service consumers want to use on Google Cloud Platform,
123
120
  lists the available or enabled services, or disables services that service consumers