@n8n-dev/n8n-nodes-googleapis-servicemanagement 1.0.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.
- package/README.md +124 -0
- package/dist/banner.svg +159 -0
- package/dist/credentials/GoogleapisServicemanagementApi.credentials.d.ts +9 -0
- package/dist/credentials/GoogleapisServicemanagementApi.credentials.js +49 -0
- package/dist/credentials/GoogleapisServicemanagementApi.credentials.js.map +1 -0
- package/dist/icons/googleapis-servicemanagement.dark.png +0 -0
- package/dist/icons/googleapis-servicemanagement.png +0 -0
- package/dist/nodes/GoogleapisServicemanagement/GoogleapisServicemanagement.node.d.ts +4 -0
- package/dist/nodes/GoogleapisServicemanagement/GoogleapisServicemanagement.node.js +61 -0
- package/dist/nodes/GoogleapisServicemanagement/GoogleapisServicemanagement.node.js.map +1 -0
- package/dist/nodes/GoogleapisServicemanagement/GoogleapisServicemanagement.node.json +20 -0
- package/dist/nodes/GoogleapisServicemanagement/googleapis-servicemanagement.dark.png +0 -0
- package/dist/nodes/GoogleapisServicemanagement/googleapis-servicemanagement.png +0 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/index.d.ts +2 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/index.js +8 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/index.js.map +1 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/operations/index.d.ts +2 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/operations/index.js +202 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/operations/index.js.map +1 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/services/index.d.ts +2 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/services/index.js +2312 -0
- package/dist/nodes/GoogleapisServicemanagement/resources/services/index.js.map +1 -0
- package/dist/package.json +62 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,2312 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.servicesDescription = void 0;
|
|
4
|
+
exports.servicesDescription = [
|
|
5
|
+
{
|
|
6
|
+
"displayName": "Operation",
|
|
7
|
+
"name": "operation",
|
|
8
|
+
"type": "options",
|
|
9
|
+
"noDataExpression": true,
|
|
10
|
+
"displayOptions": {
|
|
11
|
+
"show": {
|
|
12
|
+
"resource": [
|
|
13
|
+
"Services"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"options": [
|
|
18
|
+
{
|
|
19
|
+
"name": "Servicemanagement Services List",
|
|
20
|
+
"value": "Servicemanagement Services List",
|
|
21
|
+
"action": "Servicemanagement Services List",
|
|
22
|
+
"description": "Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has \"servicemanagement.services.get\" permission for.",
|
|
23
|
+
"routing": {
|
|
24
|
+
"request": {
|
|
25
|
+
"method": "GET",
|
|
26
|
+
"url": "=/v1/services"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Servicemanagement Services Create",
|
|
32
|
+
"value": "Servicemanagement Services Create",
|
|
33
|
+
"action": "Servicemanagement Services Create",
|
|
34
|
+
"description": "Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation",
|
|
35
|
+
"routing": {
|
|
36
|
+
"request": {
|
|
37
|
+
"method": "POST",
|
|
38
|
+
"url": "=/v1/services"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Servicemanagement Services Delete",
|
|
44
|
+
"value": "Servicemanagement Services Delete",
|
|
45
|
+
"action": "Servicemanagement Services Delete",
|
|
46
|
+
"description": "Deletes a managed service. This method will change the service to the `Soft-Delete` state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. Operation",
|
|
47
|
+
"routing": {
|
|
48
|
+
"request": {
|
|
49
|
+
"method": "DELETE",
|
|
50
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Servicemanagement Services Get",
|
|
56
|
+
"value": "Servicemanagement Services Get",
|
|
57
|
+
"action": "Servicemanagement Services Get",
|
|
58
|
+
"description": "Gets a managed service. Authentication is required unless the service is public.",
|
|
59
|
+
"routing": {
|
|
60
|
+
"request": {
|
|
61
|
+
"method": "GET",
|
|
62
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "Servicemanagement Services Get Config",
|
|
68
|
+
"value": "Servicemanagement Services Get Config",
|
|
69
|
+
"action": "Servicemanagement Services Get Config",
|
|
70
|
+
"description": "Gets a service configuration (version) for a managed service.",
|
|
71
|
+
"routing": {
|
|
72
|
+
"request": {
|
|
73
|
+
"method": "GET",
|
|
74
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/config"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "Servicemanagement Services Configs List",
|
|
80
|
+
"value": "Servicemanagement Services Configs List",
|
|
81
|
+
"action": "Servicemanagement Services Configs List",
|
|
82
|
+
"description": "Lists the history of the service configuration for a managed service, from the newest to the oldest.",
|
|
83
|
+
"routing": {
|
|
84
|
+
"request": {
|
|
85
|
+
"method": "GET",
|
|
86
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/configs"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "Servicemanagement Services Configs Create",
|
|
92
|
+
"value": "Servicemanagement Services Configs Create",
|
|
93
|
+
"action": "Servicemanagement Services Configs Create",
|
|
94
|
+
"description": "Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.",
|
|
95
|
+
"routing": {
|
|
96
|
+
"request": {
|
|
97
|
+
"method": "POST",
|
|
98
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/configs"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "Servicemanagement Services Configs Get",
|
|
104
|
+
"value": "Servicemanagement Services Configs Get",
|
|
105
|
+
"action": "Servicemanagement Services Configs Get",
|
|
106
|
+
"description": "Gets a service configuration (version) for a managed service.",
|
|
107
|
+
"routing": {
|
|
108
|
+
"request": {
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/configs/{{$parameter[\"configId\"]}}"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "Servicemanagement Services Configs Submit",
|
|
116
|
+
"value": "Servicemanagement Services Configs Submit",
|
|
117
|
+
"action": "Servicemanagement Services Configs Submit",
|
|
118
|
+
"description": "Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation",
|
|
119
|
+
"routing": {
|
|
120
|
+
"request": {
|
|
121
|
+
"method": "POST",
|
|
122
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/configs:submit"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "Servicemanagement Services Rollouts List",
|
|
128
|
+
"value": "Servicemanagement Services Rollouts List",
|
|
129
|
+
"action": "Servicemanagement Services Rollouts List",
|
|
130
|
+
"description": "Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.",
|
|
131
|
+
"routing": {
|
|
132
|
+
"request": {
|
|
133
|
+
"method": "GET",
|
|
134
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/rollouts"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "Servicemanagement Services Rollouts Create",
|
|
140
|
+
"value": "Servicemanagement Services Rollouts Create",
|
|
141
|
+
"action": "Servicemanagement Services Rollouts Create",
|
|
142
|
+
"description": "Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation",
|
|
143
|
+
"routing": {
|
|
144
|
+
"request": {
|
|
145
|
+
"method": "POST",
|
|
146
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/rollouts"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "Servicemanagement Services Rollouts Get",
|
|
152
|
+
"value": "Servicemanagement Services Rollouts Get",
|
|
153
|
+
"action": "Servicemanagement Services Rollouts Get",
|
|
154
|
+
"description": "Gets a service configuration rollout.",
|
|
155
|
+
"routing": {
|
|
156
|
+
"request": {
|
|
157
|
+
"method": "GET",
|
|
158
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}/rollouts/{{$parameter[\"rolloutId\"]}}"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "Servicemanagement Services Undelete",
|
|
164
|
+
"value": "Servicemanagement Services Undelete",
|
|
165
|
+
"action": "Servicemanagement Services Undelete",
|
|
166
|
+
"description": "Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation",
|
|
167
|
+
"routing": {
|
|
168
|
+
"request": {
|
|
169
|
+
"method": "POST",
|
|
170
|
+
"url": "=/v1/services/{{$parameter[\"serviceName\"]}}:undelete"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "Servicemanagement Services Generate Config Report",
|
|
176
|
+
"value": "Servicemanagement Services Generate Config Report",
|
|
177
|
+
"action": "Servicemanagement Services Generate Config Report",
|
|
178
|
+
"description": "Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.",
|
|
179
|
+
"routing": {
|
|
180
|
+
"request": {
|
|
181
|
+
"method": "POST",
|
|
182
|
+
"url": "=/v1/services:generateConfigReport"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "Servicemanagement Services Consumers Get Iam Policy",
|
|
188
|
+
"value": "Servicemanagement Services Consumers Get Iam Policy",
|
|
189
|
+
"action": "Servicemanagement Services Consumers Get Iam Policy",
|
|
190
|
+
"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
|
|
191
|
+
"routing": {
|
|
192
|
+
"request": {
|
|
193
|
+
"method": "POST",
|
|
194
|
+
"url": "=/v1/{{$parameter[\"resource\"]}}:getIamPolicy"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "Servicemanagement Services Consumers Set Iam Policy",
|
|
200
|
+
"value": "Servicemanagement Services Consumers Set Iam Policy",
|
|
201
|
+
"action": "Servicemanagement Services Consumers Set Iam Policy",
|
|
202
|
+
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
|
|
203
|
+
"routing": {
|
|
204
|
+
"request": {
|
|
205
|
+
"method": "POST",
|
|
206
|
+
"url": "=/v1/{{$parameter[\"resource\"]}}:setIamPolicy"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "Servicemanagement Services Consumers Test Iam Permissions",
|
|
212
|
+
"value": "Servicemanagement Services Consumers Test Iam Permissions",
|
|
213
|
+
"action": "Servicemanagement Services Consumers Test Iam Permissions",
|
|
214
|
+
"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
|
|
215
|
+
"routing": {
|
|
216
|
+
"request": {
|
|
217
|
+
"method": "POST",
|
|
218
|
+
"url": "=/v1/{{$parameter[\"resource\"]}}:testIamPermissions"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"default": ""
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"displayName": "GET /v1/services",
|
|
227
|
+
"name": "operation",
|
|
228
|
+
"type": "notice",
|
|
229
|
+
"typeOptions": {
|
|
230
|
+
"theme": "info"
|
|
231
|
+
},
|
|
232
|
+
"default": "",
|
|
233
|
+
"displayOptions": {
|
|
234
|
+
"show": {
|
|
235
|
+
"resource": [
|
|
236
|
+
"Services"
|
|
237
|
+
],
|
|
238
|
+
"operation": [
|
|
239
|
+
"Servicemanagement Services List"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"displayName": "Consumer ID",
|
|
246
|
+
"name": "consumerId",
|
|
247
|
+
"description": "Include services consumed by the specified consumer. The Google Service Management implementation accepts the following forms: - project:",
|
|
248
|
+
"default": "",
|
|
249
|
+
"type": "string",
|
|
250
|
+
"routing": {
|
|
251
|
+
"send": {
|
|
252
|
+
"type": "query",
|
|
253
|
+
"property": "consumerId",
|
|
254
|
+
"value": "={{ $value }}",
|
|
255
|
+
"propertyInDotNotation": false
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"displayOptions": {
|
|
259
|
+
"show": {
|
|
260
|
+
"resource": [
|
|
261
|
+
"Services"
|
|
262
|
+
],
|
|
263
|
+
"operation": [
|
|
264
|
+
"Servicemanagement Services List"
|
|
265
|
+
]
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"displayName": "Page Size",
|
|
271
|
+
"name": "pageSize",
|
|
272
|
+
"description": "The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.",
|
|
273
|
+
"default": 0,
|
|
274
|
+
"type": "number",
|
|
275
|
+
"routing": {
|
|
276
|
+
"send": {
|
|
277
|
+
"type": "query",
|
|
278
|
+
"property": "pageSize",
|
|
279
|
+
"value": "={{ $value }}",
|
|
280
|
+
"propertyInDotNotation": false
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"displayOptions": {
|
|
284
|
+
"show": {
|
|
285
|
+
"resource": [
|
|
286
|
+
"Services"
|
|
287
|
+
],
|
|
288
|
+
"operation": [
|
|
289
|
+
"Servicemanagement Services List"
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"displayName": "Page Token",
|
|
296
|
+
"name": "pageToken",
|
|
297
|
+
"description": "Token identifying which result to start with; returned by a previous list call.",
|
|
298
|
+
"default": "",
|
|
299
|
+
"type": "string",
|
|
300
|
+
"routing": {
|
|
301
|
+
"send": {
|
|
302
|
+
"type": "query",
|
|
303
|
+
"property": "pageToken",
|
|
304
|
+
"value": "={{ $value }}",
|
|
305
|
+
"propertyInDotNotation": false
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"displayOptions": {
|
|
309
|
+
"show": {
|
|
310
|
+
"resource": [
|
|
311
|
+
"Services"
|
|
312
|
+
],
|
|
313
|
+
"operation": [
|
|
314
|
+
"Servicemanagement Services List"
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"displayName": "Producer Project ID",
|
|
321
|
+
"name": "producerProjectId",
|
|
322
|
+
"description": "Include services produced by the specified project.",
|
|
323
|
+
"default": "",
|
|
324
|
+
"type": "string",
|
|
325
|
+
"routing": {
|
|
326
|
+
"send": {
|
|
327
|
+
"type": "query",
|
|
328
|
+
"property": "producerProjectId",
|
|
329
|
+
"value": "={{ $value }}",
|
|
330
|
+
"propertyInDotNotation": false
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"displayOptions": {
|
|
334
|
+
"show": {
|
|
335
|
+
"resource": [
|
|
336
|
+
"Services"
|
|
337
|
+
],
|
|
338
|
+
"operation": [
|
|
339
|
+
"Servicemanagement Services List"
|
|
340
|
+
]
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"displayName": "POST /v1/services",
|
|
346
|
+
"name": "operation",
|
|
347
|
+
"type": "notice",
|
|
348
|
+
"typeOptions": {
|
|
349
|
+
"theme": "info"
|
|
350
|
+
},
|
|
351
|
+
"default": "",
|
|
352
|
+
"displayOptions": {
|
|
353
|
+
"show": {
|
|
354
|
+
"resource": [
|
|
355
|
+
"Services"
|
|
356
|
+
],
|
|
357
|
+
"operation": [
|
|
358
|
+
"Servicemanagement Services Create"
|
|
359
|
+
]
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"displayName": "Producer Project ID",
|
|
365
|
+
"name": "producerProjectId",
|
|
366
|
+
"type": "string",
|
|
367
|
+
"default": "",
|
|
368
|
+
"description": "ID of the project that produces and owns this service.",
|
|
369
|
+
"routing": {
|
|
370
|
+
"send": {
|
|
371
|
+
"property": "producerProjectId",
|
|
372
|
+
"propertyInDotNotation": false,
|
|
373
|
+
"type": "body",
|
|
374
|
+
"value": "={{ $value }}"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"displayOptions": {
|
|
378
|
+
"show": {
|
|
379
|
+
"resource": [
|
|
380
|
+
"Services"
|
|
381
|
+
],
|
|
382
|
+
"operation": [
|
|
383
|
+
"Servicemanagement Services Create"
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"displayName": "Service Name",
|
|
390
|
+
"name": "serviceName",
|
|
391
|
+
"type": "string",
|
|
392
|
+
"default": "",
|
|
393
|
+
"description": "The name of the service. See the [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.",
|
|
394
|
+
"routing": {
|
|
395
|
+
"send": {
|
|
396
|
+
"property": "serviceName",
|
|
397
|
+
"propertyInDotNotation": false,
|
|
398
|
+
"type": "body",
|
|
399
|
+
"value": "={{ $value }}"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"displayOptions": {
|
|
403
|
+
"show": {
|
|
404
|
+
"resource": [
|
|
405
|
+
"Services"
|
|
406
|
+
],
|
|
407
|
+
"operation": [
|
|
408
|
+
"Servicemanagement Services Create"
|
|
409
|
+
]
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"displayName": "DELETE /v1/services/{serviceName}",
|
|
415
|
+
"name": "operation",
|
|
416
|
+
"type": "notice",
|
|
417
|
+
"typeOptions": {
|
|
418
|
+
"theme": "info"
|
|
419
|
+
},
|
|
420
|
+
"default": "",
|
|
421
|
+
"displayOptions": {
|
|
422
|
+
"show": {
|
|
423
|
+
"resource": [
|
|
424
|
+
"Services"
|
|
425
|
+
],
|
|
426
|
+
"operation": [
|
|
427
|
+
"Servicemanagement Services Delete"
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"displayName": "Service Name",
|
|
434
|
+
"name": "serviceName",
|
|
435
|
+
"required": true,
|
|
436
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
437
|
+
"default": "",
|
|
438
|
+
"type": "string",
|
|
439
|
+
"displayOptions": {
|
|
440
|
+
"show": {
|
|
441
|
+
"resource": [
|
|
442
|
+
"Services"
|
|
443
|
+
],
|
|
444
|
+
"operation": [
|
|
445
|
+
"Servicemanagement Services Delete"
|
|
446
|
+
]
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"displayName": "GET /v1/services/{serviceName}",
|
|
452
|
+
"name": "operation",
|
|
453
|
+
"type": "notice",
|
|
454
|
+
"typeOptions": {
|
|
455
|
+
"theme": "info"
|
|
456
|
+
},
|
|
457
|
+
"default": "",
|
|
458
|
+
"displayOptions": {
|
|
459
|
+
"show": {
|
|
460
|
+
"resource": [
|
|
461
|
+
"Services"
|
|
462
|
+
],
|
|
463
|
+
"operation": [
|
|
464
|
+
"Servicemanagement Services Get"
|
|
465
|
+
]
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"displayName": "Service Name",
|
|
471
|
+
"name": "serviceName",
|
|
472
|
+
"required": true,
|
|
473
|
+
"description": "Required. The name of the service. See the `ServiceManager` overview for naming requirements. For example: `example.googleapis.com`.",
|
|
474
|
+
"default": "",
|
|
475
|
+
"type": "string",
|
|
476
|
+
"displayOptions": {
|
|
477
|
+
"show": {
|
|
478
|
+
"resource": [
|
|
479
|
+
"Services"
|
|
480
|
+
],
|
|
481
|
+
"operation": [
|
|
482
|
+
"Servicemanagement Services Get"
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"displayName": "GET /v1/services/{serviceName}/config",
|
|
489
|
+
"name": "operation",
|
|
490
|
+
"type": "notice",
|
|
491
|
+
"typeOptions": {
|
|
492
|
+
"theme": "info"
|
|
493
|
+
},
|
|
494
|
+
"default": "",
|
|
495
|
+
"displayOptions": {
|
|
496
|
+
"show": {
|
|
497
|
+
"resource": [
|
|
498
|
+
"Services"
|
|
499
|
+
],
|
|
500
|
+
"operation": [
|
|
501
|
+
"Servicemanagement Services Get Config"
|
|
502
|
+
]
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"displayName": "Service Name",
|
|
508
|
+
"name": "serviceName",
|
|
509
|
+
"required": true,
|
|
510
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
511
|
+
"default": "",
|
|
512
|
+
"type": "string",
|
|
513
|
+
"displayOptions": {
|
|
514
|
+
"show": {
|
|
515
|
+
"resource": [
|
|
516
|
+
"Services"
|
|
517
|
+
],
|
|
518
|
+
"operation": [
|
|
519
|
+
"Servicemanagement Services Get Config"
|
|
520
|
+
]
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"displayName": "Config ID",
|
|
526
|
+
"name": "configId",
|
|
527
|
+
"description": "Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including `SourceInfo`.",
|
|
528
|
+
"default": "",
|
|
529
|
+
"type": "string",
|
|
530
|
+
"routing": {
|
|
531
|
+
"send": {
|
|
532
|
+
"type": "query",
|
|
533
|
+
"property": "configId",
|
|
534
|
+
"value": "={{ $value }}",
|
|
535
|
+
"propertyInDotNotation": false
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"displayOptions": {
|
|
539
|
+
"show": {
|
|
540
|
+
"resource": [
|
|
541
|
+
"Services"
|
|
542
|
+
],
|
|
543
|
+
"operation": [
|
|
544
|
+
"Servicemanagement Services Get Config"
|
|
545
|
+
]
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"displayName": "View",
|
|
551
|
+
"name": "view",
|
|
552
|
+
"description": "Specifies which parts of the Service Config should be returned in the response.",
|
|
553
|
+
"default": "BASIC",
|
|
554
|
+
"type": "options",
|
|
555
|
+
"options": [
|
|
556
|
+
{
|
|
557
|
+
"name": "BASIC",
|
|
558
|
+
"value": "BASIC"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "FULL",
|
|
562
|
+
"value": "FULL"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"routing": {
|
|
566
|
+
"send": {
|
|
567
|
+
"type": "query",
|
|
568
|
+
"property": "view",
|
|
569
|
+
"value": "={{ $value }}",
|
|
570
|
+
"propertyInDotNotation": false
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"displayOptions": {
|
|
574
|
+
"show": {
|
|
575
|
+
"resource": [
|
|
576
|
+
"Services"
|
|
577
|
+
],
|
|
578
|
+
"operation": [
|
|
579
|
+
"Servicemanagement Services Get Config"
|
|
580
|
+
]
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"displayName": "GET /v1/services/{serviceName}/configs",
|
|
586
|
+
"name": "operation",
|
|
587
|
+
"type": "notice",
|
|
588
|
+
"typeOptions": {
|
|
589
|
+
"theme": "info"
|
|
590
|
+
},
|
|
591
|
+
"default": "",
|
|
592
|
+
"displayOptions": {
|
|
593
|
+
"show": {
|
|
594
|
+
"resource": [
|
|
595
|
+
"Services"
|
|
596
|
+
],
|
|
597
|
+
"operation": [
|
|
598
|
+
"Servicemanagement Services Configs List"
|
|
599
|
+
]
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"displayName": "Service Name",
|
|
605
|
+
"name": "serviceName",
|
|
606
|
+
"required": true,
|
|
607
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
608
|
+
"default": "",
|
|
609
|
+
"type": "string",
|
|
610
|
+
"displayOptions": {
|
|
611
|
+
"show": {
|
|
612
|
+
"resource": [
|
|
613
|
+
"Services"
|
|
614
|
+
],
|
|
615
|
+
"operation": [
|
|
616
|
+
"Servicemanagement Services Configs List"
|
|
617
|
+
]
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"displayName": "Page Size",
|
|
623
|
+
"name": "pageSize",
|
|
624
|
+
"description": "The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.",
|
|
625
|
+
"default": 0,
|
|
626
|
+
"type": "number",
|
|
627
|
+
"routing": {
|
|
628
|
+
"send": {
|
|
629
|
+
"type": "query",
|
|
630
|
+
"property": "pageSize",
|
|
631
|
+
"value": "={{ $value }}",
|
|
632
|
+
"propertyInDotNotation": false
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"displayOptions": {
|
|
636
|
+
"show": {
|
|
637
|
+
"resource": [
|
|
638
|
+
"Services"
|
|
639
|
+
],
|
|
640
|
+
"operation": [
|
|
641
|
+
"Servicemanagement Services Configs List"
|
|
642
|
+
]
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"displayName": "Page Token",
|
|
648
|
+
"name": "pageToken",
|
|
649
|
+
"description": "The token of the page to retrieve.",
|
|
650
|
+
"default": "",
|
|
651
|
+
"type": "string",
|
|
652
|
+
"routing": {
|
|
653
|
+
"send": {
|
|
654
|
+
"type": "query",
|
|
655
|
+
"property": "pageToken",
|
|
656
|
+
"value": "={{ $value }}",
|
|
657
|
+
"propertyInDotNotation": false
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
"displayOptions": {
|
|
661
|
+
"show": {
|
|
662
|
+
"resource": [
|
|
663
|
+
"Services"
|
|
664
|
+
],
|
|
665
|
+
"operation": [
|
|
666
|
+
"Servicemanagement Services Configs List"
|
|
667
|
+
]
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"displayName": "POST /v1/services/{serviceName}/configs",
|
|
673
|
+
"name": "operation",
|
|
674
|
+
"type": "notice",
|
|
675
|
+
"typeOptions": {
|
|
676
|
+
"theme": "info"
|
|
677
|
+
},
|
|
678
|
+
"default": "",
|
|
679
|
+
"displayOptions": {
|
|
680
|
+
"show": {
|
|
681
|
+
"resource": [
|
|
682
|
+
"Services"
|
|
683
|
+
],
|
|
684
|
+
"operation": [
|
|
685
|
+
"Servicemanagement Services Configs Create"
|
|
686
|
+
]
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"displayName": "Service Name",
|
|
692
|
+
"name": "serviceName",
|
|
693
|
+
"required": true,
|
|
694
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
695
|
+
"default": "",
|
|
696
|
+
"type": "string",
|
|
697
|
+
"displayOptions": {
|
|
698
|
+
"show": {
|
|
699
|
+
"resource": [
|
|
700
|
+
"Services"
|
|
701
|
+
],
|
|
702
|
+
"operation": [
|
|
703
|
+
"Servicemanagement Services Configs Create"
|
|
704
|
+
]
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"displayName": "Apis",
|
|
710
|
+
"name": "apis",
|
|
711
|
+
"type": "json",
|
|
712
|
+
"default": "[\n {\n \"methods\": [\n {\n \"options\": [\n {}\n ]\n }\n ],\n \"mixins\": [\n {}\n ],\n \"options\": [\n {}\n ],\n \"sourceContext\": {}\n }\n]",
|
|
713
|
+
"description": "A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.",
|
|
714
|
+
"routing": {
|
|
715
|
+
"send": {
|
|
716
|
+
"property": "apis",
|
|
717
|
+
"propertyInDotNotation": false,
|
|
718
|
+
"type": "body",
|
|
719
|
+
"value": "={{ JSON.parse($value) }}"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"displayOptions": {
|
|
723
|
+
"show": {
|
|
724
|
+
"resource": [
|
|
725
|
+
"Services"
|
|
726
|
+
],
|
|
727
|
+
"operation": [
|
|
728
|
+
"Servicemanagement Services Configs Create"
|
|
729
|
+
]
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"displayName": "Authentication",
|
|
735
|
+
"name": "authentication",
|
|
736
|
+
"type": "json",
|
|
737
|
+
"default": "{\n \"providers\": [\n {\n \"jwtLocations\": [\n {}\n ]\n }\n ],\n \"rules\": [\n {\n \"oauth\": {},\n \"requirements\": [\n {}\n ]\n }\n ]\n}",
|
|
738
|
+
"description": "`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read",
|
|
739
|
+
"routing": {
|
|
740
|
+
"send": {
|
|
741
|
+
"property": "authentication",
|
|
742
|
+
"propertyInDotNotation": false,
|
|
743
|
+
"type": "body",
|
|
744
|
+
"value": "={{ JSON.parse($value) }}"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"displayOptions": {
|
|
748
|
+
"show": {
|
|
749
|
+
"resource": [
|
|
750
|
+
"Services"
|
|
751
|
+
],
|
|
752
|
+
"operation": [
|
|
753
|
+
"Servicemanagement Services Configs Create"
|
|
754
|
+
]
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"displayName": "Backend",
|
|
760
|
+
"name": "backend",
|
|
761
|
+
"type": "json",
|
|
762
|
+
"default": "{\n \"rules\": [\n {}\n ]\n}",
|
|
763
|
+
"description": "`Backend` defines the backend configuration for a service.",
|
|
764
|
+
"routing": {
|
|
765
|
+
"send": {
|
|
766
|
+
"property": "backend",
|
|
767
|
+
"propertyInDotNotation": false,
|
|
768
|
+
"type": "body",
|
|
769
|
+
"value": "={{ JSON.parse($value) }}"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
"displayOptions": {
|
|
773
|
+
"show": {
|
|
774
|
+
"resource": [
|
|
775
|
+
"Services"
|
|
776
|
+
],
|
|
777
|
+
"operation": [
|
|
778
|
+
"Servicemanagement Services Configs Create"
|
|
779
|
+
]
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"displayName": "Billing",
|
|
785
|
+
"name": "billing",
|
|
786
|
+
"type": "json",
|
|
787
|
+
"default": "{\n \"consumerDestinations\": [\n {\n \"metrics\": [\n null\n ]\n }\n ]\n}",
|
|
788
|
+
"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count",
|
|
789
|
+
"routing": {
|
|
790
|
+
"send": {
|
|
791
|
+
"property": "billing",
|
|
792
|
+
"propertyInDotNotation": false,
|
|
793
|
+
"type": "body",
|
|
794
|
+
"value": "={{ JSON.parse($value) }}"
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"displayOptions": {
|
|
798
|
+
"show": {
|
|
799
|
+
"resource": [
|
|
800
|
+
"Services"
|
|
801
|
+
],
|
|
802
|
+
"operation": [
|
|
803
|
+
"Servicemanagement Services Configs Create"
|
|
804
|
+
]
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"displayName": "Config Version",
|
|
810
|
+
"name": "configVersion",
|
|
811
|
+
"type": "number",
|
|
812
|
+
"default": 0,
|
|
813
|
+
"description": "Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.",
|
|
814
|
+
"routing": {
|
|
815
|
+
"send": {
|
|
816
|
+
"property": "configVersion",
|
|
817
|
+
"propertyInDotNotation": false,
|
|
818
|
+
"type": "body",
|
|
819
|
+
"value": "={{ $value }}"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"displayOptions": {
|
|
823
|
+
"show": {
|
|
824
|
+
"resource": [
|
|
825
|
+
"Services"
|
|
826
|
+
],
|
|
827
|
+
"operation": [
|
|
828
|
+
"Servicemanagement Services Configs Create"
|
|
829
|
+
]
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"displayName": "Context",
|
|
835
|
+
"name": "context",
|
|
836
|
+
"type": "json",
|
|
837
|
+
"default": "{\n \"rules\": [\n {\n \"allowedRequestExtensions\": [\n null\n ],\n \"allowedResponseExtensions\": [\n null\n ],\n \"provided\": [\n null\n ],\n \"requested\": [\n null\n ]\n }\n ]\n}",
|
|
838
|
+
"description": "`Context` defines which contexts an API requests. Example: context: rules: - selector: \"*\" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: \"google.example.library.v1.LibraryService.CreateBook\" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.",
|
|
839
|
+
"routing": {
|
|
840
|
+
"send": {
|
|
841
|
+
"property": "context",
|
|
842
|
+
"propertyInDotNotation": false,
|
|
843
|
+
"type": "body",
|
|
844
|
+
"value": "={{ JSON.parse($value) }}"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"displayOptions": {
|
|
848
|
+
"show": {
|
|
849
|
+
"resource": [
|
|
850
|
+
"Services"
|
|
851
|
+
],
|
|
852
|
+
"operation": [
|
|
853
|
+
"Servicemanagement Services Configs Create"
|
|
854
|
+
]
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"displayName": "Control",
|
|
860
|
+
"name": "control",
|
|
861
|
+
"type": "json",
|
|
862
|
+
"default": "{}",
|
|
863
|
+
"description": "Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com",
|
|
864
|
+
"routing": {
|
|
865
|
+
"send": {
|
|
866
|
+
"property": "control",
|
|
867
|
+
"propertyInDotNotation": false,
|
|
868
|
+
"type": "body",
|
|
869
|
+
"value": "={{ JSON.parse($value) }}"
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
"displayOptions": {
|
|
873
|
+
"show": {
|
|
874
|
+
"resource": [
|
|
875
|
+
"Services"
|
|
876
|
+
],
|
|
877
|
+
"operation": [
|
|
878
|
+
"Servicemanagement Services Configs Create"
|
|
879
|
+
]
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"displayName": "Custom Error",
|
|
885
|
+
"name": "customError",
|
|
886
|
+
"type": "json",
|
|
887
|
+
"default": "{\n \"rules\": [\n {}\n ],\n \"types\": [\n null\n ]\n}",
|
|
888
|
+
"description": "Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError",
|
|
889
|
+
"routing": {
|
|
890
|
+
"send": {
|
|
891
|
+
"property": "customError",
|
|
892
|
+
"propertyInDotNotation": false,
|
|
893
|
+
"type": "body",
|
|
894
|
+
"value": "={{ JSON.parse($value) }}"
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
"displayOptions": {
|
|
898
|
+
"show": {
|
|
899
|
+
"resource": [
|
|
900
|
+
"Services"
|
|
901
|
+
],
|
|
902
|
+
"operation": [
|
|
903
|
+
"Servicemanagement Services Configs Create"
|
|
904
|
+
]
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"displayName": "Documentation",
|
|
910
|
+
"name": "documentation",
|
|
911
|
+
"type": "json",
|
|
912
|
+
"default": "{\n \"pages\": [\n {\n \"subpages\": [\n {}\n ]\n }\n ],\n \"rules\": [\n {}\n ]\n}",
|
|
913
|
+
"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.",
|
|
914
|
+
"routing": {
|
|
915
|
+
"send": {
|
|
916
|
+
"property": "documentation",
|
|
917
|
+
"propertyInDotNotation": false,
|
|
918
|
+
"type": "body",
|
|
919
|
+
"value": "={{ JSON.parse($value) }}"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"displayOptions": {
|
|
923
|
+
"show": {
|
|
924
|
+
"resource": [
|
|
925
|
+
"Services"
|
|
926
|
+
],
|
|
927
|
+
"operation": [
|
|
928
|
+
"Servicemanagement Services Configs Create"
|
|
929
|
+
]
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"displayName": "Endpoints",
|
|
935
|
+
"name": "endpoints",
|
|
936
|
+
"type": "json",
|
|
937
|
+
"default": "[\n {\n \"aliases\": [\n null\n ]\n }\n]",
|
|
938
|
+
"description": "Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.",
|
|
939
|
+
"routing": {
|
|
940
|
+
"send": {
|
|
941
|
+
"property": "endpoints",
|
|
942
|
+
"propertyInDotNotation": false,
|
|
943
|
+
"type": "body",
|
|
944
|
+
"value": "={{ JSON.parse($value) }}"
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"displayOptions": {
|
|
948
|
+
"show": {
|
|
949
|
+
"resource": [
|
|
950
|
+
"Services"
|
|
951
|
+
],
|
|
952
|
+
"operation": [
|
|
953
|
+
"Servicemanagement Services Configs Create"
|
|
954
|
+
]
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"displayName": "Enums",
|
|
960
|
+
"name": "enums",
|
|
961
|
+
"type": "json",
|
|
962
|
+
"default": "[\n {\n \"enumvalue\": [\n {\n \"options\": [\n {}\n ]\n }\n ],\n \"options\": [\n {}\n ],\n \"sourceContext\": {}\n }\n]",
|
|
963
|
+
"description": "A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum",
|
|
964
|
+
"routing": {
|
|
965
|
+
"send": {
|
|
966
|
+
"property": "enums",
|
|
967
|
+
"propertyInDotNotation": false,
|
|
968
|
+
"type": "body",
|
|
969
|
+
"value": "={{ JSON.parse($value) }}"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"displayOptions": {
|
|
973
|
+
"show": {
|
|
974
|
+
"resource": [
|
|
975
|
+
"Services"
|
|
976
|
+
],
|
|
977
|
+
"operation": [
|
|
978
|
+
"Servicemanagement Services Configs Create"
|
|
979
|
+
]
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"displayName": "HTTP",
|
|
985
|
+
"name": "http",
|
|
986
|
+
"type": "json",
|
|
987
|
+
"default": "{\n \"rules\": [\n {\n \"additionalBindings\": [\n {}\n ],\n \"custom\": {}\n }\n ]\n}",
|
|
988
|
+
"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.",
|
|
989
|
+
"routing": {
|
|
990
|
+
"send": {
|
|
991
|
+
"property": "http",
|
|
992
|
+
"propertyInDotNotation": false,
|
|
993
|
+
"type": "body",
|
|
994
|
+
"value": "={{ JSON.parse($value) }}"
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
"displayOptions": {
|
|
998
|
+
"show": {
|
|
999
|
+
"resource": [
|
|
1000
|
+
"Services"
|
|
1001
|
+
],
|
|
1002
|
+
"operation": [
|
|
1003
|
+
"Servicemanagement Services Configs Create"
|
|
1004
|
+
]
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"displayName": "ID",
|
|
1010
|
+
"name": "id",
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"default": "",
|
|
1013
|
+
"description": "A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.",
|
|
1014
|
+
"routing": {
|
|
1015
|
+
"send": {
|
|
1016
|
+
"property": "id",
|
|
1017
|
+
"propertyInDotNotation": false,
|
|
1018
|
+
"type": "body",
|
|
1019
|
+
"value": "={{ $value }}"
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
"displayOptions": {
|
|
1023
|
+
"show": {
|
|
1024
|
+
"resource": [
|
|
1025
|
+
"Services"
|
|
1026
|
+
],
|
|
1027
|
+
"operation": [
|
|
1028
|
+
"Servicemanagement Services Configs Create"
|
|
1029
|
+
]
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"displayName": "Logging",
|
|
1035
|
+
"name": "logging",
|
|
1036
|
+
"type": "json",
|
|
1037
|
+
"default": "{\n \"consumerDestinations\": [\n {\n \"logs\": [\n null\n ]\n }\n ],\n \"producerDestinations\": [\n {}\n ]\n}",
|
|
1038
|
+
"description": "Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history",
|
|
1039
|
+
"routing": {
|
|
1040
|
+
"send": {
|
|
1041
|
+
"property": "logging",
|
|
1042
|
+
"propertyInDotNotation": false,
|
|
1043
|
+
"type": "body",
|
|
1044
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
"displayOptions": {
|
|
1048
|
+
"show": {
|
|
1049
|
+
"resource": [
|
|
1050
|
+
"Services"
|
|
1051
|
+
],
|
|
1052
|
+
"operation": [
|
|
1053
|
+
"Servicemanagement Services Configs Create"
|
|
1054
|
+
]
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"displayName": "Logs",
|
|
1060
|
+
"name": "logs",
|
|
1061
|
+
"type": "json",
|
|
1062
|
+
"default": "[\n {\n \"labels\": [\n {}\n ]\n }\n]",
|
|
1063
|
+
"description": "Defines the logs used by this service.",
|
|
1064
|
+
"routing": {
|
|
1065
|
+
"send": {
|
|
1066
|
+
"property": "logs",
|
|
1067
|
+
"propertyInDotNotation": false,
|
|
1068
|
+
"type": "body",
|
|
1069
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
"displayOptions": {
|
|
1073
|
+
"show": {
|
|
1074
|
+
"resource": [
|
|
1075
|
+
"Services"
|
|
1076
|
+
],
|
|
1077
|
+
"operation": [
|
|
1078
|
+
"Servicemanagement Services Configs Create"
|
|
1079
|
+
]
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"displayName": "Metrics",
|
|
1085
|
+
"name": "metrics",
|
|
1086
|
+
"type": "json",
|
|
1087
|
+
"default": "[\n {\n \"labels\": [\n {}\n ],\n \"metadata\": {},\n \"monitoredResourceTypes\": [\n null\n ]\n }\n]",
|
|
1088
|
+
"description": "Defines the metrics used by this service.",
|
|
1089
|
+
"routing": {
|
|
1090
|
+
"send": {
|
|
1091
|
+
"property": "metrics",
|
|
1092
|
+
"propertyInDotNotation": false,
|
|
1093
|
+
"type": "body",
|
|
1094
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1095
|
+
}
|
|
1096
|
+
},
|
|
1097
|
+
"displayOptions": {
|
|
1098
|
+
"show": {
|
|
1099
|
+
"resource": [
|
|
1100
|
+
"Services"
|
|
1101
|
+
],
|
|
1102
|
+
"operation": [
|
|
1103
|
+
"Servicemanagement Services Configs Create"
|
|
1104
|
+
]
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"displayName": "Monitored Resources",
|
|
1110
|
+
"name": "monitoredResources",
|
|
1111
|
+
"type": "json",
|
|
1112
|
+
"default": "[\n {\n \"labels\": [\n {}\n ]\n }\n]",
|
|
1113
|
+
"description": "Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.",
|
|
1114
|
+
"routing": {
|
|
1115
|
+
"send": {
|
|
1116
|
+
"property": "monitoredResources",
|
|
1117
|
+
"propertyInDotNotation": false,
|
|
1118
|
+
"type": "body",
|
|
1119
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
"displayOptions": {
|
|
1123
|
+
"show": {
|
|
1124
|
+
"resource": [
|
|
1125
|
+
"Services"
|
|
1126
|
+
],
|
|
1127
|
+
"operation": [
|
|
1128
|
+
"Servicemanagement Services Configs Create"
|
|
1129
|
+
]
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"displayName": "Monitoring",
|
|
1135
|
+
"name": "monitoring",
|
|
1136
|
+
"type": "json",
|
|
1137
|
+
"default": "{\n \"consumerDestinations\": [\n {\n \"metrics\": [\n null\n ]\n }\n ],\n \"producerDestinations\": [\n {}\n ]\n}",
|
|
1138
|
+
"description": "Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: \"Library Branch\" description: \"A branch of a library.\" launch_stage: GA labels: - key: resource_container description: \"The Cloud container (ie. project id) for the Branch.\" - key: location description: \"The location of the library branch.\" - key: branch_id description: \"The id of the branch.\" metrics: - name: library.googleapis.com/book/returned_count display_name: \"Books Returned\" description: \"The count of books that have been returned.\" launch_stage: GA metric_kind: DELTA value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" - name: library.googleapis.com/book/num_overdue display_name: \"Books Overdue\" description: \"The current number of overdue books.\" launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue",
|
|
1139
|
+
"routing": {
|
|
1140
|
+
"send": {
|
|
1141
|
+
"property": "monitoring",
|
|
1142
|
+
"propertyInDotNotation": false,
|
|
1143
|
+
"type": "body",
|
|
1144
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"displayOptions": {
|
|
1148
|
+
"show": {
|
|
1149
|
+
"resource": [
|
|
1150
|
+
"Services"
|
|
1151
|
+
],
|
|
1152
|
+
"operation": [
|
|
1153
|
+
"Servicemanagement Services Configs Create"
|
|
1154
|
+
]
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"displayName": "Name",
|
|
1160
|
+
"name": "name",
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"default": "",
|
|
1163
|
+
"description": "The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.",
|
|
1164
|
+
"routing": {
|
|
1165
|
+
"send": {
|
|
1166
|
+
"property": "name",
|
|
1167
|
+
"propertyInDotNotation": false,
|
|
1168
|
+
"type": "body",
|
|
1169
|
+
"value": "={{ $value }}"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"displayOptions": {
|
|
1173
|
+
"show": {
|
|
1174
|
+
"resource": [
|
|
1175
|
+
"Services"
|
|
1176
|
+
],
|
|
1177
|
+
"operation": [
|
|
1178
|
+
"Servicemanagement Services Configs Create"
|
|
1179
|
+
]
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"displayName": "Producer Project ID",
|
|
1185
|
+
"name": "producerProjectId",
|
|
1186
|
+
"type": "string",
|
|
1187
|
+
"default": "",
|
|
1188
|
+
"description": "The Google project that owns this service.",
|
|
1189
|
+
"routing": {
|
|
1190
|
+
"send": {
|
|
1191
|
+
"property": "producerProjectId",
|
|
1192
|
+
"propertyInDotNotation": false,
|
|
1193
|
+
"type": "body",
|
|
1194
|
+
"value": "={{ $value }}"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
"displayOptions": {
|
|
1198
|
+
"show": {
|
|
1199
|
+
"resource": [
|
|
1200
|
+
"Services"
|
|
1201
|
+
],
|
|
1202
|
+
"operation": [
|
|
1203
|
+
"Servicemanagement Services Configs Create"
|
|
1204
|
+
]
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"displayName": "Publishing",
|
|
1210
|
+
"name": "publishing",
|
|
1211
|
+
"type": "json",
|
|
1212
|
+
"default": "{\n \"codeownerGithubTeams\": [\n null\n ],\n \"librarySettings\": [\n {\n \"cppSettings\": {\n \"common\": {\n \"destinations\": [\n null\n ]\n }\n },\n \"dotnetSettings\": {\n \"common\": {},\n \"forcedNamespaceAliases\": [\n null\n ],\n \"handwrittenSignatures\": [\n null\n ],\n \"ignoredResources\": [\n null\n ]\n },\n \"goSettings\": {\n \"common\": {}\n },\n \"javaSettings\": {\n \"common\": {}\n },\n \"nodeSettings\": {\n \"common\": {}\n },\n \"phpSettings\": {\n \"common\": {}\n },\n \"pythonSettings\": {\n \"common\": {}\n },\n \"rubySettings\": {\n \"common\": {}\n }\n }\n ],\n \"methodSettings\": [\n {\n \"longRunning\": {}\n }\n ]\n}",
|
|
1213
|
+
"description": "This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.",
|
|
1214
|
+
"routing": {
|
|
1215
|
+
"send": {
|
|
1216
|
+
"property": "publishing",
|
|
1217
|
+
"propertyInDotNotation": false,
|
|
1218
|
+
"type": "body",
|
|
1219
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
"displayOptions": {
|
|
1223
|
+
"show": {
|
|
1224
|
+
"resource": [
|
|
1225
|
+
"Services"
|
|
1226
|
+
],
|
|
1227
|
+
"operation": [
|
|
1228
|
+
"Servicemanagement Services Configs Create"
|
|
1229
|
+
]
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"displayName": "Quota",
|
|
1235
|
+
"name": "quota",
|
|
1236
|
+
"type": "json",
|
|
1237
|
+
"default": "{\n \"limits\": [\n {}\n ],\n \"metricRules\": [\n {}\n ]\n}",
|
|
1238
|
+
"description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ",
|
|
1239
|
+
"routing": {
|
|
1240
|
+
"send": {
|
|
1241
|
+
"property": "quota",
|
|
1242
|
+
"propertyInDotNotation": false,
|
|
1243
|
+
"type": "body",
|
|
1244
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
"displayOptions": {
|
|
1248
|
+
"show": {
|
|
1249
|
+
"resource": [
|
|
1250
|
+
"Services"
|
|
1251
|
+
],
|
|
1252
|
+
"operation": [
|
|
1253
|
+
"Servicemanagement Services Configs Create"
|
|
1254
|
+
]
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"displayName": "Source Info",
|
|
1260
|
+
"name": "sourceInfo",
|
|
1261
|
+
"type": "json",
|
|
1262
|
+
"default": "{\n \"sourceFiles\": [\n null\n ]\n}",
|
|
1263
|
+
"description": "Source information used to create a Service Config",
|
|
1264
|
+
"routing": {
|
|
1265
|
+
"send": {
|
|
1266
|
+
"property": "sourceInfo",
|
|
1267
|
+
"propertyInDotNotation": false,
|
|
1268
|
+
"type": "body",
|
|
1269
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
"displayOptions": {
|
|
1273
|
+
"show": {
|
|
1274
|
+
"resource": [
|
|
1275
|
+
"Services"
|
|
1276
|
+
],
|
|
1277
|
+
"operation": [
|
|
1278
|
+
"Servicemanagement Services Configs Create"
|
|
1279
|
+
]
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"displayName": "System Parameters",
|
|
1285
|
+
"name": "systemParameters",
|
|
1286
|
+
"type": "json",
|
|
1287
|
+
"default": "{\n \"rules\": [\n {\n \"parameters\": [\n {}\n ]\n }\n ]\n}",
|
|
1288
|
+
"description": "### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.",
|
|
1289
|
+
"routing": {
|
|
1290
|
+
"send": {
|
|
1291
|
+
"property": "systemParameters",
|
|
1292
|
+
"propertyInDotNotation": false,
|
|
1293
|
+
"type": "body",
|
|
1294
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
"displayOptions": {
|
|
1298
|
+
"show": {
|
|
1299
|
+
"resource": [
|
|
1300
|
+
"Services"
|
|
1301
|
+
],
|
|
1302
|
+
"operation": [
|
|
1303
|
+
"Servicemanagement Services Configs Create"
|
|
1304
|
+
]
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"displayName": "System Types",
|
|
1310
|
+
"name": "systemTypes",
|
|
1311
|
+
"type": "json",
|
|
1312
|
+
"default": "[\n {\n \"fields\": [\n {\n \"options\": [\n {}\n ]\n }\n ],\n \"oneofs\": [\n null\n ],\n \"options\": [\n {}\n ],\n \"sourceContext\": {}\n }\n]",
|
|
1313
|
+
"description": "A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.",
|
|
1314
|
+
"routing": {
|
|
1315
|
+
"send": {
|
|
1316
|
+
"property": "systemTypes",
|
|
1317
|
+
"propertyInDotNotation": false,
|
|
1318
|
+
"type": "body",
|
|
1319
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
"displayOptions": {
|
|
1323
|
+
"show": {
|
|
1324
|
+
"resource": [
|
|
1325
|
+
"Services"
|
|
1326
|
+
],
|
|
1327
|
+
"operation": [
|
|
1328
|
+
"Servicemanagement Services Configs Create"
|
|
1329
|
+
]
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"displayName": "Title",
|
|
1335
|
+
"name": "title",
|
|
1336
|
+
"type": "string",
|
|
1337
|
+
"default": "",
|
|
1338
|
+
"description": "The product title for this service, it is the name displayed in Google Cloud Console.",
|
|
1339
|
+
"routing": {
|
|
1340
|
+
"send": {
|
|
1341
|
+
"property": "title",
|
|
1342
|
+
"propertyInDotNotation": false,
|
|
1343
|
+
"type": "body",
|
|
1344
|
+
"value": "={{ $value }}"
|
|
1345
|
+
}
|
|
1346
|
+
},
|
|
1347
|
+
"displayOptions": {
|
|
1348
|
+
"show": {
|
|
1349
|
+
"resource": [
|
|
1350
|
+
"Services"
|
|
1351
|
+
],
|
|
1352
|
+
"operation": [
|
|
1353
|
+
"Servicemanagement Services Configs Create"
|
|
1354
|
+
]
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"displayName": "Types",
|
|
1360
|
+
"name": "types",
|
|
1361
|
+
"type": "json",
|
|
1362
|
+
"default": "[\n {\n \"fields\": [\n {\n \"options\": [\n {}\n ]\n }\n ],\n \"oneofs\": [\n null\n ],\n \"options\": [\n {}\n ],\n \"sourceContext\": {}\n }\n]",
|
|
1363
|
+
"description": "A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32",
|
|
1364
|
+
"routing": {
|
|
1365
|
+
"send": {
|
|
1366
|
+
"property": "types",
|
|
1367
|
+
"propertyInDotNotation": false,
|
|
1368
|
+
"type": "body",
|
|
1369
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"displayOptions": {
|
|
1373
|
+
"show": {
|
|
1374
|
+
"resource": [
|
|
1375
|
+
"Services"
|
|
1376
|
+
],
|
|
1377
|
+
"operation": [
|
|
1378
|
+
"Servicemanagement Services Configs Create"
|
|
1379
|
+
]
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"displayName": "Usage",
|
|
1385
|
+
"name": "usage",
|
|
1386
|
+
"type": "json",
|
|
1387
|
+
"default": "{\n \"requirements\": [\n null\n ],\n \"rules\": [\n {}\n ]\n}",
|
|
1388
|
+
"description": "Configuration controlling usage of a service.",
|
|
1389
|
+
"routing": {
|
|
1390
|
+
"send": {
|
|
1391
|
+
"property": "usage",
|
|
1392
|
+
"propertyInDotNotation": false,
|
|
1393
|
+
"type": "body",
|
|
1394
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
"displayOptions": {
|
|
1398
|
+
"show": {
|
|
1399
|
+
"resource": [
|
|
1400
|
+
"Services"
|
|
1401
|
+
],
|
|
1402
|
+
"operation": [
|
|
1403
|
+
"Servicemanagement Services Configs Create"
|
|
1404
|
+
]
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"displayName": "GET /v1/services/{serviceName}/configs/{configId}",
|
|
1410
|
+
"name": "operation",
|
|
1411
|
+
"type": "notice",
|
|
1412
|
+
"typeOptions": {
|
|
1413
|
+
"theme": "info"
|
|
1414
|
+
},
|
|
1415
|
+
"default": "",
|
|
1416
|
+
"displayOptions": {
|
|
1417
|
+
"show": {
|
|
1418
|
+
"resource": [
|
|
1419
|
+
"Services"
|
|
1420
|
+
],
|
|
1421
|
+
"operation": [
|
|
1422
|
+
"Servicemanagement Services Configs Get"
|
|
1423
|
+
]
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"displayName": "Service Name",
|
|
1429
|
+
"name": "serviceName",
|
|
1430
|
+
"required": true,
|
|
1431
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
1432
|
+
"default": "",
|
|
1433
|
+
"type": "string",
|
|
1434
|
+
"displayOptions": {
|
|
1435
|
+
"show": {
|
|
1436
|
+
"resource": [
|
|
1437
|
+
"Services"
|
|
1438
|
+
],
|
|
1439
|
+
"operation": [
|
|
1440
|
+
"Servicemanagement Services Configs Get"
|
|
1441
|
+
]
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"displayName": "Config ID",
|
|
1447
|
+
"name": "configId",
|
|
1448
|
+
"required": true,
|
|
1449
|
+
"description": "Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including `SourceInfo`.",
|
|
1450
|
+
"default": "",
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"displayOptions": {
|
|
1453
|
+
"show": {
|
|
1454
|
+
"resource": [
|
|
1455
|
+
"Services"
|
|
1456
|
+
],
|
|
1457
|
+
"operation": [
|
|
1458
|
+
"Servicemanagement Services Configs Get"
|
|
1459
|
+
]
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"displayName": "View",
|
|
1465
|
+
"name": "view",
|
|
1466
|
+
"description": "Specifies which parts of the Service Config should be returned in the response.",
|
|
1467
|
+
"default": "BASIC",
|
|
1468
|
+
"type": "options",
|
|
1469
|
+
"options": [
|
|
1470
|
+
{
|
|
1471
|
+
"name": "BASIC",
|
|
1472
|
+
"value": "BASIC"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "FULL",
|
|
1476
|
+
"value": "FULL"
|
|
1477
|
+
}
|
|
1478
|
+
],
|
|
1479
|
+
"routing": {
|
|
1480
|
+
"send": {
|
|
1481
|
+
"type": "query",
|
|
1482
|
+
"property": "view",
|
|
1483
|
+
"value": "={{ $value }}",
|
|
1484
|
+
"propertyInDotNotation": false
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"displayOptions": {
|
|
1488
|
+
"show": {
|
|
1489
|
+
"resource": [
|
|
1490
|
+
"Services"
|
|
1491
|
+
],
|
|
1492
|
+
"operation": [
|
|
1493
|
+
"Servicemanagement Services Configs Get"
|
|
1494
|
+
]
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"displayName": "POST /v1/services/{serviceName}/configs:submit",
|
|
1500
|
+
"name": "operation",
|
|
1501
|
+
"type": "notice",
|
|
1502
|
+
"typeOptions": {
|
|
1503
|
+
"theme": "info"
|
|
1504
|
+
},
|
|
1505
|
+
"default": "",
|
|
1506
|
+
"displayOptions": {
|
|
1507
|
+
"show": {
|
|
1508
|
+
"resource": [
|
|
1509
|
+
"Services"
|
|
1510
|
+
],
|
|
1511
|
+
"operation": [
|
|
1512
|
+
"Servicemanagement Services Configs Submit"
|
|
1513
|
+
]
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"displayName": "Service Name",
|
|
1519
|
+
"name": "serviceName",
|
|
1520
|
+
"required": true,
|
|
1521
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
1522
|
+
"default": "",
|
|
1523
|
+
"type": "string",
|
|
1524
|
+
"displayOptions": {
|
|
1525
|
+
"show": {
|
|
1526
|
+
"resource": [
|
|
1527
|
+
"Services"
|
|
1528
|
+
],
|
|
1529
|
+
"operation": [
|
|
1530
|
+
"Servicemanagement Services Configs Submit"
|
|
1531
|
+
]
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"displayName": "Config Source",
|
|
1537
|
+
"name": "configSource",
|
|
1538
|
+
"type": "json",
|
|
1539
|
+
"default": "{\n \"files\": [\n {}\n ]\n}",
|
|
1540
|
+
"description": "Represents a source file which is used to generate the service configuration defined by `google.api.Service`.",
|
|
1541
|
+
"routing": {
|
|
1542
|
+
"send": {
|
|
1543
|
+
"property": "configSource",
|
|
1544
|
+
"propertyInDotNotation": false,
|
|
1545
|
+
"type": "body",
|
|
1546
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1547
|
+
}
|
|
1548
|
+
},
|
|
1549
|
+
"displayOptions": {
|
|
1550
|
+
"show": {
|
|
1551
|
+
"resource": [
|
|
1552
|
+
"Services"
|
|
1553
|
+
],
|
|
1554
|
+
"operation": [
|
|
1555
|
+
"Servicemanagement Services Configs Submit"
|
|
1556
|
+
]
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"displayName": "Validate Only",
|
|
1562
|
+
"name": "validateOnly",
|
|
1563
|
+
"type": "boolean",
|
|
1564
|
+
"default": true,
|
|
1565
|
+
"description": "Optional. If set, this will result in the generation of a `google.api.Service` configuration based on the `ConfigSource` provided, but the generated config and the sources will NOT be persisted.",
|
|
1566
|
+
"routing": {
|
|
1567
|
+
"send": {
|
|
1568
|
+
"property": "validateOnly",
|
|
1569
|
+
"propertyInDotNotation": false,
|
|
1570
|
+
"type": "body",
|
|
1571
|
+
"value": "={{ $value }}"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
"displayOptions": {
|
|
1575
|
+
"show": {
|
|
1576
|
+
"resource": [
|
|
1577
|
+
"Services"
|
|
1578
|
+
],
|
|
1579
|
+
"operation": [
|
|
1580
|
+
"Servicemanagement Services Configs Submit"
|
|
1581
|
+
]
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"displayName": "GET /v1/services/{serviceName}/rollouts",
|
|
1587
|
+
"name": "operation",
|
|
1588
|
+
"type": "notice",
|
|
1589
|
+
"typeOptions": {
|
|
1590
|
+
"theme": "info"
|
|
1591
|
+
},
|
|
1592
|
+
"default": "",
|
|
1593
|
+
"displayOptions": {
|
|
1594
|
+
"show": {
|
|
1595
|
+
"resource": [
|
|
1596
|
+
"Services"
|
|
1597
|
+
],
|
|
1598
|
+
"operation": [
|
|
1599
|
+
"Servicemanagement Services Rollouts List"
|
|
1600
|
+
]
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"displayName": "Service Name",
|
|
1606
|
+
"name": "serviceName",
|
|
1607
|
+
"required": true,
|
|
1608
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
1609
|
+
"default": "",
|
|
1610
|
+
"type": "string",
|
|
1611
|
+
"displayOptions": {
|
|
1612
|
+
"show": {
|
|
1613
|
+
"resource": [
|
|
1614
|
+
"Services"
|
|
1615
|
+
],
|
|
1616
|
+
"operation": [
|
|
1617
|
+
"Servicemanagement Services Rollouts List"
|
|
1618
|
+
]
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"displayName": "Filter",
|
|
1624
|
+
"name": "filter",
|
|
1625
|
+
"description": "Required. Use `filter` to return subset of rollouts. The following filters are supported: -- By status. For example, `filter='status=SUCCESS'` -- By strategy. For example, `filter='strategy=TrafficPercentStrategy'`",
|
|
1626
|
+
"default": "",
|
|
1627
|
+
"type": "string",
|
|
1628
|
+
"routing": {
|
|
1629
|
+
"send": {
|
|
1630
|
+
"type": "query",
|
|
1631
|
+
"property": "filter",
|
|
1632
|
+
"value": "={{ $value }}",
|
|
1633
|
+
"propertyInDotNotation": false
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"displayOptions": {
|
|
1637
|
+
"show": {
|
|
1638
|
+
"resource": [
|
|
1639
|
+
"Services"
|
|
1640
|
+
],
|
|
1641
|
+
"operation": [
|
|
1642
|
+
"Servicemanagement Services Rollouts List"
|
|
1643
|
+
]
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"displayName": "Page Size",
|
|
1649
|
+
"name": "pageSize",
|
|
1650
|
+
"description": "The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.",
|
|
1651
|
+
"default": 0,
|
|
1652
|
+
"type": "number",
|
|
1653
|
+
"routing": {
|
|
1654
|
+
"send": {
|
|
1655
|
+
"type": "query",
|
|
1656
|
+
"property": "pageSize",
|
|
1657
|
+
"value": "={{ $value }}",
|
|
1658
|
+
"propertyInDotNotation": false
|
|
1659
|
+
}
|
|
1660
|
+
},
|
|
1661
|
+
"displayOptions": {
|
|
1662
|
+
"show": {
|
|
1663
|
+
"resource": [
|
|
1664
|
+
"Services"
|
|
1665
|
+
],
|
|
1666
|
+
"operation": [
|
|
1667
|
+
"Servicemanagement Services Rollouts List"
|
|
1668
|
+
]
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"displayName": "Page Token",
|
|
1674
|
+
"name": "pageToken",
|
|
1675
|
+
"description": "The token of the page to retrieve.",
|
|
1676
|
+
"default": "",
|
|
1677
|
+
"type": "string",
|
|
1678
|
+
"routing": {
|
|
1679
|
+
"send": {
|
|
1680
|
+
"type": "query",
|
|
1681
|
+
"property": "pageToken",
|
|
1682
|
+
"value": "={{ $value }}",
|
|
1683
|
+
"propertyInDotNotation": false
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
"displayOptions": {
|
|
1687
|
+
"show": {
|
|
1688
|
+
"resource": [
|
|
1689
|
+
"Services"
|
|
1690
|
+
],
|
|
1691
|
+
"operation": [
|
|
1692
|
+
"Servicemanagement Services Rollouts List"
|
|
1693
|
+
]
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"displayName": "POST /v1/services/{serviceName}/rollouts",
|
|
1699
|
+
"name": "operation",
|
|
1700
|
+
"type": "notice",
|
|
1701
|
+
"typeOptions": {
|
|
1702
|
+
"theme": "info"
|
|
1703
|
+
},
|
|
1704
|
+
"default": "",
|
|
1705
|
+
"displayOptions": {
|
|
1706
|
+
"show": {
|
|
1707
|
+
"resource": [
|
|
1708
|
+
"Services"
|
|
1709
|
+
],
|
|
1710
|
+
"operation": [
|
|
1711
|
+
"Servicemanagement Services Rollouts Create"
|
|
1712
|
+
]
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"displayName": "Service Name",
|
|
1718
|
+
"name": "serviceName",
|
|
1719
|
+
"required": true,
|
|
1720
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
1721
|
+
"default": "",
|
|
1722
|
+
"type": "string",
|
|
1723
|
+
"displayOptions": {
|
|
1724
|
+
"show": {
|
|
1725
|
+
"resource": [
|
|
1726
|
+
"Services"
|
|
1727
|
+
],
|
|
1728
|
+
"operation": [
|
|
1729
|
+
"Servicemanagement Services Rollouts Create"
|
|
1730
|
+
]
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"displayName": "Create Time",
|
|
1736
|
+
"name": "createTime",
|
|
1737
|
+
"type": "string",
|
|
1738
|
+
"default": "",
|
|
1739
|
+
"description": "Creation time of the rollout. Readonly.",
|
|
1740
|
+
"routing": {
|
|
1741
|
+
"send": {
|
|
1742
|
+
"property": "createTime",
|
|
1743
|
+
"propertyInDotNotation": false,
|
|
1744
|
+
"type": "body",
|
|
1745
|
+
"value": "={{ $value }}"
|
|
1746
|
+
}
|
|
1747
|
+
},
|
|
1748
|
+
"displayOptions": {
|
|
1749
|
+
"show": {
|
|
1750
|
+
"resource": [
|
|
1751
|
+
"Services"
|
|
1752
|
+
],
|
|
1753
|
+
"operation": [
|
|
1754
|
+
"Servicemanagement Services Rollouts Create"
|
|
1755
|
+
]
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"displayName": "Created By",
|
|
1761
|
+
"name": "createdBy",
|
|
1762
|
+
"type": "string",
|
|
1763
|
+
"default": "",
|
|
1764
|
+
"description": "The user who created the Rollout. Readonly.",
|
|
1765
|
+
"routing": {
|
|
1766
|
+
"send": {
|
|
1767
|
+
"property": "createdBy",
|
|
1768
|
+
"propertyInDotNotation": false,
|
|
1769
|
+
"type": "body",
|
|
1770
|
+
"value": "={{ $value }}"
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
"displayOptions": {
|
|
1774
|
+
"show": {
|
|
1775
|
+
"resource": [
|
|
1776
|
+
"Services"
|
|
1777
|
+
],
|
|
1778
|
+
"operation": [
|
|
1779
|
+
"Servicemanagement Services Rollouts Create"
|
|
1780
|
+
]
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"displayName": "Delete Service Strategy",
|
|
1786
|
+
"name": "deleteServiceStrategy",
|
|
1787
|
+
"type": "json",
|
|
1788
|
+
"default": "{}",
|
|
1789
|
+
"description": "Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.",
|
|
1790
|
+
"routing": {
|
|
1791
|
+
"send": {
|
|
1792
|
+
"property": "deleteServiceStrategy",
|
|
1793
|
+
"propertyInDotNotation": false,
|
|
1794
|
+
"type": "body",
|
|
1795
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
"displayOptions": {
|
|
1799
|
+
"show": {
|
|
1800
|
+
"resource": [
|
|
1801
|
+
"Services"
|
|
1802
|
+
],
|
|
1803
|
+
"operation": [
|
|
1804
|
+
"Servicemanagement Services Rollouts Create"
|
|
1805
|
+
]
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"displayName": "Rollout ID",
|
|
1811
|
+
"name": "rolloutId",
|
|
1812
|
+
"type": "string",
|
|
1813
|
+
"default": "",
|
|
1814
|
+
"description": "Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where \"date\" is the create date in ISO 8601 format. \"revision number\" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'",
|
|
1815
|
+
"routing": {
|
|
1816
|
+
"send": {
|
|
1817
|
+
"property": "rolloutId",
|
|
1818
|
+
"propertyInDotNotation": false,
|
|
1819
|
+
"type": "body",
|
|
1820
|
+
"value": "={{ $value }}"
|
|
1821
|
+
}
|
|
1822
|
+
},
|
|
1823
|
+
"displayOptions": {
|
|
1824
|
+
"show": {
|
|
1825
|
+
"resource": [
|
|
1826
|
+
"Services"
|
|
1827
|
+
],
|
|
1828
|
+
"operation": [
|
|
1829
|
+
"Servicemanagement Services Rollouts Create"
|
|
1830
|
+
]
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"displayName": "Service Name",
|
|
1836
|
+
"name": "serviceName",
|
|
1837
|
+
"type": "string",
|
|
1838
|
+
"default": "",
|
|
1839
|
+
"description": "The name of the service associated with this Rollout.",
|
|
1840
|
+
"routing": {
|
|
1841
|
+
"send": {
|
|
1842
|
+
"property": "serviceName",
|
|
1843
|
+
"propertyInDotNotation": false,
|
|
1844
|
+
"type": "body",
|
|
1845
|
+
"value": "={{ $value }}"
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
"displayOptions": {
|
|
1849
|
+
"show": {
|
|
1850
|
+
"resource": [
|
|
1851
|
+
"Services"
|
|
1852
|
+
],
|
|
1853
|
+
"operation": [
|
|
1854
|
+
"Servicemanagement Services Rollouts Create"
|
|
1855
|
+
]
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"displayName": "Status",
|
|
1861
|
+
"name": "status",
|
|
1862
|
+
"type": "options",
|
|
1863
|
+
"default": "ROLLOUT_STATUS_UNSPECIFIED",
|
|
1864
|
+
"description": "The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.",
|
|
1865
|
+
"options": [
|
|
1866
|
+
{
|
|
1867
|
+
"name": "ROLLOUT STATUS UNSPECIFIED",
|
|
1868
|
+
"value": "ROLLOUT_STATUS_UNSPECIFIED"
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"name": "IN PROGRESS",
|
|
1872
|
+
"value": "IN_PROGRESS"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "SUCCESS",
|
|
1876
|
+
"value": "SUCCESS"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "CANCELLED",
|
|
1880
|
+
"value": "CANCELLED"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "FAILED",
|
|
1884
|
+
"value": "FAILED"
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "PENDING",
|
|
1888
|
+
"value": "PENDING"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"name": "FAILED ROLLED BACK",
|
|
1892
|
+
"value": "FAILED_ROLLED_BACK"
|
|
1893
|
+
}
|
|
1894
|
+
],
|
|
1895
|
+
"routing": {
|
|
1896
|
+
"send": {
|
|
1897
|
+
"property": "status",
|
|
1898
|
+
"propertyInDotNotation": false,
|
|
1899
|
+
"type": "body",
|
|
1900
|
+
"value": "={{ $value }}"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"displayOptions": {
|
|
1904
|
+
"show": {
|
|
1905
|
+
"resource": [
|
|
1906
|
+
"Services"
|
|
1907
|
+
],
|
|
1908
|
+
"operation": [
|
|
1909
|
+
"Servicemanagement Services Rollouts Create"
|
|
1910
|
+
]
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"displayName": "Traffic Percent Strategy",
|
|
1916
|
+
"name": "trafficPercentStrategy",
|
|
1917
|
+
"type": "json",
|
|
1918
|
+
"default": "{}",
|
|
1919
|
+
"description": "Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: \"example.googleapis.com/rollout_20160206\" traffic_percent_strategy { percentages: { \"example.googleapis.com/20160201\": 70.00 \"example.googleapis.com/20160206\": 30.00 } } } Day 2 Rollout { id: \"example.googleapis.com/rollout_20160207\" traffic_percent_strategy: { percentages: { \"example.googleapis.com/20160206\": 100.00 } } }",
|
|
1920
|
+
"routing": {
|
|
1921
|
+
"send": {
|
|
1922
|
+
"property": "trafficPercentStrategy",
|
|
1923
|
+
"propertyInDotNotation": false,
|
|
1924
|
+
"type": "body",
|
|
1925
|
+
"value": "={{ JSON.parse($value) }}"
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
"displayOptions": {
|
|
1929
|
+
"show": {
|
|
1930
|
+
"resource": [
|
|
1931
|
+
"Services"
|
|
1932
|
+
],
|
|
1933
|
+
"operation": [
|
|
1934
|
+
"Servicemanagement Services Rollouts Create"
|
|
1935
|
+
]
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"displayName": "GET /v1/services/{serviceName}/rollouts/{rolloutId}",
|
|
1941
|
+
"name": "operation",
|
|
1942
|
+
"type": "notice",
|
|
1943
|
+
"typeOptions": {
|
|
1944
|
+
"theme": "info"
|
|
1945
|
+
},
|
|
1946
|
+
"default": "",
|
|
1947
|
+
"displayOptions": {
|
|
1948
|
+
"show": {
|
|
1949
|
+
"resource": [
|
|
1950
|
+
"Services"
|
|
1951
|
+
],
|
|
1952
|
+
"operation": [
|
|
1953
|
+
"Servicemanagement Services Rollouts Get"
|
|
1954
|
+
]
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"displayName": "Service Name",
|
|
1960
|
+
"name": "serviceName",
|
|
1961
|
+
"required": true,
|
|
1962
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
1963
|
+
"default": "",
|
|
1964
|
+
"type": "string",
|
|
1965
|
+
"displayOptions": {
|
|
1966
|
+
"show": {
|
|
1967
|
+
"resource": [
|
|
1968
|
+
"Services"
|
|
1969
|
+
],
|
|
1970
|
+
"operation": [
|
|
1971
|
+
"Servicemanagement Services Rollouts Get"
|
|
1972
|
+
]
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"displayName": "Rollout ID",
|
|
1978
|
+
"name": "rolloutId",
|
|
1979
|
+
"required": true,
|
|
1980
|
+
"description": "Required. The id of the rollout resource.",
|
|
1981
|
+
"default": "",
|
|
1982
|
+
"type": "string",
|
|
1983
|
+
"displayOptions": {
|
|
1984
|
+
"show": {
|
|
1985
|
+
"resource": [
|
|
1986
|
+
"Services"
|
|
1987
|
+
],
|
|
1988
|
+
"operation": [
|
|
1989
|
+
"Servicemanagement Services Rollouts Get"
|
|
1990
|
+
]
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"displayName": "POST /v1/services/{serviceName}:undelete",
|
|
1996
|
+
"name": "operation",
|
|
1997
|
+
"type": "notice",
|
|
1998
|
+
"typeOptions": {
|
|
1999
|
+
"theme": "info"
|
|
2000
|
+
},
|
|
2001
|
+
"default": "",
|
|
2002
|
+
"displayOptions": {
|
|
2003
|
+
"show": {
|
|
2004
|
+
"resource": [
|
|
2005
|
+
"Services"
|
|
2006
|
+
],
|
|
2007
|
+
"operation": [
|
|
2008
|
+
"Servicemanagement Services Undelete"
|
|
2009
|
+
]
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"displayName": "Service Name",
|
|
2015
|
+
"name": "serviceName",
|
|
2016
|
+
"required": true,
|
|
2017
|
+
"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.",
|
|
2018
|
+
"default": "",
|
|
2019
|
+
"type": "string",
|
|
2020
|
+
"displayOptions": {
|
|
2021
|
+
"show": {
|
|
2022
|
+
"resource": [
|
|
2023
|
+
"Services"
|
|
2024
|
+
],
|
|
2025
|
+
"operation": [
|
|
2026
|
+
"Servicemanagement Services Undelete"
|
|
2027
|
+
]
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
"displayName": "POST /v1/services:generateConfigReport",
|
|
2033
|
+
"name": "operation",
|
|
2034
|
+
"type": "notice",
|
|
2035
|
+
"typeOptions": {
|
|
2036
|
+
"theme": "info"
|
|
2037
|
+
},
|
|
2038
|
+
"default": "",
|
|
2039
|
+
"displayOptions": {
|
|
2040
|
+
"show": {
|
|
2041
|
+
"resource": [
|
|
2042
|
+
"Services"
|
|
2043
|
+
],
|
|
2044
|
+
"operation": [
|
|
2045
|
+
"Servicemanagement Services Generate Config Report"
|
|
2046
|
+
]
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"displayName": "New Config",
|
|
2052
|
+
"name": "newConfig",
|
|
2053
|
+
"type": "json",
|
|
2054
|
+
"default": "{}",
|
|
2055
|
+
"description": "Required. Service configuration for which we want to generate the report. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service",
|
|
2056
|
+
"routing": {
|
|
2057
|
+
"send": {
|
|
2058
|
+
"property": "newConfig",
|
|
2059
|
+
"propertyInDotNotation": false,
|
|
2060
|
+
"type": "body",
|
|
2061
|
+
"value": "={{ JSON.parse($value) }}"
|
|
2062
|
+
}
|
|
2063
|
+
},
|
|
2064
|
+
"displayOptions": {
|
|
2065
|
+
"show": {
|
|
2066
|
+
"resource": [
|
|
2067
|
+
"Services"
|
|
2068
|
+
],
|
|
2069
|
+
"operation": [
|
|
2070
|
+
"Servicemanagement Services Generate Config Report"
|
|
2071
|
+
]
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"displayName": "Old Config",
|
|
2077
|
+
"name": "oldConfig",
|
|
2078
|
+
"type": "json",
|
|
2079
|
+
"default": "{}",
|
|
2080
|
+
"description": "Optional. Service configuration against which the comparison will be done. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service",
|
|
2081
|
+
"routing": {
|
|
2082
|
+
"send": {
|
|
2083
|
+
"property": "oldConfig",
|
|
2084
|
+
"propertyInDotNotation": false,
|
|
2085
|
+
"type": "body",
|
|
2086
|
+
"value": "={{ JSON.parse($value) }}"
|
|
2087
|
+
}
|
|
2088
|
+
},
|
|
2089
|
+
"displayOptions": {
|
|
2090
|
+
"show": {
|
|
2091
|
+
"resource": [
|
|
2092
|
+
"Services"
|
|
2093
|
+
],
|
|
2094
|
+
"operation": [
|
|
2095
|
+
"Servicemanagement Services Generate Config Report"
|
|
2096
|
+
]
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"displayName": "POST /v1/{resource}:getIamPolicy",
|
|
2102
|
+
"name": "operation",
|
|
2103
|
+
"type": "notice",
|
|
2104
|
+
"typeOptions": {
|
|
2105
|
+
"theme": "info"
|
|
2106
|
+
},
|
|
2107
|
+
"default": "",
|
|
2108
|
+
"displayOptions": {
|
|
2109
|
+
"show": {
|
|
2110
|
+
"resource": [
|
|
2111
|
+
"Services"
|
|
2112
|
+
],
|
|
2113
|
+
"operation": [
|
|
2114
|
+
"Servicemanagement Services Consumers Get Iam Policy"
|
|
2115
|
+
]
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"displayName": "Resource",
|
|
2121
|
+
"name": "resource",
|
|
2122
|
+
"required": true,
|
|
2123
|
+
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
|
2124
|
+
"default": "",
|
|
2125
|
+
"type": "string",
|
|
2126
|
+
"displayOptions": {
|
|
2127
|
+
"show": {
|
|
2128
|
+
"resource": [
|
|
2129
|
+
"Services"
|
|
2130
|
+
],
|
|
2131
|
+
"operation": [
|
|
2132
|
+
"Servicemanagement Services Consumers Get Iam Policy"
|
|
2133
|
+
]
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"displayName": "Options",
|
|
2139
|
+
"name": "options",
|
|
2140
|
+
"type": "json",
|
|
2141
|
+
"default": "{}",
|
|
2142
|
+
"description": "Encapsulates settings provided to GetIamPolicy.",
|
|
2143
|
+
"routing": {
|
|
2144
|
+
"send": {
|
|
2145
|
+
"property": "options",
|
|
2146
|
+
"propertyInDotNotation": false,
|
|
2147
|
+
"type": "body",
|
|
2148
|
+
"value": "={{ JSON.parse($value) }}"
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
"displayOptions": {
|
|
2152
|
+
"show": {
|
|
2153
|
+
"resource": [
|
|
2154
|
+
"Services"
|
|
2155
|
+
],
|
|
2156
|
+
"operation": [
|
|
2157
|
+
"Servicemanagement Services Consumers Get Iam Policy"
|
|
2158
|
+
]
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"displayName": "POST /v1/{resource}:setIamPolicy",
|
|
2164
|
+
"name": "operation",
|
|
2165
|
+
"type": "notice",
|
|
2166
|
+
"typeOptions": {
|
|
2167
|
+
"theme": "info"
|
|
2168
|
+
},
|
|
2169
|
+
"default": "",
|
|
2170
|
+
"displayOptions": {
|
|
2171
|
+
"show": {
|
|
2172
|
+
"resource": [
|
|
2173
|
+
"Services"
|
|
2174
|
+
],
|
|
2175
|
+
"operation": [
|
|
2176
|
+
"Servicemanagement Services Consumers Set Iam Policy"
|
|
2177
|
+
]
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"displayName": "Resource",
|
|
2183
|
+
"name": "resource",
|
|
2184
|
+
"required": true,
|
|
2185
|
+
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
|
2186
|
+
"default": "",
|
|
2187
|
+
"type": "string",
|
|
2188
|
+
"displayOptions": {
|
|
2189
|
+
"show": {
|
|
2190
|
+
"resource": [
|
|
2191
|
+
"Services"
|
|
2192
|
+
],
|
|
2193
|
+
"operation": [
|
|
2194
|
+
"Servicemanagement Services Consumers Set Iam Policy"
|
|
2195
|
+
]
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"displayName": "Policy",
|
|
2201
|
+
"name": "policy",
|
|
2202
|
+
"type": "json",
|
|
2203
|
+
"default": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n null\n ]\n }\n ]\n }\n ],\n \"bindings\": [\n {\n \"condition\": {},\n \"members\": [\n null\n ]\n }\n ]\n}",
|
|
2204
|
+
"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
|
|
2205
|
+
"routing": {
|
|
2206
|
+
"send": {
|
|
2207
|
+
"property": "policy",
|
|
2208
|
+
"propertyInDotNotation": false,
|
|
2209
|
+
"type": "body",
|
|
2210
|
+
"value": "={{ JSON.parse($value) }}"
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
"displayOptions": {
|
|
2214
|
+
"show": {
|
|
2215
|
+
"resource": [
|
|
2216
|
+
"Services"
|
|
2217
|
+
],
|
|
2218
|
+
"operation": [
|
|
2219
|
+
"Servicemanagement Services Consumers Set Iam Policy"
|
|
2220
|
+
]
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"displayName": "Update Mask",
|
|
2226
|
+
"name": "updateMask",
|
|
2227
|
+
"type": "string",
|
|
2228
|
+
"default": "",
|
|
2229
|
+
"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
|
|
2230
|
+
"routing": {
|
|
2231
|
+
"send": {
|
|
2232
|
+
"property": "updateMask",
|
|
2233
|
+
"propertyInDotNotation": false,
|
|
2234
|
+
"type": "body",
|
|
2235
|
+
"value": "={{ $value }}"
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
"displayOptions": {
|
|
2239
|
+
"show": {
|
|
2240
|
+
"resource": [
|
|
2241
|
+
"Services"
|
|
2242
|
+
],
|
|
2243
|
+
"operation": [
|
|
2244
|
+
"Servicemanagement Services Consumers Set Iam Policy"
|
|
2245
|
+
]
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"displayName": "POST /v1/{resource}:testIamPermissions",
|
|
2251
|
+
"name": "operation",
|
|
2252
|
+
"type": "notice",
|
|
2253
|
+
"typeOptions": {
|
|
2254
|
+
"theme": "info"
|
|
2255
|
+
},
|
|
2256
|
+
"default": "",
|
|
2257
|
+
"displayOptions": {
|
|
2258
|
+
"show": {
|
|
2259
|
+
"resource": [
|
|
2260
|
+
"Services"
|
|
2261
|
+
],
|
|
2262
|
+
"operation": [
|
|
2263
|
+
"Servicemanagement Services Consumers Test Iam Permissions"
|
|
2264
|
+
]
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"displayName": "Resource",
|
|
2270
|
+
"name": "resource",
|
|
2271
|
+
"required": true,
|
|
2272
|
+
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
|
2273
|
+
"default": "",
|
|
2274
|
+
"type": "string",
|
|
2275
|
+
"displayOptions": {
|
|
2276
|
+
"show": {
|
|
2277
|
+
"resource": [
|
|
2278
|
+
"Services"
|
|
2279
|
+
],
|
|
2280
|
+
"operation": [
|
|
2281
|
+
"Servicemanagement Services Consumers Test Iam Permissions"
|
|
2282
|
+
]
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"displayName": "Permissions",
|
|
2288
|
+
"name": "permissions",
|
|
2289
|
+
"type": "json",
|
|
2290
|
+
"default": "[\n null\n]",
|
|
2291
|
+
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
|
|
2292
|
+
"routing": {
|
|
2293
|
+
"send": {
|
|
2294
|
+
"property": "permissions",
|
|
2295
|
+
"propertyInDotNotation": false,
|
|
2296
|
+
"type": "body",
|
|
2297
|
+
"value": "={{ JSON.parse($value) }}"
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
"displayOptions": {
|
|
2301
|
+
"show": {
|
|
2302
|
+
"resource": [
|
|
2303
|
+
"Services"
|
|
2304
|
+
],
|
|
2305
|
+
"operation": [
|
|
2306
|
+
"Servicemanagement Services Consumers Test Iam Permissions"
|
|
2307
|
+
]
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2311
|
+
];
|
|
2312
|
+
//# sourceMappingURL=index.js.map
|