google-cloud-service_control-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: 0b46279d3bec702f7ca7b8b9be6a150677f3ebf682ef546d6d07ed9bdf06ecb3
4
- data.tar.gz: ba4c91505b0301d4470febcd1443995f3233a0263ccd9b2d421fb5c44f5cd3b1
3
+ metadata.gz: 49ffa5cad60f88f4fd16bb7e96b0eab9169fbb1dd084d9eb87b9919370b5684f
4
+ data.tar.gz: 5a9abbc9e8a4974e41f930284fa8983be3df85af0626715b60284bf4855a8d20
5
5
  SHA512:
6
- metadata.gz: 277bc5319cbce13541f8ba2bad80fd8ef468ab26174e62786468e23a50f7b025c8744159012729151a56939f9e3970d7cb1171f220a8e198cdb1cdc6f099968e
7
- data.tar.gz: d86d451d364858cf61be071dd689a5a4698228f25b62a62fb10963bb78991342627e9327f156e70f27291039729ee897981b1524fa9d27a7676ce86d2b666dde
6
+ metadata.gz: 3f5247288f1cc5b361e4f49893216ec1bebeeae100867103a20d846fa3f4b64e904083b00899ff58b988e0795a0a3e76d84feb13375d8dbcbae41b02a04412cd
7
+ data.tar.gz: e1adddf9531faebac35262b9cf16da0a986aad6e2e3fa6fdd978fe838b6a4ed32a176205c44170ddf5f239a1b659bd5649053a9397dc21eb9efba803c39f9a81
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
@@ -332,6 +332,13 @@ module Google
332
332
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
333
333
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
334
334
  # * (`nil`) indicating no credentials
335
+ #
336
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
337
+ # external source for authentication to Google Cloud, you must validate it before
338
+ # providing it to a Google API client library. Providing an unvalidated credential
339
+ # configuration to Google APIs can compromise the security of your systems and data.
340
+ # For more information, refer to [Validate credential configurations from external
341
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
335
342
  # @return [::Object]
336
343
  # @!attribute [rw] scope
337
344
  # The OAuth scopes
@@ -316,6 +316,13 @@ module Google
316
316
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
317
317
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
318
318
  # * (`nil`) indicating no credentials
319
+ #
320
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
321
+ # external source for authentication to Google Cloud, you must validate it before
322
+ # providing it to a Google API client library. Providing an unvalidated credential
323
+ # configuration to Google APIs can compromise the security of your systems and data.
324
+ # For more information, refer to [Validate credential configurations from external
325
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
319
326
  # @return [::Object]
320
327
  # @!attribute [rw] scope
321
328
  # The OAuth scopes
@@ -471,6 +471,13 @@ module Google
471
471
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
472
472
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
473
473
  # * (`nil`) indicating no credentials
474
+ #
475
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
476
+ # external source for authentication to Google Cloud, you must validate it before
477
+ # providing it to a Google API client library. Providing an unvalidated credential
478
+ # configuration to Google APIs can compromise the security of your systems and data.
479
+ # For more information, refer to [Validate credential configurations from external
480
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
474
481
  # @return [::Object]
475
482
  # @!attribute [rw] scope
476
483
  # The OAuth scopes
@@ -448,6 +448,13 @@ module Google
448
448
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
449
449
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
450
450
  # * (`nil`) indicating no credentials
451
+ #
452
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
453
+ # external source for authentication to Google Cloud, you must validate it before
454
+ # providing it to a Google API client library. Providing an unvalidated credential
455
+ # configuration to Google APIs can compromise the security of your systems and data.
456
+ # For more information, refer to [Validate credential configurations from external
457
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
451
458
  # @return [::Object]
452
459
  # @!attribute [rw] scope
453
460
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceControl
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -115,12 +115,18 @@ module Google
115
115
  # @!attribute [rw] linear_buckets
116
116
  # @return [::Google::Api::Distribution::BucketOptions::Linear]
117
117
  # The linear bucket.
118
+ #
119
+ # Note: The following fields are mutually exclusive: `linear_buckets`, `exponential_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
118
120
  # @!attribute [rw] exponential_buckets
119
121
  # @return [::Google::Api::Distribution::BucketOptions::Exponential]
120
122
  # The exponential buckets.
123
+ #
124
+ # Note: The following fields are mutually exclusive: `exponential_buckets`, `linear_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
121
125
  # @!attribute [rw] explicit_buckets
122
126
  # @return [::Google::Api::Distribution::BucketOptions::Explicit]
123
127
  # The explicit buckets.
128
+ #
129
+ # Note: The following fields are mutually exclusive: `explicit_buckets`, `linear_buckets`, `exponential_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
124
130
  class BucketOptions
125
131
  include ::Google::Protobuf::MessageExts
126
132
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -64,12 +64,18 @@ module Google
64
64
  # @!attribute [rw] linear_buckets
65
65
  # @return [::Google::Cloud::ServiceControl::V1::Distribution::LinearBuckets]
66
66
  # Buckets with constant width.
67
+ #
68
+ # Note: The following fields are mutually exclusive: `linear_buckets`, `exponential_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
67
69
  # @!attribute [rw] exponential_buckets
68
70
  # @return [::Google::Cloud::ServiceControl::V1::Distribution::ExponentialBuckets]
69
71
  # Buckets with exponentially growing width.
72
+ #
73
+ # Note: The following fields are mutually exclusive: `exponential_buckets`, `linear_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
70
74
  # @!attribute [rw] explicit_buckets
71
75
  # @return [::Google::Cloud::ServiceControl::V1::Distribution::ExplicitBuckets]
72
76
  # Buckets with arbitrary user-provided width.
77
+ #
78
+ # Note: The following fields are mutually exclusive: `explicit_buckets`, `linear_buckets`, `exponential_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
73
79
  # @!attribute [rw] exemplars
74
80
  # @return [::Array<::Google::Api::Distribution::Exemplar>]
75
81
  # Example points. Must be in increasing order of `value` field.
@@ -57,13 +57,19 @@ module Google
57
57
  # The log entry payload, represented as a protocol buffer that is
58
58
  # expressed as a JSON object. The only accepted type currently is
59
59
  # [AuditLog][google.cloud.audit.AuditLog].
60
+ #
61
+ # Note: The following fields are mutually exclusive: `proto_payload`, `text_payload`, `struct_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
60
62
  # @!attribute [rw] text_payload
61
63
  # @return [::String]
62
64
  # The log entry payload, represented as a Unicode string (UTF-8).
65
+ #
66
+ # Note: The following fields are mutually exclusive: `text_payload`, `proto_payload`, `struct_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
63
67
  # @!attribute [rw] struct_payload
64
68
  # @return [::Google::Protobuf::Struct]
65
69
  # The log entry payload, represented as a structure that
66
70
  # is expressed as a JSON object.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `struct_payload`, `proto_payload`, `text_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
67
73
  # @!attribute [rw] operation
68
74
  # @return [::Google::Cloud::ServiceControl::V1::LogEntryOperation]
69
75
  # Optional. Information about an operation associated with the log entry, if
@@ -43,18 +43,28 @@ module Google
43
43
  # @!attribute [rw] bool_value
44
44
  # @return [::Boolean]
45
45
  # A boolean value.
46
+ #
47
+ # Note: The following fields are mutually exclusive: `bool_value`, `int64_value`, `double_value`, `string_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
48
  # @!attribute [rw] int64_value
47
49
  # @return [::Integer]
48
50
  # A signed 64-bit integer value.
51
+ #
52
+ # Note: The following fields are mutually exclusive: `int64_value`, `bool_value`, `double_value`, `string_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
53
  # @!attribute [rw] double_value
50
54
  # @return [::Float]
51
55
  # A double precision floating point value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `double_value`, `bool_value`, `int64_value`, `string_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
58
  # @!attribute [rw] string_value
53
59
  # @return [::String]
54
60
  # A text string value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `string_value`, `bool_value`, `int64_value`, `double_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
55
63
  # @!attribute [rw] distribution_value
56
64
  # @return [::Google::Cloud::ServiceControl::V1::Distribution]
57
65
  # A distribution value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `distribution_value`, `bool_value`, `int64_value`, `double_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
58
68
  class MetricValue
59
69
  include ::Google::Protobuf::MessageExts
60
70
  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_control-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
@@ -107,7 +106,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
107
106
  licenses:
108
107
  - Apache-2.0
109
108
  metadata: {}
110
- post_install_message:
111
109
  rdoc_options: []
112
110
  require_paths:
113
111
  - lib
@@ -115,15 +113,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
113
  requirements:
116
114
  - - ">="
117
115
  - !ruby/object:Gem::Version
118
- version: '2.7'
116
+ version: '3.0'
119
117
  required_rubygems_version: !ruby/object:Gem::Requirement
120
118
  requirements:
121
119
  - - ">="
122
120
  - !ruby/object:Gem::Version
123
121
  version: '0'
124
122
  requirements: []
125
- rubygems_version: 3.5.23
126
- signing_key:
123
+ rubygems_version: 3.6.2
127
124
  specification_version: 4
128
125
  summary: Provides admission control and telemetry reporting for services integrated
129
126
  with Service Infrastructure.