google-cloud-service_management-v1 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/api/servicemanagement/v1/servicemanager_services_pb.rb +10 -5
- data/lib/google/cloud/service_management/v1/service_manager/client.rb +41 -27
- data/lib/google/cloud/service_management/v1/service_manager.rb +2 -1
- data/lib/google/cloud/service_management/v1/version.rb +1 -1
- data/proto_docs/google/api/servicemanagement/v1/resources.rb +5 -3
- data/proto_docs/google/api/servicemanagement/v1/servicemanager.rb +31 -22
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec1222d9da72a94e95e79259fb66d969809d0df642ee30d0d818c7efa6fe1a22
|
4
|
+
data.tar.gz: d5675736c700851350a5c1dd50c2f61e275fb5f9dd2393f777995e85ac4f9be1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9f25db1c9c234205b1d0d2b728736b80978fd441dea5efd502b64a7aeb8b274469ea46a9a17f64a450222ea72b30e145ca4816308a091e8cddbda0dcb126be6
|
7
|
+
data.tar.gz: 49ef15b4c801f448342a0cf0d96e962a41d1ae5614dc356d0037224331c400891c943fedaf9cae609a202f356fdc2b8e65f05f77d1302a26d4e1aa15de6a6246
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
module ServiceManagement
|
25
25
|
module V1
|
26
26
|
module ServiceManager
|
27
|
-
# [Google Service Management
|
27
|
+
# [Google Service Management
|
28
|
+
# API](https://cloud.google.com/service-infrastructure/docs/overview)
|
28
29
|
class Service
|
29
30
|
|
30
31
|
include ::GRPC::GenericService
|
@@ -56,8 +57,10 @@ module Google
|
|
56
57
|
rpc :CreateService, ::Google::Cloud::ServiceManagement::V1::CreateServiceRequest, ::Google::Longrunning::Operation
|
57
58
|
# Deletes a managed service. This method will change the service to the
|
58
59
|
# `Soft-Delete` state for 30 days. Within this period, service producers may
|
59
|
-
# call
|
60
|
-
#
|
60
|
+
# call
|
61
|
+
# [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]
|
62
|
+
# to restore the service. After 30 days, the service will be permanently
|
63
|
+
# deleted.
|
61
64
|
#
|
62
65
|
# Operation<response: google.protobuf.Empty>
|
63
66
|
rpc :DeleteService, ::Google::Cloud::ServiceManagement::V1::DeleteServiceRequest, ::Google::Longrunning::Operation
|
@@ -88,7 +91,8 @@ module Google
|
|
88
91
|
# Specification). This method stores the source configurations as well as the
|
89
92
|
# generated service configuration. To rollout the service configuration to
|
90
93
|
# other services,
|
91
|
-
# please call
|
94
|
+
# please call
|
95
|
+
# [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
|
92
96
|
#
|
93
97
|
# Only the 100 most recent configuration sources and ones referenced by
|
94
98
|
# existing service configurtions are kept for each service. The rest will be
|
@@ -99,7 +103,8 @@ module Google
|
|
99
103
|
# Lists the history of the service configuration rollouts for a managed
|
100
104
|
# service, from the newest to the oldest.
|
101
105
|
rpc :ListServiceRollouts, ::Google::Cloud::ServiceManagement::V1::ListServiceRolloutsRequest, ::Google::Cloud::ServiceManagement::V1::ListServiceRolloutsResponse
|
102
|
-
# Gets a service configuration
|
106
|
+
# Gets a service configuration
|
107
|
+
# [rollout][google.api.servicemanagement.v1.Rollout].
|
103
108
|
rpc :GetServiceRollout, ::Google::Cloud::ServiceManagement::V1::GetServiceRolloutRequest, ::Google::Cloud::ServiceManagement::V1::Rollout
|
104
109
|
# Creates a new service configuration rollout. Based on rollout, the
|
105
110
|
# Google Service Management will roll out the service configurations to
|
@@ -27,7 +27,8 @@ module Google
|
|
27
27
|
##
|
28
28
|
# Client for the ServiceManager service.
|
29
29
|
#
|
30
|
-
# [Google Service Management
|
30
|
+
# [Google Service Management
|
31
|
+
# API](https://cloud.google.com/service-infrastructure/docs/overview)
|
31
32
|
#
|
32
33
|
class Client
|
33
34
|
# @private
|
@@ -277,8 +278,8 @@ module Google
|
|
277
278
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
278
279
|
#
|
279
280
|
# @param service_name [::String]
|
280
|
-
# Required. The name of the service. See the `ServiceManager` overview for
|
281
|
-
# requirements. For example: `example.googleapis.com`.
|
281
|
+
# Required. The name of the service. See the `ServiceManager` overview for
|
282
|
+
# naming requirements. For example: `example.googleapis.com`.
|
282
283
|
#
|
283
284
|
# @yield [response, operation] Access the result along with the RPC operation
|
284
285
|
# @yieldparam response [::Google::Cloud::ServiceManagement::V1::ManagedService]
|
@@ -442,8 +443,10 @@ module Google
|
|
442
443
|
##
|
443
444
|
# Deletes a managed service. This method will change the service to the
|
444
445
|
# `Soft-Delete` state for 30 days. Within this period, service producers may
|
445
|
-
# call
|
446
|
-
#
|
446
|
+
# call
|
447
|
+
# {::Google::Cloud::ServiceManagement::V1::ServiceManager::Client#undelete_service UndeleteService}
|
448
|
+
# to restore the service. After 30 days, the service will be permanently
|
449
|
+
# deleted.
|
447
450
|
#
|
448
451
|
# Operation<response: google.protobuf.Empty>
|
449
452
|
#
|
@@ -463,8 +466,9 @@ module Google
|
|
463
466
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
464
467
|
#
|
465
468
|
# @param service_name [::String]
|
466
|
-
# Required. The name of the service. See the
|
467
|
-
# for naming requirements. For
|
469
|
+
# Required. The name of the service. See the
|
470
|
+
# [overview](/service-management/overview) for naming requirements. For
|
471
|
+
# example: `example.googleapis.com`.
|
468
472
|
#
|
469
473
|
# @yield [response, operation] Access the result along with the RPC operation
|
470
474
|
# @yieldparam response [::Gapic::Operation]
|
@@ -562,8 +566,9 @@ module Google
|
|
562
566
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
563
567
|
#
|
564
568
|
# @param service_name [::String]
|
565
|
-
# Required. The name of the service. See the
|
566
|
-
# for naming requirements. For
|
569
|
+
# Required. The name of the service. See the
|
570
|
+
# [overview](/service-management/overview) for naming requirements. For
|
571
|
+
# example: `example.googleapis.com`.
|
567
572
|
#
|
568
573
|
# @yield [response, operation] Access the result along with the RPC operation
|
569
574
|
# @yieldparam response [::Gapic::Operation]
|
@@ -657,8 +662,9 @@ module Google
|
|
657
662
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
658
663
|
#
|
659
664
|
# @param service_name [::String]
|
660
|
-
# Required. The name of the service. See the
|
661
|
-
# for naming requirements. For
|
665
|
+
# Required. The name of the service. See the
|
666
|
+
# [overview](/service-management/overview) for naming requirements. For
|
667
|
+
# example: `example.googleapis.com`.
|
662
668
|
# @param page_token [::String]
|
663
669
|
# The token of the page to retrieve.
|
664
670
|
# @param page_size [::Integer]
|
@@ -755,8 +761,9 @@ module Google
|
|
755
761
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
756
762
|
#
|
757
763
|
# @param service_name [::String]
|
758
|
-
# Required. The name of the service. See the
|
759
|
-
# for naming requirements. For
|
764
|
+
# Required. The name of the service. See the
|
765
|
+
# [overview](/service-management/overview) for naming requirements. For
|
766
|
+
# example: `example.googleapis.com`.
|
760
767
|
# @param config_id [::String]
|
761
768
|
# Required. The id of the service configuration resource.
|
762
769
|
#
|
@@ -859,8 +866,9 @@ module Google
|
|
859
866
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
860
867
|
#
|
861
868
|
# @param service_name [::String]
|
862
|
-
# Required. The name of the service. See the
|
863
|
-
# for naming requirements. For
|
869
|
+
# Required. The name of the service. See the
|
870
|
+
# [overview](/service-management/overview) for naming requirements. For
|
871
|
+
# example: `example.googleapis.com`.
|
864
872
|
# @param service_config [::Google::Api::Service, ::Hash]
|
865
873
|
# Required. The service configuration resource.
|
866
874
|
#
|
@@ -935,7 +943,8 @@ module Google
|
|
935
943
|
# Specification). This method stores the source configurations as well as the
|
936
944
|
# generated service configuration. To rollout the service configuration to
|
937
945
|
# other services,
|
938
|
-
# please call
|
946
|
+
# please call
|
947
|
+
# {::Google::Cloud::ServiceManagement::V1::ServiceManager::Client#create_service_rollout CreateServiceRollout}.
|
939
948
|
#
|
940
949
|
# Only the 100 most recent configuration sources and ones referenced by
|
941
950
|
# existing service configurtions are kept for each service. The rest will be
|
@@ -959,8 +968,9 @@ module Google
|
|
959
968
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
960
969
|
#
|
961
970
|
# @param service_name [::String]
|
962
|
-
# Required. The name of the service. See the
|
963
|
-
# for naming requirements. For
|
971
|
+
# Required. The name of the service. See the
|
972
|
+
# [overview](/service-management/overview) for naming requirements. For
|
973
|
+
# example: `example.googleapis.com`.
|
964
974
|
# @param config_source [::Google::Cloud::ServiceManagement::V1::ConfigSource, ::Hash]
|
965
975
|
# Required. The source configuration for the service.
|
966
976
|
# @param validate_only [::Boolean]
|
@@ -1060,8 +1070,9 @@ module Google
|
|
1060
1070
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1061
1071
|
#
|
1062
1072
|
# @param service_name [::String]
|
1063
|
-
# Required. The name of the service. See the
|
1064
|
-
# for naming requirements. For
|
1073
|
+
# Required. The name of the service. See the
|
1074
|
+
# [overview](/service-management/overview) for naming requirements. For
|
1075
|
+
# example: `example.googleapis.com`.
|
1065
1076
|
# @param page_token [::String]
|
1066
1077
|
# The token of the page to retrieve.
|
1067
1078
|
# @param page_size [::Integer]
|
@@ -1071,10 +1082,10 @@ module Google
|
|
1071
1082
|
# Required. Use `filter` to return subset of rollouts.
|
1072
1083
|
# The following filters are supported:
|
1073
1084
|
# -- To limit the results to only those in
|
1074
|
-
#
|
1085
|
+
# status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
|
1075
1086
|
# use filter='status=SUCCESS'
|
1076
1087
|
# -- To limit the results to those in
|
1077
|
-
#
|
1088
|
+
# status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
|
1078
1089
|
# or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
1079
1090
|
#
|
1080
1091
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -1149,7 +1160,8 @@ module Google
|
|
1149
1160
|
end
|
1150
1161
|
|
1151
1162
|
##
|
1152
|
-
# Gets a service configuration
|
1163
|
+
# Gets a service configuration
|
1164
|
+
# {::Google::Cloud::ServiceManagement::V1::Rollout rollout}.
|
1153
1165
|
#
|
1154
1166
|
# @overload get_service_rollout(request, options = nil)
|
1155
1167
|
# Pass arguments to `get_service_rollout` via a request object, either of type
|
@@ -1167,8 +1179,9 @@ module Google
|
|
1167
1179
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1168
1180
|
#
|
1169
1181
|
# @param service_name [::String]
|
1170
|
-
# Required. The name of the service. See the
|
1171
|
-
# for naming requirements. For
|
1182
|
+
# Required. The name of the service. See the
|
1183
|
+
# [overview](/service-management/overview) for naming requirements. For
|
1184
|
+
# example: `example.googleapis.com`.
|
1172
1185
|
# @param rollout_id [::String]
|
1173
1186
|
# Required. The id of the rollout resource.
|
1174
1187
|
#
|
@@ -1271,8 +1284,9 @@ module Google
|
|
1271
1284
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1272
1285
|
#
|
1273
1286
|
# @param service_name [::String]
|
1274
|
-
# Required. The name of the service. See the
|
1275
|
-
# for naming requirements. For
|
1287
|
+
# Required. The name of the service. See the
|
1288
|
+
# [overview](/service-management/overview) for naming requirements. For
|
1289
|
+
# example: `example.googleapis.com`.
|
1276
1290
|
# @param rollout [::Google::Cloud::ServiceManagement::V1::Rollout, ::Hash]
|
1277
1291
|
# Required. The rollout resource. The `service_name` field is output only.
|
1278
1292
|
#
|
@@ -31,7 +31,8 @@ module Google
|
|
31
31
|
module ServiceManagement
|
32
32
|
module V1
|
33
33
|
##
|
34
|
-
# [Google Service Management
|
34
|
+
# [Google Service Management
|
35
|
+
# API](https://cloud.google.com/service-infrastructure/docs/overview)
|
35
36
|
#
|
36
37
|
# To load this service and instantiate a client:
|
37
38
|
#
|
@@ -25,7 +25,8 @@ module Google
|
|
25
25
|
# Google Service Management.
|
26
26
|
# @!attribute [rw] service_name
|
27
27
|
# @return [::String]
|
28
|
-
# The name of the service. See the
|
28
|
+
# The name of the service. See the
|
29
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview)
|
29
30
|
# for naming requirements.
|
30
31
|
# @!attribute [rw] producer_project_id
|
31
32
|
# @return [::String]
|
@@ -204,8 +205,9 @@ module Google
|
|
204
205
|
# service config, and then create a Rollout to push the service config.
|
205
206
|
# @!attribute [rw] rollout_id
|
206
207
|
# @return [::String]
|
207
|
-
# Optional. Unique identifier of this Rollout. Must be no longer than 63
|
208
|
-
# and only lower case letters, digits, '.', '_' and '-' are
|
208
|
+
# Optional. Unique identifier of this Rollout. Must be no longer than 63
|
209
|
+
# characters and only lower case letters, digits, '.', '_' and '-' are
|
210
|
+
# allowed.
|
209
211
|
#
|
210
212
|
# If not specified by client, the server will generate one. The generated id
|
211
213
|
# will have the form of <date><revision number>, where "date" is the create
|
@@ -60,8 +60,8 @@ module Google
|
|
60
60
|
# Request message for `GetService` method.
|
61
61
|
# @!attribute [rw] service_name
|
62
62
|
# @return [::String]
|
63
|
-
# Required. The name of the service. See the `ServiceManager` overview for
|
64
|
-
# requirements. For example: `example.googleapis.com`.
|
63
|
+
# Required. The name of the service. See the `ServiceManager` overview for
|
64
|
+
# naming requirements. For example: `example.googleapis.com`.
|
65
65
|
class GetServiceRequest
|
66
66
|
include ::Google::Protobuf::MessageExts
|
67
67
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -79,8 +79,9 @@ module Google
|
|
79
79
|
# Request message for DeleteService method.
|
80
80
|
# @!attribute [rw] service_name
|
81
81
|
# @return [::String]
|
82
|
-
# Required. The name of the service. See the
|
83
|
-
# for naming requirements. For
|
82
|
+
# Required. The name of the service. See the
|
83
|
+
# [overview](/service-management/overview) for naming requirements. For
|
84
|
+
# example: `example.googleapis.com`.
|
84
85
|
class DeleteServiceRequest
|
85
86
|
include ::Google::Protobuf::MessageExts
|
86
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -89,8 +90,9 @@ module Google
|
|
89
90
|
# Request message for UndeleteService method.
|
90
91
|
# @!attribute [rw] service_name
|
91
92
|
# @return [::String]
|
92
|
-
# Required. The name of the service. See the
|
93
|
-
# for naming requirements. For
|
93
|
+
# Required. The name of the service. See the
|
94
|
+
# [overview](/service-management/overview) for naming requirements. For
|
95
|
+
# example: `example.googleapis.com`.
|
94
96
|
class UndeleteServiceRequest
|
95
97
|
include ::Google::Protobuf::MessageExts
|
96
98
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,8 +110,9 @@ module Google
|
|
108
110
|
# Request message for GetServiceConfig method.
|
109
111
|
# @!attribute [rw] service_name
|
110
112
|
# @return [::String]
|
111
|
-
# Required. The name of the service. See the
|
112
|
-
# for naming requirements. For
|
113
|
+
# Required. The name of the service. See the
|
114
|
+
# [overview](/service-management/overview) for naming requirements. For
|
115
|
+
# example: `example.googleapis.com`.
|
113
116
|
# @!attribute [rw] config_id
|
114
117
|
# @return [::String]
|
115
118
|
# Required. The id of the service configuration resource.
|
@@ -139,8 +142,9 @@ module Google
|
|
139
142
|
# Request message for ListServiceConfigs method.
|
140
143
|
# @!attribute [rw] service_name
|
141
144
|
# @return [::String]
|
142
|
-
# Required. The name of the service. See the
|
143
|
-
# for naming requirements. For
|
145
|
+
# Required. The name of the service. See the
|
146
|
+
# [overview](/service-management/overview) for naming requirements. For
|
147
|
+
# example: `example.googleapis.com`.
|
144
148
|
# @!attribute [rw] page_token
|
145
149
|
# @return [::String]
|
146
150
|
# The token of the page to retrieve.
|
@@ -168,8 +172,9 @@ module Google
|
|
168
172
|
# Request message for CreateServiceConfig method.
|
169
173
|
# @!attribute [rw] service_name
|
170
174
|
# @return [::String]
|
171
|
-
# Required. The name of the service. See the
|
172
|
-
# for naming requirements. For
|
175
|
+
# Required. The name of the service. See the
|
176
|
+
# [overview](/service-management/overview) for naming requirements. For
|
177
|
+
# example: `example.googleapis.com`.
|
173
178
|
# @!attribute [rw] service_config
|
174
179
|
# @return [::Google::Api::Service]
|
175
180
|
# Required. The service configuration resource.
|
@@ -181,8 +186,9 @@ module Google
|
|
181
186
|
# Request message for SubmitConfigSource method.
|
182
187
|
# @!attribute [rw] service_name
|
183
188
|
# @return [::String]
|
184
|
-
# Required. The name of the service. See the
|
185
|
-
# for naming requirements. For
|
189
|
+
# Required. The name of the service. See the
|
190
|
+
# [overview](/service-management/overview) for naming requirements. For
|
191
|
+
# example: `example.googleapis.com`.
|
186
192
|
# @!attribute [rw] config_source
|
187
193
|
# @return [::Google::Cloud::ServiceManagement::V1::ConfigSource]
|
188
194
|
# Required. The source configuration for the service.
|
@@ -208,8 +214,9 @@ module Google
|
|
208
214
|
# Request message for 'CreateServiceRollout'
|
209
215
|
# @!attribute [rw] service_name
|
210
216
|
# @return [::String]
|
211
|
-
# Required. The name of the service. See the
|
212
|
-
# for naming requirements. For
|
217
|
+
# Required. The name of the service. See the
|
218
|
+
# [overview](/service-management/overview) for naming requirements. For
|
219
|
+
# example: `example.googleapis.com`.
|
213
220
|
# @!attribute [rw] rollout
|
214
221
|
# @return [::Google::Cloud::ServiceManagement::V1::Rollout]
|
215
222
|
# Required. The rollout resource. The `service_name` field is output only.
|
@@ -221,8 +228,9 @@ module Google
|
|
221
228
|
# Request message for 'ListServiceRollouts'
|
222
229
|
# @!attribute [rw] service_name
|
223
230
|
# @return [::String]
|
224
|
-
# Required. The name of the service. See the
|
225
|
-
# for naming requirements. For
|
231
|
+
# Required. The name of the service. See the
|
232
|
+
# [overview](/service-management/overview) for naming requirements. For
|
233
|
+
# example: `example.googleapis.com`.
|
226
234
|
# @!attribute [rw] page_token
|
227
235
|
# @return [::String]
|
228
236
|
# The token of the page to retrieve.
|
@@ -235,10 +243,10 @@ module Google
|
|
235
243
|
# Required. Use `filter` to return subset of rollouts.
|
236
244
|
# The following filters are supported:
|
237
245
|
# -- To limit the results to only those in
|
238
|
-
#
|
246
|
+
# status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
|
239
247
|
# use filter='status=SUCCESS'
|
240
248
|
# -- To limit the results to those in
|
241
|
-
#
|
249
|
+
# status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
|
242
250
|
# or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
243
251
|
class ListServiceRolloutsRequest
|
244
252
|
include ::Google::Protobuf::MessageExts
|
@@ -260,8 +268,9 @@ module Google
|
|
260
268
|
# Request message for GetServiceRollout method.
|
261
269
|
# @!attribute [rw] service_name
|
262
270
|
# @return [::String]
|
263
|
-
# Required. The name of the service. See the
|
264
|
-
# for naming requirements. For
|
271
|
+
# Required. The name of the service. See the
|
272
|
+
# [overview](/service-management/overview) for naming requirements. For
|
273
|
+
# example: `example.googleapis.com`.
|
265
274
|
# @!attribute [rw] rollout_id
|
266
275
|
# @return [::String]
|
267
276
|
# Required. The id of the rollout resource.
|
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.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|