google-cloud-service_management-v1 0.3.10 → 0.5.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 +12 -7
- data/lib/google/api/servicemanagement/v1/resources_pb.rb +2 -1
- data/lib/google/api/servicemanagement/v1/servicemanager_pb.rb +2 -1
- data/lib/google/cloud/service_management/v1/rest.rb +37 -0
- data/lib/google/cloud/service_management/v1/service_manager/client.rb +32 -38
- data/lib/google/cloud/service_management/v1/service_manager/operations.rb +15 -22
- data/lib/google/cloud/service_management/v1/service_manager/rest/client.rb +1347 -0
- data/lib/google/cloud/service_management/v1/service_manager/rest/operations.rb +791 -0
- data/lib/google/cloud/service_management/v1/service_manager/rest/service_stub.rb +823 -0
- data/lib/google/cloud/service_management/v1/service_manager/rest.rb +53 -0
- data/lib/google/cloud/service_management/v1/service_manager.rb +7 -1
- data/lib/google/cloud/service_management/v1/version.rb +1 -1
- data/lib/google/cloud/service_management/v1.rb +7 -2
- data/proto_docs/google/api/auth.rb +8 -4
- data/proto_docs/google/api/backend.rb +1 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/control.rb +9 -5
- 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 +9 -2
- data/proto_docs/google/api/quota.rb +6 -6
- data/proto_docs/google/api/service.rb +31 -14
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/protobuf/struct.rb +2 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +20 -13
@@ -41,10 +41,10 @@ module Google
|
|
41
41
|
# STANDARD: 10000
|
42
42
|
#
|
43
43
|
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
44
|
+
# (The metric rules bind all methods to the read_calls metric,
|
45
|
+
# except for the UpdateBook and DeleteBook methods. These two methods
|
46
|
+
# are mapped to the write_calls metric, with the UpdateBook method
|
47
|
+
# consuming at twice rate as the DeleteBook method.)
|
48
48
|
# metric_rules:
|
49
49
|
# - selector: "*"
|
50
50
|
# metric_costs:
|
@@ -70,10 +70,10 @@ module Google
|
|
70
70
|
# value_type: INT64
|
71
71
|
# @!attribute [rw] limits
|
72
72
|
# @return [::Array<::Google::Api::QuotaLimit>]
|
73
|
-
# List of
|
73
|
+
# List of QuotaLimit definitions for the service.
|
74
74
|
# @!attribute [rw] metric_rules
|
75
75
|
# @return [::Array<::Google::Api::MetricRule>]
|
76
|
-
# List of
|
76
|
+
# List of MetricRule definitions, each one mapping a selected method to one
|
77
77
|
# or more metrics.
|
78
78
|
class Quota
|
79
79
|
include ::Google::Protobuf::MessageExts
|
@@ -19,11 +19,12 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Api
|
22
|
-
# `Service` is the root object of Google service configuration
|
23
|
-
# describes basic information about a service,
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# specific aspect, such as auth.
|
22
|
+
# `Service` is the root object of Google API service configuration (service
|
23
|
+
# config). It describes the basic information about a logical service,
|
24
|
+
# such as the service name and the user-facing title, and delegates other
|
25
|
+
# aspects to sub-sections. Each sub-section is either a proto message or a
|
26
|
+
# repeated proto message that configures a specific aspect, such as auth.
|
27
|
+
# For more information, see each proto message definition.
|
27
28
|
#
|
28
29
|
# Example:
|
29
30
|
#
|
@@ -32,6 +33,16 @@ module Google
|
|
32
33
|
# title: Google Calendar API
|
33
34
|
# apis:
|
34
35
|
# - name: google.calendar.v3.Calendar
|
36
|
+
#
|
37
|
+
# visibility:
|
38
|
+
# rules:
|
39
|
+
# - selector: "google.calendar.v3.*"
|
40
|
+
# restriction: PREVIEW
|
41
|
+
# backend:
|
42
|
+
# rules:
|
43
|
+
# - selector: "google.calendar.v3.*"
|
44
|
+
# address: calendar.example.com
|
45
|
+
#
|
35
46
|
# authentication:
|
36
47
|
# providers:
|
37
48
|
# - id: google_calendar_auth
|
@@ -49,7 +60,8 @@ module Google
|
|
49
60
|
# of the service also owns the DNS name.
|
50
61
|
# @!attribute [rw] title
|
51
62
|
# @return [::String]
|
52
|
-
# The product title for this service
|
63
|
+
# The product title for this service, it is the name displayed in Google
|
64
|
+
# Cloud Console.
|
53
65
|
# @!attribute [rw] producer_project_id
|
54
66
|
# @return [::String]
|
55
67
|
# The Google project that owns this service.
|
@@ -69,19 +81,19 @@ module Google
|
|
69
81
|
# @!attribute [rw] types
|
70
82
|
# @return [::Array<::Google::Protobuf::Type>]
|
71
83
|
# A list of all proto message types included in this API service.
|
72
|
-
# Types referenced directly or indirectly by the `apis` are
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
84
|
+
# Types referenced directly or indirectly by the `apis` are automatically
|
85
|
+
# included. Messages which are not referenced but shall be included, such as
|
86
|
+
# types used by the `google.protobuf.Any` type, should be listed here by
|
87
|
+
# name by the configuration author. Example:
|
76
88
|
#
|
77
89
|
# types:
|
78
90
|
# - name: google.protobuf.Int32
|
79
91
|
# @!attribute [rw] enums
|
80
92
|
# @return [::Array<::Google::Protobuf::Enum>]
|
81
|
-
# A list of all enum types included in this API service. Enums
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
93
|
+
# A list of all enum types included in this API service. Enums referenced
|
94
|
+
# directly or indirectly by the `apis` are automatically included. Enums
|
95
|
+
# which are not referenced but shall be included should be listed here by
|
96
|
+
# name by the configuration author. Example:
|
85
97
|
#
|
86
98
|
# enums:
|
87
99
|
# - name: google.someapi.v1.SomeEnum
|
@@ -139,6 +151,11 @@ module Google
|
|
139
151
|
# @!attribute [rw] source_info
|
140
152
|
# @return [::Google::Api::SourceInfo]
|
141
153
|
# Output only. The source information for this configuration if available.
|
154
|
+
# @!attribute [rw] publishing
|
155
|
+
# @return [::Google::Api::Publishing]
|
156
|
+
# Settings for [Google Cloud Client
|
157
|
+
# libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
|
158
|
+
# generated from APIs defined as protocol buffers.
|
142
159
|
# @!attribute [rw] config_version
|
143
160
|
# @return [::Google::Protobuf::UInt32Value]
|
144
161
|
# Obsolete. Do not use.
|
@@ -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:
|
@@ -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
|
@@ -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_management-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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
|
@@ -175,15 +175,21 @@ files:
|
|
175
175
|
- lib/google/api/servicemanagement/v1/servicemanager_pb.rb
|
176
176
|
- lib/google/api/servicemanagement/v1/servicemanager_services_pb.rb
|
177
177
|
- lib/google/cloud/service_management/v1.rb
|
178
|
+
- lib/google/cloud/service_management/v1/rest.rb
|
178
179
|
- lib/google/cloud/service_management/v1/service_manager.rb
|
179
180
|
- lib/google/cloud/service_management/v1/service_manager/client.rb
|
180
181
|
- lib/google/cloud/service_management/v1/service_manager/credentials.rb
|
181
182
|
- lib/google/cloud/service_management/v1/service_manager/operations.rb
|
183
|
+
- lib/google/cloud/service_management/v1/service_manager/rest.rb
|
184
|
+
- lib/google/cloud/service_management/v1/service_manager/rest/client.rb
|
185
|
+
- lib/google/cloud/service_management/v1/service_manager/rest/operations.rb
|
186
|
+
- lib/google/cloud/service_management/v1/service_manager/rest/service_stub.rb
|
182
187
|
- lib/google/cloud/service_management/v1/version.rb
|
183
188
|
- proto_docs/README.md
|
184
189
|
- proto_docs/google/api/auth.rb
|
185
190
|
- proto_docs/google/api/backend.rb
|
186
191
|
- proto_docs/google/api/billing.rb
|
192
|
+
- proto_docs/google/api/client.rb
|
187
193
|
- proto_docs/google/api/config_change.rb
|
188
194
|
- proto_docs/google/api/context.rb
|
189
195
|
- proto_docs/google/api/control.rb
|
@@ -228,15 +234,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
228
234
|
requirements:
|
229
235
|
- - ">="
|
230
236
|
- !ruby/object:Gem::Version
|
231
|
-
version: '2.
|
237
|
+
version: '2.6'
|
232
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
239
|
requirements:
|
234
240
|
- - ">="
|
235
241
|
- !ruby/object:Gem::Version
|
236
242
|
version: '0'
|
237
243
|
requirements: []
|
238
|
-
rubygems_version: 3.
|
244
|
+
rubygems_version: 3.4.2
|
239
245
|
signing_key:
|
240
246
|
specification_version: 4
|
241
|
-
summary:
|
247
|
+
summary: Google Service Management allows service producers to publish their services
|
248
|
+
on Google Cloud Platform so that they can be discovered and used by service consumers.
|
242
249
|
test_files: []
|