google-cloud-service_control-v1 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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/service_control/v1/quota_controller/client.rb +9 -2
- data/lib/google/cloud/service_control/v1/quota_controller/rest/client.rb +8 -1
- data/lib/google/cloud/service_control/v1/service_controller/client.rb +9 -2
- data/lib/google/cloud/service_control/v1/service_controller/rest/client.rb +8 -1
- data/lib/google/cloud/service_control/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/api/distribution.rb +6 -0
- data/proto_docs/google/api/servicecontrol/v1/distribution.rb +6 -0
- data/proto_docs/google/api/servicecontrol/v1/log_entry.rb +6 -0
- data/proto_docs/google/api/servicecontrol/v1/metric_value.rb +10 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 915a644b21aae5b41e014da3d41cbd67b596626d76d5ae1a847694adf542de83
|
4
|
+
data.tar.gz: 2e97fc1e07df4207b2bc8cc5a8769b0d856913f56fde03835a4fc3c2baa6b99f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf57f274cb73ec477969a5b92ec90249bda7704feea5cd16885e5d8189955d8b1203ba31cf5a3b13876cb6a1344faead09fd13a6fdc8adba2037346a52bb3438
|
7
|
+
data.tar.gz: bb8c48c001048107ae6ad39370e93cbcb2d1569c1e00461d04d4af2f8842c967b34d076094f259a9dcf2dfc371927df035cafa9154c0475766fb32c0f17e65f7
|
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
|
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
|
@@ -386,8 +393,8 @@ module Google
|
|
386
393
|
|
387
394
|
config_attr :endpoint, nil, ::String, nil
|
388
395
|
config_attr :credentials, nil do |value|
|
389
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
390
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
396
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
397
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
391
398
|
allowed.any? { |klass| klass === value }
|
392
399
|
end
|
393
400
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -363,7 +370,7 @@ module Google
|
|
363
370
|
|
364
371
|
config_attr :endpoint, nil, ::String, nil
|
365
372
|
config_attr :credentials, nil do |value|
|
366
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
373
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
367
374
|
allowed.any? { |klass| klass === value }
|
368
375
|
end
|
369
376
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -525,8 +532,8 @@ module Google
|
|
525
532
|
|
526
533
|
config_attr :endpoint, nil, ::String, nil
|
527
534
|
config_attr :credentials, nil do |value|
|
528
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
529
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
535
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
536
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
530
537
|
allowed.any? { |klass| klass === value }
|
531
538
|
end
|
532
539
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -495,7 +502,7 @@ module Google
|
|
495
502
|
|
496
503
|
config_attr :endpoint, nil, ::String, nil
|
497
504
|
config_attr :credentials, nil do |value|
|
498
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
505
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
499
506
|
allowed.any? { |klass| klass === value }
|
500
507
|
end
|
501
508
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -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
|
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:
|
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.
|
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.
|
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: '
|
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.
|
126
|
-
signing_key:
|
123
|
+
rubygems_version: 3.6.8
|
127
124
|
specification_version: 4
|
128
125
|
summary: Provides admission control and telemetry reporting for services integrated
|
129
126
|
with Service Infrastructure.
|