google-cloud-service_control-v1 0.4.6 → 0.6.0
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/AUTHENTICATION.md +1 -1
- data/README.md +13 -8
- data/lib/google/api/servicecontrol/v1/check_error_pb.rb +2 -1
- data/lib/google/api/servicecontrol/v1/distribution_pb.rb +2 -1
- data/lib/google/api/servicecontrol/v1/http_request_pb.rb +2 -1
- data/lib/google/api/servicecontrol/v1/log_entry_pb.rb +2 -1
- data/lib/google/api/servicecontrol/v1/metric_value_pb.rb +2 -1
- data/lib/google/api/servicecontrol/v1/operation_pb.rb +2 -1
- data/lib/google/api/servicecontrol/v1/quota_controller_pb.rb +2 -1
- data/lib/google/api/servicecontrol/v1/service_controller_pb.rb +2 -2
- data/lib/google/cloud/service_control/v1/quota_controller/rest/client.rb +364 -0
- data/lib/google/cloud/service_control/v1/quota_controller/rest/service_stub.rb +108 -0
- data/lib/google/cloud/service_control/v1/quota_controller/rest.rb +54 -0
- data/lib/google/cloud/service_control/v1/quota_controller.rb +7 -1
- data/lib/google/cloud/service_control/v1/rest.rb +38 -0
- data/lib/google/cloud/service_control/v1/service_controller/rest/client.rb +487 -0
- data/lib/google/cloud/service_control/v1/service_controller/rest/service_stub.rb +168 -0
- data/lib/google/cloud/service_control/v1/service_controller/rest.rb +54 -0
- data/lib/google/cloud/service_control/v1/service_controller.rb +7 -1
- data/lib/google/cloud/service_control/v1/version.rb +1 -1
- data/lib/google/cloud/service_control/v1.rb +8 -1
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +23 -13
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
@@ -46,8 +46,8 @@ module Google
|
|
46
46
|
|
47
47
|
# `Value` represents a dynamically typed value which can be either
|
48
48
|
# null, a number, a string, a boolean, a recursive struct value, or a
|
49
|
-
# list of values. A producer of value is expected to set one of
|
50
|
-
# variants
|
49
|
+
# list of values. A producer of value is expected to set one of these
|
50
|
+
# variants. Absence of any variant indicates an error.
|
51
51
|
#
|
52
52
|
# The JSON representation for `Value` is JSON value.
|
53
53
|
# @!attribute [rw] null_value
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_control-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,28 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
67
|
+
version: '5.16'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
74
|
+
version: '5.16'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest-focus
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '13.0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '13.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: redcarpet
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,12 +185,21 @@ files:
|
|
185
185
|
- lib/google/cloud/service_control/v1/quota_controller.rb
|
186
186
|
- lib/google/cloud/service_control/v1/quota_controller/client.rb
|
187
187
|
- lib/google/cloud/service_control/v1/quota_controller/credentials.rb
|
188
|
+
- lib/google/cloud/service_control/v1/quota_controller/rest.rb
|
189
|
+
- lib/google/cloud/service_control/v1/quota_controller/rest/client.rb
|
190
|
+
- lib/google/cloud/service_control/v1/quota_controller/rest/service_stub.rb
|
191
|
+
- lib/google/cloud/service_control/v1/rest.rb
|
188
192
|
- lib/google/cloud/service_control/v1/service_controller.rb
|
189
193
|
- lib/google/cloud/service_control/v1/service_controller/client.rb
|
190
194
|
- lib/google/cloud/service_control/v1/service_controller/credentials.rb
|
195
|
+
- lib/google/cloud/service_control/v1/service_controller/rest.rb
|
196
|
+
- lib/google/cloud/service_control/v1/service_controller/rest/client.rb
|
197
|
+
- lib/google/cloud/service_control/v1/service_controller/rest/service_stub.rb
|
191
198
|
- lib/google/cloud/service_control/v1/version.rb
|
192
199
|
- proto_docs/README.md
|
200
|
+
- proto_docs/google/api/client.rb
|
193
201
|
- proto_docs/google/api/distribution.rb
|
202
|
+
- proto_docs/google/api/launch_stage.rb
|
194
203
|
- proto_docs/google/api/resource.rb
|
195
204
|
- proto_docs/google/api/servicecontrol/v1/check_error.rb
|
196
205
|
- proto_docs/google/api/servicecontrol/v1/distribution.rb
|
@@ -218,15 +227,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
218
227
|
requirements:
|
219
228
|
- - ">="
|
220
229
|
- !ruby/object:Gem::Version
|
221
|
-
version: '2.
|
230
|
+
version: '2.6'
|
222
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
232
|
requirements:
|
224
233
|
- - ">="
|
225
234
|
- !ruby/object:Gem::Version
|
226
235
|
version: '0'
|
227
236
|
requirements: []
|
228
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.4.2
|
229
238
|
signing_key:
|
230
239
|
specification_version: 4
|
231
|
-
summary:
|
240
|
+
summary: Provides admission control and telemetry reporting for services integrated
|
241
|
+
with Service Infrastructure.
|
232
242
|
test_files: []
|