google-cloud-service_usage-v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +3 -3
- data/lib/google/api/serviceusage/v1/resources_pb.rb +32 -28
- data/lib/google/api/serviceusage/v1/serviceusage_pb.rb +25 -52
- data/lib/google/cloud/service_usage/v1/service_usage/client.rb +18 -20
- data/lib/google/cloud/service_usage/v1/service_usage/operations.rb +14 -24
- data/lib/google/cloud/service_usage/v1/service_usage.rb +1 -1
- data/lib/google/cloud/service_usage/v1/version.rb +1 -1
- data/lib/google/cloud/service_usage/v1.rb +2 -2
- data/proto_docs/google/api/auth.rb +10 -5
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/documentation.rb +16 -10
- data/proto_docs/google/api/endpoint.rb +14 -9
- data/proto_docs/google/api/launch_stage.rb +3 -3
- data/proto_docs/google/api/monitored_resource.rb +30 -18
- data/proto_docs/google/api/monitoring.rb +4 -2
- data/proto_docs/google/api/quota.rb +8 -7
- data/proto_docs/google/api/usage.rb +2 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/api.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/type.rb +9 -0
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +11 -8
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -148,7 +148,7 @@ module Google
|
|
148
148
|
# The mixin construct implies that all methods in `AccessControl` are
|
149
149
|
# also declared with same name and request/response types in
|
150
150
|
# `Storage`. A documentation generator or annotation processor will
|
151
|
-
# see the effective `Storage.GetAcl` method after
|
151
|
+
# see the effective `Storage.GetAcl` method after inherting
|
152
152
|
# documentation and annotations as follows:
|
153
153
|
#
|
154
154
|
# service Storage {
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
88
|
# `Value` type union.
|
89
89
|
#
|
90
|
-
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
91
|
module NullValue
|
92
92
|
# Null value.
|
93
93
|
NULL_VALUE = 0
|
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# @!attribute [rw] syntax
|
39
39
|
# @return [::Google::Protobuf::Syntax]
|
40
40
|
# The source syntax.
|
41
|
+
# @!attribute [rw] edition
|
42
|
+
# @return [::String]
|
43
|
+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
41
44
|
class Type
|
42
45
|
include ::Google::Protobuf::MessageExts
|
43
46
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -172,6 +175,9 @@ module Google
|
|
172
175
|
# @!attribute [rw] syntax
|
173
176
|
# @return [::Google::Protobuf::Syntax]
|
174
177
|
# The source syntax.
|
178
|
+
# @!attribute [rw] edition
|
179
|
+
# @return [::String]
|
180
|
+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
175
181
|
class Enum
|
176
182
|
include ::Google::Protobuf::MessageExts
|
177
183
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -218,6 +224,9 @@ module Google
|
|
218
224
|
|
219
225
|
# Syntax `proto3`.
|
220
226
|
SYNTAX_PROTO3 = 1
|
227
|
+
|
228
|
+
# Syntax `editions`.
|
229
|
+
SYNTAX_EDITIONS = 2
|
221
230
|
end
|
222
231
|
end
|
223
232
|
end
|
@@ -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_usage-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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-05-31 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.19.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.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
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.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,6 +183,7 @@ files:
|
|
183
183
|
- lib/google/cloud/service_usage/v1/version.rb
|
184
184
|
- proto_docs/README.md
|
185
185
|
- proto_docs/google/api/auth.rb
|
186
|
+
- proto_docs/google/api/client.rb
|
186
187
|
- proto_docs/google/api/documentation.rb
|
187
188
|
- proto_docs/google/api/endpoint.rb
|
188
189
|
- proto_docs/google/api/label.rb
|
@@ -222,8 +223,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
223
|
- !ruby/object:Gem::Version
|
223
224
|
version: '0'
|
224
225
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
226
|
+
rubygems_version: 3.4.2
|
226
227
|
signing_key:
|
227
228
|
specification_version: 4
|
228
|
-
summary:
|
229
|
+
summary: Enables services that service consumers want to use on Google Cloud Platform,
|
230
|
+
lists the available or enabled services, or disables services that service consumers
|
231
|
+
no longer use.
|
229
232
|
test_files: []
|