| OLD | NEW |
| (Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
| 9 "description": "View your data across Google Cloud Platform
services" |
| 10 }, |
| 11 "https://www.googleapis.com/auth/service.management": { |
| 12 "description": "Manage your Google API service configuration
" |
| 13 }, |
| 14 "https://www.googleapis.com/auth/service.management.readonly": { |
| 15 "description": "View your Google API service configuration" |
| 16 } |
| 17 } |
| 18 } |
| 19 }, |
| 20 "basePath": "", |
| 21 "baseUrl": "https://servicemanagement.googleapis.com/", |
| 22 "batchPath": "batch", |
| 23 "canonicalName": "Service Management", |
| 24 "description": "The service management API for Google Cloud Platform", |
| 25 "discoveryVersion": "v1", |
| 26 "documentationLink": "https://cloud.google.com/service-management/", |
| 27 "icons": { |
| 28 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 29 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 30 }, |
| 31 "id": "servicemanagement:v1", |
| 32 "kind": "discovery#restDescription", |
| 33 "name": "servicemanagement", |
| 34 "ownerDomain": "google.com", |
| 35 "ownerName": "Google", |
| 36 "parameters": { |
| 37 "access_token": { |
| 38 "description": "OAuth access token.", |
| 39 "location": "query", |
| 40 "type": "string" |
| 41 }, |
| 42 "prettyPrint": { |
| 43 "default": "true", |
| 44 "description": "Returns response with indentations and line breaks."
, |
| 45 "location": "query", |
| 46 "type": "boolean" |
| 47 }, |
| 48 "key": { |
| 49 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 50 "location": "query", |
| 51 "type": "string" |
| 52 }, |
| 53 "quotaUser": { |
| 54 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 55 "location": "query", |
| 56 "type": "string" |
| 57 }, |
| 58 "pp": { |
| 59 "default": "true", |
| 60 "description": "Pretty-print response.", |
| 61 "location": "query", |
| 62 "type": "boolean" |
| 63 }, |
| 64 "fields": { |
| 65 "description": "Selector specifying which fields to include in a par
tial response.", |
| 66 "location": "query", |
| 67 "type": "string" |
| 68 }, |
| 69 "alt": { |
| 70 "default": "json", |
| 71 "description": "Data format for response.", |
| 72 "enum": [ |
| 73 "json", |
| 74 "media", |
| 75 "proto" |
| 76 ], |
| 77 "enumDescriptions": [ |
| 78 "Responses with Content-Type of application/json", |
| 79 "Media download with context-dependent Content-Type", |
| 80 "Responses with Content-Type of application/x-protobuf" |
| 81 ], |
| 82 "location": "query", |
| 83 "type": "string" |
| 84 }, |
| 85 "$.xgafv": { |
| 86 "description": "V1 error format.", |
| 87 "enum": [ |
| 88 "1", |
| 89 "2" |
| 90 ], |
| 91 "enumDescriptions": [ |
| 92 "v1 error format", |
| 93 "v2 error format" |
| 94 ], |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "callback": { |
| 99 "description": "JSONP", |
| 100 "location": "query", |
| 101 "type": "string" |
| 102 }, |
| 103 "oauth_token": { |
| 104 "description": "OAuth 2.0 token for the current user.", |
| 105 "location": "query", |
| 106 "type": "string" |
| 107 }, |
| 108 "uploadType": { |
| 109 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 110 "location": "query", |
| 111 "type": "string" |
| 112 }, |
| 113 "bearer_token": { |
| 114 "description": "OAuth bearer token.", |
| 115 "location": "query", |
| 116 "type": "string" |
| 117 }, |
| 118 "upload_protocol": { |
| 119 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 120 "location": "query", |
| 121 "type": "string" |
| 122 } |
| 123 }, |
| 124 "protocol": "rest", |
| 125 "resources": { |
| 126 "services": { |
| 127 "methods": { |
| 128 "getIamPolicy": { |
| 129 "description": "Gets the access control policy for a resourc
e.\nReturns an empty policy if the resource exists and does not have a policy\ns
et.", |
| 130 "httpMethod": "POST", |
| 131 "id": "servicemanagement.services.getIamPolicy", |
| 132 "parameterOrder": [ |
| 133 "resource" |
| 134 ], |
| 135 "parameters": { |
| 136 "resource": { |
| 137 "description": "REQUIRED: The resource for which the
policy is being requested.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", |
| 138 "location": "path", |
| 139 "pattern": "^services/[^/]*$", |
| 140 "required": true, |
| 141 "type": "string" |
| 142 } |
| 143 }, |
| 144 "path": "v1/{+resource}:getIamPolicy", |
| 145 "request": { |
| 146 "$ref": "GetIamPolicyRequest" |
| 147 }, |
| 148 "response": { |
| 149 "$ref": "Policy" |
| 150 }, |
| 151 "scopes": [ |
| 152 "https://www.googleapis.com/auth/cloud-platform", |
| 153 "https://www.googleapis.com/auth/service.management" |
| 154 ] |
| 155 }, |
| 156 "disable": { |
| 157 "description": "Disable a managed service for a project.\n\n
Operation<response: DisableServiceResponse>", |
| 158 "httpMethod": "POST", |
| 159 "id": "servicemanagement.services.disable", |
| 160 "parameterOrder": [ |
| 161 "serviceName" |
| 162 ], |
| 163 "parameters": { |
| 164 "serviceName": { |
| 165 "description": "Name of the service to disable. Spec
ifying an unknown service name\nwill cause the request to fail.", |
| 166 "location": "path", |
| 167 "required": true, |
| 168 "type": "string" |
| 169 } |
| 170 }, |
| 171 "path": "v1/services/{serviceName}:disable", |
| 172 "request": { |
| 173 "$ref": "DisableServiceRequest" |
| 174 }, |
| 175 "response": { |
| 176 "$ref": "Operation" |
| 177 }, |
| 178 "scopes": [ |
| 179 "https://www.googleapis.com/auth/cloud-platform", |
| 180 "https://www.googleapis.com/auth/service.management" |
| 181 ] |
| 182 }, |
| 183 "generateConfigReport": { |
| 184 "description": "Generates and returns a report (errors, warn
ings and changes from\nexisting configurations) associated with\nGenerateConfigR
eportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified,
\nGenerateConfigReportRequest will contain a single ChangeReport based on the\nc
omparison between GenerateConfigReportRequest.new_value and\nGenerateConfigRepor
tRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified,
this method\nwill compare GenerateConfigReportRequest.new_value with the last pu
shed\nservice configuration.", |
| 185 "httpMethod": "POST", |
| 186 "id": "servicemanagement.services.generateConfigReport", |
| 187 "parameterOrder": [], |
| 188 "parameters": {}, |
| 189 "path": "v1/services:generateConfigReport", |
| 190 "request": { |
| 191 "$ref": "GenerateConfigReportRequest" |
| 192 }, |
| 193 "response": { |
| 194 "$ref": "GenerateConfigReportResponse" |
| 195 }, |
| 196 "scopes": [ |
| 197 "https://www.googleapis.com/auth/cloud-platform", |
| 198 "https://www.googleapis.com/auth/service.management" |
| 199 ] |
| 200 }, |
| 201 "getConfig": { |
| 202 "description": "Gets a service configuration (version) for a
managed service.", |
| 203 "httpMethod": "GET", |
| 204 "id": "servicemanagement.services.getConfig", |
| 205 "parameterOrder": [ |
| 206 "serviceName" |
| 207 ], |
| 208 "parameters": { |
| 209 "configId": { |
| 210 "location": "query", |
| 211 "type": "string" |
| 212 }, |
| 213 "serviceName": { |
| 214 "description": "The name of the service. See the `S
erviceManager` overview for naming\nrequirements. For example: `example.googlea
pis.com`.", |
| 215 "location": "path", |
| 216 "required": true, |
| 217 "type": "string" |
| 218 } |
| 219 }, |
| 220 "path": "v1/services/{serviceName}/config", |
| 221 "response": { |
| 222 "$ref": "Service" |
| 223 }, |
| 224 "scopes": [ |
| 225 "https://www.googleapis.com/auth/cloud-platform", |
| 226 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 227 "https://www.googleapis.com/auth/service.management", |
| 228 "https://www.googleapis.com/auth/service.management.read
only" |
| 229 ] |
| 230 }, |
| 231 "undelete": { |
| 232 "description": "Revives a previously deleted managed service
. The method restores the\nservice using the configuration at the time the servi
ce was deleted.\nThe target service must exist and must have been deleted within
the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>", |
| 233 "httpMethod": "POST", |
| 234 "id": "servicemanagement.services.undelete", |
| 235 "parameterOrder": [ |
| 236 "serviceName" |
| 237 ], |
| 238 "parameters": { |
| 239 "serviceName": { |
| 240 "description": "The name of the service. See the `Se
rviceManager` overview for naming\nrequirements. For example: `example.googleapi
s.com`.", |
| 241 "location": "path", |
| 242 "required": true, |
| 243 "type": "string" |
| 244 } |
| 245 }, |
| 246 "path": "v1/services/{serviceName}:undelete", |
| 247 "response": { |
| 248 "$ref": "Operation" |
| 249 }, |
| 250 "scopes": [ |
| 251 "https://www.googleapis.com/auth/cloud-platform", |
| 252 "https://www.googleapis.com/auth/service.management" |
| 253 ] |
| 254 }, |
| 255 "get": { |
| 256 "description": "Gets a managed service.", |
| 257 "httpMethod": "GET", |
| 258 "id": "servicemanagement.services.get", |
| 259 "parameterOrder": [ |
| 260 "serviceName" |
| 261 ], |
| 262 "parameters": { |
| 263 "serviceName": { |
| 264 "description": "The name of the service. See the `S
erviceManager` overview for naming\nrequirements. For example: `example.googlea
pis.com`.", |
| 265 "location": "path", |
| 266 "required": true, |
| 267 "type": "string" |
| 268 } |
| 269 }, |
| 270 "path": "v1/services/{serviceName}", |
| 271 "response": { |
| 272 "$ref": "ManagedService" |
| 273 }, |
| 274 "scopes": [ |
| 275 "https://www.googleapis.com/auth/cloud-platform", |
| 276 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 277 "https://www.googleapis.com/auth/service.management", |
| 278 "https://www.googleapis.com/auth/service.management.read
only" |
| 279 ] |
| 280 }, |
| 281 "list": { |
| 282 "description": "Lists all managed services.", |
| 283 "httpMethod": "GET", |
| 284 "id": "servicemanagement.services.list", |
| 285 "parameterOrder": [], |
| 286 "parameters": { |
| 287 "pageSize": { |
| 288 "description": "Requested size of the next page of d
ata.", |
| 289 "format": "int32", |
| 290 "location": "query", |
| 291 "type": "integer" |
| 292 }, |
| 293 "producerProjectId": { |
| 294 "description": "Include services produced by the spe
cified project.", |
| 295 "location": "query", |
| 296 "type": "string" |
| 297 }, |
| 298 "pageToken": { |
| 299 "description": "Token identifying which result to st
art with; returned by a previous list\ncall.", |
| 300 "location": "query", |
| 301 "type": "string" |
| 302 } |
| 303 }, |
| 304 "path": "v1/services", |
| 305 "response": { |
| 306 "$ref": "ListServicesResponse" |
| 307 }, |
| 308 "scopes": [ |
| 309 "https://www.googleapis.com/auth/cloud-platform", |
| 310 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 311 "https://www.googleapis.com/auth/service.management", |
| 312 "https://www.googleapis.com/auth/service.management.read
only" |
| 313 ] |
| 314 }, |
| 315 "create": { |
| 316 "description": "Creates a new managed service.\n\nOperation<
response: ManagedService>", |
| 317 "httpMethod": "POST", |
| 318 "id": "servicemanagement.services.create", |
| 319 "parameterOrder": [], |
| 320 "parameters": {}, |
| 321 "path": "v1/services", |
| 322 "request": { |
| 323 "$ref": "ManagedService" |
| 324 }, |
| 325 "response": { |
| 326 "$ref": "Operation" |
| 327 }, |
| 328 "scopes": [ |
| 329 "https://www.googleapis.com/auth/cloud-platform", |
| 330 "https://www.googleapis.com/auth/service.management" |
| 331 ] |
| 332 }, |
| 333 "enable": { |
| 334 "description": "Enable a managed service for a project with
default setting.\n\nOperation<response: EnableServiceResponse>", |
| 335 "httpMethod": "POST", |
| 336 "id": "servicemanagement.services.enable", |
| 337 "parameterOrder": [ |
| 338 "serviceName" |
| 339 ], |
| 340 "parameters": { |
| 341 "serviceName": { |
| 342 "description": "Name of the service to enable. Speci
fying an unknown service name will\ncause the request to fail.", |
| 343 "location": "path", |
| 344 "required": true, |
| 345 "type": "string" |
| 346 } |
| 347 }, |
| 348 "path": "v1/services/{serviceName}:enable", |
| 349 "request": { |
| 350 "$ref": "EnableServiceRequest" |
| 351 }, |
| 352 "response": { |
| 353 "$ref": "Operation" |
| 354 }, |
| 355 "scopes": [ |
| 356 "https://www.googleapis.com/auth/cloud-platform", |
| 357 "https://www.googleapis.com/auth/service.management" |
| 358 ] |
| 359 }, |
| 360 "setIamPolicy": { |
| 361 "description": "Sets the access control policy on the specif
ied resource. Replaces any\nexisting policy.", |
| 362 "httpMethod": "POST", |
| 363 "id": "servicemanagement.services.setIamPolicy", |
| 364 "parameterOrder": [ |
| 365 "resource" |
| 366 ], |
| 367 "parameters": { |
| 368 "resource": { |
| 369 "description": "REQUIRED: The resource for which the
policy is being specified.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", |
| 370 "location": "path", |
| 371 "pattern": "^services/[^/]*$", |
| 372 "required": true, |
| 373 "type": "string" |
| 374 } |
| 375 }, |
| 376 "path": "v1/{+resource}:setIamPolicy", |
| 377 "request": { |
| 378 "$ref": "SetIamPolicyRequest" |
| 379 }, |
| 380 "response": { |
| 381 "$ref": "Policy" |
| 382 }, |
| 383 "scopes": [ |
| 384 "https://www.googleapis.com/auth/cloud-platform", |
| 385 "https://www.googleapis.com/auth/service.management" |
| 386 ] |
| 387 }, |
| 388 "delete": { |
| 389 "description": "Deletes a managed service. This method will
change the serivce in the\n`Soft-Delete` state for 30 days. Within this period,
service producers may\ncall UndeleteService to restore the service.\nAfter 30 da
ys, the service will be permanently deleted.\n\nOperation<response: google.proto
buf.Empty>", |
| 390 "httpMethod": "DELETE", |
| 391 "id": "servicemanagement.services.delete", |
| 392 "parameterOrder": [ |
| 393 "serviceName" |
| 394 ], |
| 395 "parameters": { |
| 396 "serviceName": { |
| 397 "description": "The name of the service. See the `S
erviceManager` overview for naming\nrequirements. For example: `example.googlea
pis.com`.", |
| 398 "location": "path", |
| 399 "required": true, |
| 400 "type": "string" |
| 401 } |
| 402 }, |
| 403 "path": "v1/services/{serviceName}", |
| 404 "response": { |
| 405 "$ref": "Operation" |
| 406 }, |
| 407 "scopes": [ |
| 408 "https://www.googleapis.com/auth/cloud-platform", |
| 409 "https://www.googleapis.com/auth/service.management" |
| 410 ] |
| 411 }, |
| 412 "testIamPermissions": { |
| 413 "description": "Returns permissions that a caller has on the
specified resource.", |
| 414 "httpMethod": "POST", |
| 415 "id": "servicemanagement.services.testIamPermissions", |
| 416 "parameterOrder": [ |
| 417 "resource" |
| 418 ], |
| 419 "parameters": { |
| 420 "resource": { |
| 421 "description": "REQUIRED: The resource for which the
policy detail is being requested.\n`resource` is usually specified as a path. F
or example, a Project\nresource is specified as `projects/{project}`.", |
| 422 "location": "path", |
| 423 "pattern": "^services/[^/]*$", |
| 424 "required": true, |
| 425 "type": "string" |
| 426 } |
| 427 }, |
| 428 "path": "v1/{+resource}:testIamPermissions", |
| 429 "request": { |
| 430 "$ref": "TestIamPermissionsRequest" |
| 431 }, |
| 432 "response": { |
| 433 "$ref": "TestIamPermissionsResponse" |
| 434 }, |
| 435 "scopes": [ |
| 436 "https://www.googleapis.com/auth/cloud-platform", |
| 437 "https://www.googleapis.com/auth/service.management" |
| 438 ] |
| 439 } |
| 440 }, |
| 441 "resources": { |
| 442 "rollouts": { |
| 443 "methods": { |
| 444 "get": { |
| 445 "description": "Gets a service configuration rollout
.", |
| 446 "httpMethod": "GET", |
| 447 "id": "servicemanagement.services.rollouts.get", |
| 448 "parameterOrder": [ |
| 449 "serviceName", |
| 450 "rolloutId" |
| 451 ], |
| 452 "parameters": { |
| 453 "rolloutId": { |
| 454 "description": "The id of the rollout resour
ce.", |
| 455 "location": "path", |
| 456 "required": true, |
| 457 "type": "string" |
| 458 }, |
| 459 "serviceName": { |
| 460 "description": "The name of the service. Se
e the `ServiceManager` overview for naming\nrequirements. For example: `example
.googleapis.com`.", |
| 461 "location": "path", |
| 462 "required": true, |
| 463 "type": "string" |
| 464 } |
| 465 }, |
| 466 "path": "v1/services/{serviceName}/rollouts/{rollout
Id}", |
| 467 "response": { |
| 468 "$ref": "Rollout" |
| 469 }, |
| 470 "scopes": [ |
| 471 "https://www.googleapis.com/auth/cloud-platform"
, |
| 472 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
| 473 "https://www.googleapis.com/auth/service.managem
ent", |
| 474 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
| 475 ] |
| 476 }, |
| 477 "create": { |
| 478 "description": "Creates a new service configuration
rollout. Based on rollout, the\nGoogle Service Management will roll out the serv
ice configurations to\ndifferent backend services. For example, the logging conf
iguration will be\npushed to Google Cloud Logging.\n\nOperation<response: Rollou
t>", |
| 479 "httpMethod": "POST", |
| 480 "id": "servicemanagement.services.rollouts.create", |
| 481 "parameterOrder": [ |
| 482 "serviceName" |
| 483 ], |
| 484 "parameters": { |
| 485 "serviceName": { |
| 486 "description": "The name of the service. Se
e the `ServiceManager` overview for naming\nrequirements. For example: `example
.googleapis.com`.", |
| 487 "location": "path", |
| 488 "required": true, |
| 489 "type": "string" |
| 490 } |
| 491 }, |
| 492 "path": "v1/services/{serviceName}/rollouts", |
| 493 "request": { |
| 494 "$ref": "Rollout" |
| 495 }, |
| 496 "response": { |
| 497 "$ref": "Operation" |
| 498 }, |
| 499 "scopes": [ |
| 500 "https://www.googleapis.com/auth/cloud-platform"
, |
| 501 "https://www.googleapis.com/auth/service.managem
ent" |
| 502 ] |
| 503 }, |
| 504 "list": { |
| 505 "description": "Lists the history of the service con
figuration rollouts for a managed\nservice, from the newest to the oldest.", |
| 506 "httpMethod": "GET", |
| 507 "id": "servicemanagement.services.rollouts.list", |
| 508 "parameterOrder": [ |
| 509 "serviceName" |
| 510 ], |
| 511 "parameters": { |
| 512 "pageSize": { |
| 513 "description": "The max number of items to i
nclude in the response list.", |
| 514 "format": "int32", |
| 515 "location": "query", |
| 516 "type": "integer" |
| 517 }, |
| 518 "serviceName": { |
| 519 "description": "The name of the service. Se
e the `ServiceManager` overview for naming\nrequirements. For example: `example
.googleapis.com`.", |
| 520 "location": "path", |
| 521 "required": true, |
| 522 "type": "string" |
| 523 }, |
| 524 "pageToken": { |
| 525 "description": "The token of the page to ret
rieve.", |
| 526 "location": "query", |
| 527 "type": "string" |
| 528 } |
| 529 }, |
| 530 "path": "v1/services/{serviceName}/rollouts", |
| 531 "response": { |
| 532 "$ref": "ListServiceRolloutsResponse" |
| 533 }, |
| 534 "scopes": [ |
| 535 "https://www.googleapis.com/auth/cloud-platform"
, |
| 536 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
| 537 "https://www.googleapis.com/auth/service.managem
ent", |
| 538 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
| 539 ] |
| 540 } |
| 541 } |
| 542 }, |
| 543 "configs": { |
| 544 "methods": { |
| 545 "submit": { |
| 546 "description": "Creates a new service configuration
(version) for a managed service based\non\nuser-supplied configuration source fi
les (for example: OpenAPI\nSpecification). This method stores the source configu
rations as well as the\ngenerated service configuration. To rollout the service
configuration to\nother services,\nplease call CreateServiceRollout.\n\nOperatio
n<response: SubmitConfigSourceResponse>", |
| 547 "httpMethod": "POST", |
| 548 "id": "servicemanagement.services.configs.submit", |
| 549 "parameterOrder": [ |
| 550 "serviceName" |
| 551 ], |
| 552 "parameters": { |
| 553 "serviceName": { |
| 554 "description": "The name of the service. Se
e the `ServiceManager` overview for naming\nrequirements. For example: `example
.googleapis.com`.", |
| 555 "location": "path", |
| 556 "required": true, |
| 557 "type": "string" |
| 558 } |
| 559 }, |
| 560 "path": "v1/services/{serviceName}/configs:submit", |
| 561 "request": { |
| 562 "$ref": "SubmitConfigSourceRequest" |
| 563 }, |
| 564 "response": { |
| 565 "$ref": "Operation" |
| 566 }, |
| 567 "scopes": [ |
| 568 "https://www.googleapis.com/auth/cloud-platform"
, |
| 569 "https://www.googleapis.com/auth/service.managem
ent" |
| 570 ] |
| 571 }, |
| 572 "get": { |
| 573 "description": "Gets a service configuration (versio
n) for a managed service.", |
| 574 "httpMethod": "GET", |
| 575 "id": "servicemanagement.services.configs.get", |
| 576 "parameterOrder": [ |
| 577 "serviceName", |
| 578 "configId" |
| 579 ], |
| 580 "parameters": { |
| 581 "configId": { |
| 582 "location": "path", |
| 583 "required": true, |
| 584 "type": "string" |
| 585 }, |
| 586 "serviceName": { |
| 587 "description": "The name of the service. Se
e the `ServiceManager` overview for naming\nrequirements. For example: `example
.googleapis.com`.", |
| 588 "location": "path", |
| 589 "required": true, |
| 590 "type": "string" |
| 591 } |
| 592 }, |
| 593 "path": "v1/services/{serviceName}/configs/{configId
}", |
| 594 "response": { |
| 595 "$ref": "Service" |
| 596 }, |
| 597 "scopes": [ |
| 598 "https://www.googleapis.com/auth/cloud-platform"
, |
| 599 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
| 600 "https://www.googleapis.com/auth/service.managem
ent", |
| 601 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
| 602 ] |
| 603 }, |
| 604 "create": { |
| 605 "description": "Creates a new service configuration
(version) for a managed service.\nThis method only stores the service configurat
ion. To roll out the service\nconfiguration to backend systems please call\nCrea
teServiceRollout.", |
| 606 "httpMethod": "POST", |
| 607 "id": "servicemanagement.services.configs.create", |
| 608 "parameterOrder": [ |
| 609 "serviceName" |
| 610 ], |
| 611 "parameters": { |
| 612 "serviceName": { |
| 613 "description": "The name of the service. Se
e the `ServiceManager` overview for naming\nrequirements. For example: `example
.googleapis.com`.", |
| 614 "location": "path", |
| 615 "required": true, |
| 616 "type": "string" |
| 617 } |
| 618 }, |
| 619 "path": "v1/services/{serviceName}/configs", |
| 620 "request": { |
| 621 "$ref": "Service" |
| 622 }, |
| 623 "response": { |
| 624 "$ref": "Service" |
| 625 }, |
| 626 "scopes": [ |
| 627 "https://www.googleapis.com/auth/cloud-platform"
, |
| 628 "https://www.googleapis.com/auth/service.managem
ent" |
| 629 ] |
| 630 }, |
| 631 "list": { |
| 632 "description": "Lists the history of the service con
figuration for a managed service,\nfrom the newest to the oldest.", |
| 633 "httpMethod": "GET", |
| 634 "id": "servicemanagement.services.configs.list", |
| 635 "parameterOrder": [ |
| 636 "serviceName" |
| 637 ], |
| 638 "parameters": { |
| 639 "pageSize": { |
| 640 "description": "The max number of items to i
nclude in the response list.", |
| 641 "format": "int32", |
| 642 "location": "query", |
| 643 "type": "integer" |
| 644 }, |
| 645 "serviceName": { |
| 646 "description": "The name of the service. Se
e the `ServiceManager` overview for naming\nrequirements. For example: `example
.googleapis.com`.", |
| 647 "location": "path", |
| 648 "required": true, |
| 649 "type": "string" |
| 650 }, |
| 651 "pageToken": { |
| 652 "description": "The token of the page to ret
rieve.", |
| 653 "location": "query", |
| 654 "type": "string" |
| 655 } |
| 656 }, |
| 657 "path": "v1/services/{serviceName}/configs", |
| 658 "response": { |
| 659 "$ref": "ListServiceConfigsResponse" |
| 660 }, |
| 661 "scopes": [ |
| 662 "https://www.googleapis.com/auth/cloud-platform"
, |
| 663 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
| 664 "https://www.googleapis.com/auth/service.managem
ent", |
| 665 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
| 666 ] |
| 667 } |
| 668 } |
| 669 } |
| 670 } |
| 671 }, |
| 672 "operations": { |
| 673 "methods": { |
| 674 "get": { |
| 675 "description": "Gets the latest state of a long-running oper
ation. Clients can use this\nmethod to poll the operation result at intervals a
s recommended by the API\nservice.", |
| 676 "httpMethod": "GET", |
| 677 "id": "servicemanagement.operations.get", |
| 678 "parameterOrder": [ |
| 679 "name" |
| 680 ], |
| 681 "parameters": { |
| 682 "name": { |
| 683 "description": "The name of the operation resource."
, |
| 684 "location": "path", |
| 685 "pattern": "^operations/.*$", |
| 686 "required": true, |
| 687 "type": "string" |
| 688 } |
| 689 }, |
| 690 "path": "v1/{+name}", |
| 691 "response": { |
| 692 "$ref": "Operation" |
| 693 }, |
| 694 "scopes": [ |
| 695 "https://www.googleapis.com/auth/cloud-platform", |
| 696 "https://www.googleapis.com/auth/service.management" |
| 697 ] |
| 698 } |
| 699 } |
| 700 } |
| 701 }, |
| 702 "revision": "20160803", |
| 703 "rootUrl": "https://servicemanagement.googleapis.com/", |
| 704 "schemas": { |
| 705 "Api": { |
| 706 "description": "Api is a light-weight descriptor for a protocol buff
er service.", |
| 707 "id": "Api", |
| 708 "properties": { |
| 709 "methods": { |
| 710 "description": "The methods of this api, in unspecified orde
r.", |
| 711 "items": { |
| 712 "$ref": "Method" |
| 713 }, |
| 714 "type": "array" |
| 715 }, |
| 716 "options": { |
| 717 "description": "Any metadata attached to the API.", |
| 718 "items": { |
| 719 "$ref": "Option" |
| 720 }, |
| 721 "type": "array" |
| 722 }, |
| 723 "sourceContext": { |
| 724 "$ref": "SourceContext", |
| 725 "description": "Source context for the protocol buffer servi
ce represented by this\nmessage." |
| 726 }, |
| 727 "name": { |
| 728 "description": "The fully qualified name of this api, includ
ing package name\nfollowed by the api's simple name.", |
| 729 "type": "string" |
| 730 }, |
| 731 "syntax": { |
| 732 "description": "The source syntax of the service.", |
| 733 "enum": [ |
| 734 "SYNTAX_PROTO2", |
| 735 "SYNTAX_PROTO3" |
| 736 ], |
| 737 "enumDescriptions": [ |
| 738 "Syntax `proto2`.", |
| 739 "Syntax `proto3`." |
| 740 ], |
| 741 "type": "string" |
| 742 }, |
| 743 "version": { |
| 744 "description": "A version string for this api. If specified,
must have the form\n`major-version.minor-version`, as in `1.10`. If the minor v
ersion\nis omitted, it defaults to zero. If the entire version field is\nempty,
the major version is derived from the package name, as\noutlined below. If the f
ield is not empty, the version in the\npackage name will be verified to be consi
stent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nvers
ioning](http://semver.org) where the major version number\nindicates a breaking
change and the minor version an additive,\nnon-breaking change. Both version num
bers are signals to users\nwhat to expect from different versions, and should be
carefully\nchosen based on the product plan.\n\nThe major version is also refle
cted in the package name of the\nAPI, which must end in `v<major-version>`, as i
n\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted.
Zero major versions must only be used for\nexperimental, none-GA apis.\n", |
| 745 "type": "string" |
| 746 }, |
| 747 "mixins": { |
| 748 "description": "Included APIs. See Mixin.", |
| 749 "items": { |
| 750 "$ref": "Mixin" |
| 751 }, |
| 752 "type": "array" |
| 753 } |
| 754 }, |
| 755 "type": "object" |
| 756 }, |
| 757 "SystemParameterRule": { |
| 758 "description": "Define a system parameter rule mapping system parame
ter definitions to\nmethods.", |
| 759 "id": "SystemParameterRule", |
| 760 "properties": { |
| 761 "parameters": { |
| 762 "description": "Define parameters. Multiple names may be def
ined for a parameter.\nFor a given method call, only one of them should be used.
If multiple\nnames are used the behavior is implementation-dependent.\nIf none
of the specified names are present the behavior is\nparameter-dependent.", |
| 763 "items": { |
| 764 "$ref": "SystemParameter" |
| 765 }, |
| 766 "type": "array" |
| 767 }, |
| 768 "selector": { |
| 769 "description": "Selects the methods to which this rule appli
es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta
x details.", |
| 770 "type": "string" |
| 771 } |
| 772 }, |
| 773 "type": "object" |
| 774 }, |
| 775 "ConfigOptions": { |
| 776 "description": "A set of options to cover use of source config withi
n `ServiceManager`\nand related tools.", |
| 777 "id": "ConfigOptions", |
| 778 "properties": {}, |
| 779 "type": "object" |
| 780 }, |
| 781 "Diagnostic": { |
| 782 "description": "Represents a diagnostic message (error or warning)", |
| 783 "id": "Diagnostic", |
| 784 "properties": { |
| 785 "location": { |
| 786 "description": "File name and line number of the error or wa
rning.", |
| 787 "type": "string" |
| 788 }, |
| 789 "kind": { |
| 790 "description": "The kind of diagnostic information provided.
", |
| 791 "enum": [ |
| 792 "WARNING", |
| 793 "ERROR" |
| 794 ], |
| 795 "enumDescriptions": [ |
| 796 "Warnings and errors", |
| 797 "Only errors" |
| 798 ], |
| 799 "type": "string" |
| 800 }, |
| 801 "message": { |
| 802 "description": "Message describing the error or warning.", |
| 803 "type": "string" |
| 804 } |
| 805 }, |
| 806 "type": "object" |
| 807 }, |
| 808 "ChangeReport": { |
| 809 "description": "Change report associated with a particular service c
onfiguration.\n\nIt contains a list of ConfigChanges based on the comparison bet
ween\ntwo service configurations.", |
| 810 "id": "ChangeReport", |
| 811 "properties": { |
| 812 "configChanges": { |
| 813 "description": "List of changes between two service configur
ations.\nThe changes will be alphabetically sorted based on the identifier\nof e
ach change.\nA ConfigChange identifier is a dot separated path to the configurat
ion.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restrictio
n", |
| 814 "items": { |
| 815 "$ref": "ConfigChange" |
| 816 }, |
| 817 "type": "array" |
| 818 } |
| 819 }, |
| 820 "type": "object" |
| 821 }, |
| 822 "MonitoredResourceDescriptor": { |
| 823 "description": "An object that describes the schema of a MonitoredRe
source object using a\ntype name and a set of labels. For example, the monitore
d resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"
gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zo
ne\"` to identify particular VM instances.\n\nDifferent APIs can support differe
nt monitored resource types. APIs generally\nprovide a `list` method that return
s the monitored resource descriptors used\nby the API.", |
| 824 "id": "MonitoredResourceDescriptor", |
| 825 "properties": { |
| 826 "displayName": { |
| 827 "description": "Optional. A concise name for the monitored r
esource type that might be\ndisplayed in user interfaces. For example, `\"Google
Cloud SQL Database\"`.", |
| 828 "type": "string" |
| 829 }, |
| 830 "description": { |
| 831 "description": "Optional. A detailed description of the moni
tored resource type that might\nbe used in documentation.", |
| 832 "type": "string" |
| 833 }, |
| 834 "labels": { |
| 835 "description": "Required. A set of labels used to describe i
nstances of this monitored\nresource type. For example, an individual Google Clo
ud SQL database is\nidentified by values for the labels `\"database_id\"` and `\
"zone\"`.", |
| 836 "items": { |
| 837 "$ref": "LabelDescriptor" |
| 838 }, |
| 839 "type": "array" |
| 840 }, |
| 841 "type": { |
| 842 "description": "Required. The monitored resource type. For e
xample, the type\n`\"cloudsql_database\"` represents databases in Google Cloud S
QL.\nThe maximum length of this value is 256 characters.", |
| 843 "type": "string" |
| 844 }, |
| 845 "name": { |
| 846 "description": "Optional. The resource name of the monitored
resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{ty
pe}\"` where\n{type} is the value of the `type` field in this object and\n{proje
ct_id} is a project ID that provides API-specific context for\naccessing the typ
e. APIs that do not use project information can use the\nresource name format `
\"monitoredResourceDescriptors/{type}\"`.", |
| 847 "type": "string" |
| 848 } |
| 849 }, |
| 850 "type": "object" |
| 851 }, |
| 852 "LogConfig": { |
| 853 "description": "Specifies what kind of log the caller must write\nIn
crement a streamz counter with the specified metric and field names.\n\nMetric n
ames should start with a '/', generally be lowercase-only,\nand end in \"_count\
". Field names should not contain an initial slash.\nThe actual exported metric
names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM requ
est parameters and field values are\ntheir respective values.\n\nAt present the
only supported field names are\n - \"iam_principal\", corresponding to IAMCont
ext.principal;\n - \"\" (empty string), resulting in one aggretated counter wi
th no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \
"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_cou
nt\n {iam_principal=[value of IAMContext.principal]}\n\nA
t this time we do not support:\n* multiple field names (though this may be suppo
rted in the future)\n* decrementing the counter\n* incrementing it by anything o
ther than 1", |
| 854 "id": "LogConfig", |
| 855 "properties": { |
| 856 "dataAccess": { |
| 857 "$ref": "DataAccessOptions", |
| 858 "description": "Data access options." |
| 859 }, |
| 860 "counter": { |
| 861 "$ref": "CounterOptions", |
| 862 "description": "Counter options." |
| 863 }, |
| 864 "cloudAudit": { |
| 865 "$ref": "CloudAuditOptions", |
| 866 "description": "Cloud audit options." |
| 867 } |
| 868 }, |
| 869 "type": "object" |
| 870 }, |
| 871 "Mixin": { |
| 872 "description": "Declares an API to be included in this API. The incl
uding API must\nredeclare all the methods from the included API, but documentati
on\nand options are inherited as follows:\n\n- If after comment and whitespace s
tripping, the documentation\n string of the redeclared method is empty, it will
be inherited\n from the original method.\n\n- Each annotation belonging to the
service config (http,\n visibility) which is not set in the redeclared method
will be\n inherited.\n\n- If an http annotation is inherited, the path pattern
will be\n modified as follows. Any version prefix will be replaced by the\n ve
rsion of the including API plus the root path if specified.\n\nExample of a simp
le mixin:\n\n package google.acl.v1;\n service AccessControl {\n // G
et the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n
option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n
}\n\n package google.storage.v2;\n service Storage {\n // rp
c GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc
GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get
= \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\
n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name:
google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `
AccessControl` are\nalso declared with same name and request/response types in\n
`Storage`. A documentation generator or annotation processor will\nsee the effec
tive `Storage.GetAcl` method after inherting\ndocumentation and annotations as f
ollows:\n\n service Storage {\n // Get the underlying ACL object.\n
rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get
= \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the vers
ion in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the
mixin is specified, it should be a\nrelative path under which inherited HTTP pa
ths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n
mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nTh
is implies the following inherited HTTP annotation:\n\n service Storage {\n
// Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (
Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"
;\n }\n ...\n }", |
| 873 "id": "Mixin", |
| 874 "properties": { |
| 875 "root": { |
| 876 "description": "If non-empty specifies a path under which in
herited HTTP paths\nare rooted.", |
| 877 "type": "string" |
| 878 }, |
| 879 "name": { |
| 880 "description": "The fully qualified name of the API which is
included.", |
| 881 "type": "string" |
| 882 } |
| 883 }, |
| 884 "type": "object" |
| 885 }, |
| 886 "Service": { |
| 887 "description": "`Service` is the root object of the configuration sc
hema. It\ndescribes basic information like the name of the service and the\nexpo
sed API interfaces, and delegates other aspects to configuration\nsub-sections.\
n\nExample:\n\n type: google.api.Service\n config_version: 1\n name: ca
lendar.googleapis.com\n title: Google Calendar API\n apis:\n - name: go
ogle.calendar.Calendar\n backend:\n rules:\n - selector: \"*\"\n
address: calendar.example.com", |
| 888 "id": "Service", |
| 889 "properties": { |
| 890 "id": { |
| 891 "description": "A unique ID for a specific instance of this
message, typically assigned\nby the client for tracking purpose. If empty, the s
erver may choose to\ngenerate one instead.", |
| 892 "type": "string" |
| 893 }, |
| 894 "enums": { |
| 895 "description": "A list of all enum types included in this AP
I service. Enums\nreferenced directly or indirectly by the `apis` are automatic
ally\nincluded. Enums which are not referenced but shall be included\nshould be
listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.Some
Enum", |
| 896 "items": { |
| 897 "$ref": "Enum" |
| 898 }, |
| 899 "type": "array" |
| 900 }, |
| 901 "usage": { |
| 902 "$ref": "Usage", |
| 903 "description": "Configuration controlling usage of this serv
ice." |
| 904 }, |
| 905 "control": { |
| 906 "$ref": "Control", |
| 907 "description": "Configuration for the service control plane.
" |
| 908 }, |
| 909 "title": { |
| 910 "description": "The product title associated with this servi
ce.", |
| 911 "type": "string" |
| 912 }, |
| 913 "http": { |
| 914 "$ref": "Http", |
| 915 "description": "HTTP configuration." |
| 916 }, |
| 917 "systemTypes": { |
| 918 "description": "A list of all proto message types included i
n this API service.\nIt serves similar purpose as [google.api.Service.types], ex
cept that\nthese types are not needed by user-defined APIs. Therefore, they will
not\nshow up in the generated discovery doc. This field should only be used\nto
define system APIs in ESF.", |
| 919 "items": { |
| 920 "$ref": "Type" |
| 921 }, |
| 922 "type": "array" |
| 923 }, |
| 924 "configVersion": { |
| 925 "description": "The version of the service configuration. Th
e config version may\ninfluence interpretation of the configuration, for example
, to\ndetermine defaults. This is documented together with applicable\noptions.
The current default for the config version itself is `3`.", |
| 926 "format": "uint32", |
| 927 "type": "integer" |
| 928 }, |
| 929 "backend": { |
| 930 "$ref": "Backend", |
| 931 "description": "API backend configuration." |
| 932 }, |
| 933 "monitoring": { |
| 934 "$ref": "Monitoring", |
| 935 "description": "Monitoring configuration of the service." |
| 936 }, |
| 937 "visibility": { |
| 938 "$ref": "Visibility", |
| 939 "description": "API visibility configuration." |
| 940 }, |
| 941 "logging": { |
| 942 "$ref": "Logging", |
| 943 "description": "Logging configuration of the service." |
| 944 }, |
| 945 "customError": { |
| 946 "$ref": "CustomError", |
| 947 "description": "Custom error configuration." |
| 948 }, |
| 949 "context": { |
| 950 "$ref": "Context", |
| 951 "description": "Context configuration." |
| 952 }, |
| 953 "apis": { |
| 954 "description": "A list of API interfaces exported by this se
rvice. Only the `name` field\nof the google.protobuf.Api needs to be provided by
the configuration\nauthor, as the remaining fields will be derived from the IDL
during the\nnormalization process. It is an error to specify an API interface h
ere\nwhich cannot be resolved against the associated IDL files.", |
| 955 "items": { |
| 956 "$ref": "Api" |
| 957 }, |
| 958 "type": "array" |
| 959 }, |
| 960 "metrics": { |
| 961 "description": "Defines the metrics used by this service.", |
| 962 "items": { |
| 963 "$ref": "MetricDescriptor" |
| 964 }, |
| 965 "type": "array" |
| 966 }, |
| 967 "systemParameters": { |
| 968 "$ref": "SystemParameters", |
| 969 "description": "Configuration for system parameters." |
| 970 }, |
| 971 "name": { |
| 972 "description": "The DNS address at which this service is ava
ilable,\ne.g. `calendar.googleapis.com`.", |
| 973 "type": "string" |
| 974 }, |
| 975 "producerProjectId": { |
| 976 "description": "The id of the Google developer project that
owns the service.\nMembers of this project can manage the service configuration,
\nmanage consumption of the service, etc.", |
| 977 "type": "string" |
| 978 }, |
| 979 "documentation": { |
| 980 "$ref": "Documentation", |
| 981 "description": "Additional API documentation." |
| 982 }, |
| 983 "monitoredResources": { |
| 984 "description": "Defines the monitored resources used by this
service. This is required\nby the Service.monitoring and Service.logging config
urations.", |
| 985 "items": { |
| 986 "$ref": "MonitoredResourceDescriptor" |
| 987 }, |
| 988 "type": "array" |
| 989 }, |
| 990 "types": { |
| 991 "description": "A list of all proto message types included i
n this API service.\nTypes referenced directly or indirectly by the `apis` are\n
automatically included. Messages which are not referenced but\nshall be include
d, such as types used by the `google.protobuf.Any` type,\nshould be listed here
by name. Example:\n\n types:\n - name: google.protobuf.Int32", |
| 992 "items": { |
| 993 "$ref": "Type" |
| 994 }, |
| 995 "type": "array" |
| 996 }, |
| 997 "logs": { |
| 998 "description": "Defines the logs used by this service.", |
| 999 "items": { |
| 1000 "$ref": "LogDescriptor" |
| 1001 }, |
| 1002 "type": "array" |
| 1003 }, |
| 1004 "authentication": { |
| 1005 "$ref": "Authentication", |
| 1006 "description": "Auth configuration." |
| 1007 } |
| 1008 }, |
| 1009 "type": "object" |
| 1010 }, |
| 1011 "SubmitConfigSourceResponse": { |
| 1012 "description": "Response message for SubmitConfigSource method.", |
| 1013 "id": "SubmitConfigSourceResponse", |
| 1014 "properties": { |
| 1015 "serviceConfig": { |
| 1016 "$ref": "Service", |
| 1017 "description": "The generated service configuration." |
| 1018 } |
| 1019 }, |
| 1020 "type": "object" |
| 1021 }, |
| 1022 "Documentation": { |
| 1023 "description": "`Documentation` provides the information for describ
ing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Goo
gle Calendar API gives access\n to most calendar features.\n pages:\n - nam
e: Overview\n content: (== include google/foo/overview.md ==)\n - na
me: Tutorial\n content: (== include google/foo/tutorial.md ==)\n s
ubpages;\n - name: Java\n content: (== include google/foo/tutorial_j
ava.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n descri
ption: >\n ...\n - selector: google.calendar.Calendar.Put\n description
: >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In
addition to\nstandard markdown features, definition lists, tables and fenced\nco
de blocks are supported. Section headers can be provided and are\ninterpreted re
lative to the section nesting of the context where\na documentation fragment is
embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvi
a the config at normalization time, where documentation provided\nby config rule
s overrides IDL provided.\n\nA number of constructs specific to the API platform
are supported\nin documentation text.\n\nIn order to reference a proto element,
the following\nnotation can be used:\n<pre><code>[fully.qualified.proto.nam
e][]</code></pre>\nTo override the display text used for the link, this can
be used:\n<pre><code>[display text][fully.qualified.proto.name]</code></
pre>\nText can be excluded from doc using the following notation:\n<pre><code>&#
40;-- internal comment --)</code></pre>\nComments can be made conditional us
ing a visibility label. The below\ntext will be only rendered if the `BETA` labe
l is available:\n<pre><code>(--BETA: comment for BETA users --)</code></
pre>\nA few directives are available in documentation. Note that\ndirectives mus
t appear on a single line to be properly\nidentified. The `include` directive in
cludes a markdown file from\nan external source:\n<pre><code>(== include pat
h/to/file ==)</code></pre>\nThe `resource_for` directive marks a message to
be the resource of\na collection in REST view. If it is not specified, tools att
empt\nto infer the resource from the operations in a collection:\n<pre><code>
0;== resource_for v1.shelves.books ==)</code></pre>\nThe directive `suppress
_warning` does not directly affect documentation\nand is documented together wit
h service config validation.", |
| 1024 "id": "Documentation", |
| 1025 "properties": { |
| 1026 "overview": { |
| 1027 "description": "Declares a single overview page. For example
:\n<pre><code>documentation:\n summary: ...\n overview: (== include overvi
ew.md ==)\n</code></pre>\nThis is a shortcut for the following declaration (
using pages style):\n<pre><code>documentation:\n summary: ...\n pages:\n - na
me: Overview\n content: (== include overview.md ==)\n</code></pre>\nN
ote: you cannot specify both `overview` field and `pages` field.", |
| 1028 "type": "string" |
| 1029 }, |
| 1030 "documentationRootUrl": { |
| 1031 "description": "The URL to the root of documentation.", |
| 1032 "type": "string" |
| 1033 }, |
| 1034 "pages": { |
| 1035 "description": "The top level pages for the documentation se
t.", |
| 1036 "items": { |
| 1037 "$ref": "Page" |
| 1038 }, |
| 1039 "type": "array" |
| 1040 }, |
| 1041 "summary": { |
| 1042 "description": "A short summary of what the service does. Ca
n only be provided by\nplain text.", |
| 1043 "type": "string" |
| 1044 }, |
| 1045 "rules": { |
| 1046 "description": "A list of documentation rules that apply to
individual API elements.\n\n**NOTE:** All service configuration rules follow \"l
ast one wins\" order.", |
| 1047 "items": { |
| 1048 "$ref": "DocumentationRule" |
| 1049 }, |
| 1050 "type": "array" |
| 1051 } |
| 1052 }, |
| 1053 "type": "object" |
| 1054 }, |
| 1055 "Policy": { |
| 1056 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", |
| 1057 "id": "Policy", |
| 1058 "properties": { |
| 1059 "auditConfigs": { |
| 1060 "description": "Specifies audit logging configs for \"data a
ccess\".\n\"data access\": generally refers to data reads/writes and admin reads
.\n\"admin activity\": generally refers to admin writes.\n\nNote: `AuditConfig`
doesn't apply to \"admin activity\", which always\nenables audit logging.", |
| 1061 "items": { |
| 1062 "$ref": "AuditConfig" |
| 1063 }, |
| 1064 "type": "array" |
| 1065 }, |
| 1066 "rules": { |
| 1067 "description": "If more than one rule is specified, the rule
s are applied in the following\nmanner:\n- All matching LOG rules are always app
lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin
g will be applied if one or more matching rule requires logging.\n- Otherwise, i
f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi
ll be applied if one or more matching rule requires logging.\n- Otherwise, if no
rule applies, permission is denied.", |
| 1068 "items": { |
| 1069 "$ref": "Rule" |
| 1070 }, |
| 1071 "type": "array" |
| 1072 }, |
| 1073 "bindings": { |
| 1074 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", |
| 1075 "items": { |
| 1076 "$ref": "Binding" |
| 1077 }, |
| 1078 "type": "array" |
| 1079 }, |
| 1080 "etag": { |
| 1081 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", |
| 1082 "format": "byte", |
| 1083 "type": "string" |
| 1084 }, |
| 1085 "iamOwned": { |
| 1086 "type": "boolean" |
| 1087 }, |
| 1088 "version": { |
| 1089 "description": "Version of the `Policy`. The default version
is 0.", |
| 1090 "format": "int32", |
| 1091 "type": "integer" |
| 1092 } |
| 1093 }, |
| 1094 "type": "object" |
| 1095 }, |
| 1096 "OAuthRequirements": { |
| 1097 "description": "OAuth scopes are a way to define data and permission
s on data. For example,\nthere are scopes defined for \"Read-only access to Goog
le Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope fo
r an application,\ngiving it permission to access that data on their behalf.\n\n
OAuth scope specifications should be fairly coarse grained; a user will need\nto
see and understand the text description of what your scope means.\n\nIn most ca
ses: use one or at most two OAuth scopes for an entire family of\nproducts. If y
our product has multiple APIs, you should probably be sharing\nthe OAuth scope a
cross all of those APIs.\n\nWhen you need finer grained OAuth consent screens: t
alk with your product\nmanagement about how developers will use them in practice
.\n\nPlease note that even though each of the canonical scopes is enough for a\n
request to be accepted and passed to the backend, a request can still fail\ndue
to the backend requiring additional scopes or permissions.", |
| 1098 "id": "OAuthRequirements", |
| 1099 "properties": { |
| 1100 "canonicalScopes": { |
| 1101 "description": "The list of publicly documented OAuth scopes
that are allowed access. An\nOAuth token containing any of these scopes will be
accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth
/calendar,\n https://www.googleapis.com/auth/calendar.read
", |
| 1102 "type": "string" |
| 1103 } |
| 1104 }, |
| 1105 "type": "object" |
| 1106 }, |
| 1107 "ListServicesResponse": { |
| 1108 "description": "Response message for `ListServices` method.", |
| 1109 "id": "ListServicesResponse", |
| 1110 "properties": { |
| 1111 "nextPageToken": { |
| 1112 "description": "Token that can be passed to `ListServices` t
o resume a paginated query.", |
| 1113 "type": "string" |
| 1114 }, |
| 1115 "services": { |
| 1116 "description": "The results of the query.", |
| 1117 "items": { |
| 1118 "$ref": "ManagedService" |
| 1119 }, |
| 1120 "type": "array" |
| 1121 } |
| 1122 }, |
| 1123 "type": "object" |
| 1124 }, |
| 1125 "Step": { |
| 1126 "description": "Represents the status of one operation step.", |
| 1127 "id": "Step", |
| 1128 "properties": { |
| 1129 "description": { |
| 1130 "description": "The short description of the step.", |
| 1131 "type": "string" |
| 1132 }, |
| 1133 "status": { |
| 1134 "description": "The status code.", |
| 1135 "enum": [ |
| 1136 "STATUS_UNSPECIFIED", |
| 1137 "DONE", |
| 1138 "NOT_STARTED", |
| 1139 "IN_PROGRESS", |
| 1140 "FAILED", |
| 1141 "CANCELLED" |
| 1142 ], |
| 1143 "enumDescriptions": [ |
| 1144 "Unspecifed code.", |
| 1145 "The step has completed without errors.", |
| 1146 "The step has not started yet.", |
| 1147 "The step is in progress.", |
| 1148 "The step has completed with errors.", |
| 1149 "The step has completed with cancellation." |
| 1150 ], |
| 1151 "type": "string" |
| 1152 } |
| 1153 }, |
| 1154 "type": "object" |
| 1155 }, |
| 1156 "Context": { |
| 1157 "description": "`Context` defines which contexts an API requests.\n\
nExample:\n\n context:\n rules:\n - selector: \"*\"\n reques
ted:\n - google.rpc.context.ProjectContext\n - google.rpc.context.
OriginContext\n\nThe above specifies that all methods in the API request\n`googl
e.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvaila
ble context types are defined in package\n`google.rpc.context`.", |
| 1158 "id": "Context", |
| 1159 "properties": { |
| 1160 "rules": { |
| 1161 "description": "A list of RPC context rules that apply to in
dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last
one wins\" order.", |
| 1162 "items": { |
| 1163 "$ref": "ContextRule" |
| 1164 }, |
| 1165 "type": "array" |
| 1166 } |
| 1167 }, |
| 1168 "type": "object" |
| 1169 }, |
| 1170 "Monitoring": { |
| 1171 "description": "Monitoring configuration of the service.\n\nThe exam
ple below shows how to configure monitored resources and metrics\nfor monitoring
. In the example, a monitored resource and two metrics are\ndefined. The `librar
y.googleapis.com/book/returned_count` metric is sent\nto both producer and consu
mer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is
only sent to the\nconsumer project.\n\n monitored_resources:\n - type: li
brary.googleapis.com/branch\n labels:\n - key: /city\n descript
ion: The city where the library branch is located in.\n - key: /name\n
description: The name of the branch.\n metrics:\n - name: library.googl
eapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64
\n labels:\n - key: /customer_id\n - name: library.googleapis.com/b
ook/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labe
ls:\n - key: /customer_id\n monitoring:\n producer_destinations:\n
- monitored_resource: library.googleapis.com/branch\n metrics:\n
- library.googleapis.com/book/returned_count\n consumer_destinations:\n
- monitored_resource: library.googleapis.com/branch\n metrics:\n
- library.googleapis.com/book/returned_count\n - library.googleapis.
com/book/overdue_count", |
| 1172 "id": "Monitoring", |
| 1173 "properties": { |
| 1174 "producerDestinations": { |
| 1175 "description": "Monitoring configurations for sending metric
s to the producer project.\nThere can be multiple producer destinations, each on
e must have a\ndifferent monitored resource type. A metric can be used in at mos
t\none producer destination.", |
| 1176 "items": { |
| 1177 "$ref": "MonitoringDestination" |
| 1178 }, |
| 1179 "type": "array" |
| 1180 }, |
| 1181 "consumerDestinations": { |
| 1182 "description": "Monitoring configurations for sending metric
s to the consumer project.\nThere can be multiple consumer destinations, each on
e must have a\ndifferent monitored resource type. A metric can be used in at mos
t\none consumer destination.", |
| 1183 "items": { |
| 1184 "$ref": "MonitoringDestination" |
| 1185 }, |
| 1186 "type": "array" |
| 1187 } |
| 1188 }, |
| 1189 "type": "object" |
| 1190 }, |
| 1191 "ManagedService": { |
| 1192 "description": "The full representation of a Service that is managed
by\nGoogle Service Management.", |
| 1193 "id": "ManagedService", |
| 1194 "properties": { |
| 1195 "producerProjectId": { |
| 1196 "description": "ID of the project that produces and owns thi
s service.", |
| 1197 "type": "string" |
| 1198 }, |
| 1199 "serviceName": { |
| 1200 "description": "The name of the service. See the [overview](
/service-management/overview)\nfor naming requirements.\nThis name must match `g
oogle.api.Service.name` in the\n`service_config` field.", |
| 1201 "type": "string" |
| 1202 } |
| 1203 }, |
| 1204 "type": "object" |
| 1205 }, |
| 1206 "ConfigFile": { |
| 1207 "description": "Generic specification of a source configuration file
", |
| 1208 "id": "ConfigFile", |
| 1209 "properties": { |
| 1210 "filePath": { |
| 1211 "description": "The file name of the configuration file (ful
l or relative path).", |
| 1212 "type": "string" |
| 1213 }, |
| 1214 "fileType": { |
| 1215 "description": "The type of configuration file this represen
ts.", |
| 1216 "enum": [ |
| 1217 "FILE_TYPE_UNSPECIFIED", |
| 1218 "SERVICE_CONFIG_YAML", |
| 1219 "OPEN_API_JSON", |
| 1220 "OPEN_API_YAML", |
| 1221 "FILE_DESCRIPTOR_SET_PROTO" |
| 1222 ], |
| 1223 "enumDescriptions": [ |
| 1224 "Unknown file type.", |
| 1225 "YAML-specification of service.", |
| 1226 "OpenAPI specification, serialized in JSON.", |
| 1227 "OpenAPI specification, serialized in YAML.", |
| 1228 "FileDescriptorSet, generated by protoc.\n\nTo generate,
use protoc with imports and source info included.\nFor an example test.proto fi
le, the following command would put the value\nin a new file named out.pb.\n\n$p
rotoc --include_imports --include_source_info test.proto -o out.pb" |
| 1229 ], |
| 1230 "type": "string" |
| 1231 }, |
| 1232 "fileContents": { |
| 1233 "description": "The bytes that constitute the file.", |
| 1234 "format": "byte", |
| 1235 "type": "string" |
| 1236 } |
| 1237 }, |
| 1238 "type": "object" |
| 1239 }, |
| 1240 "ListServiceConfigsResponse": { |
| 1241 "description": "Response message for ListServiceConfigs method.", |
| 1242 "id": "ListServiceConfigsResponse", |
| 1243 "properties": { |
| 1244 "nextPageToken": { |
| 1245 "description": "The token of the next page of results.", |
| 1246 "type": "string" |
| 1247 }, |
| 1248 "serviceConfigs": { |
| 1249 "description": "The list of service configuration resources.
", |
| 1250 "items": { |
| 1251 "$ref": "Service" |
| 1252 }, |
| 1253 "type": "array" |
| 1254 } |
| 1255 }, |
| 1256 "type": "object" |
| 1257 }, |
| 1258 "TrafficPercentStrategy": { |
| 1259 "description": "Strategy that specifies how Google Service Control s
hould select\ndifferent\nversions of service configurations based on traffic per
centage.\n\nOne example of how to gradually rollout a new service configuration
using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.c
om/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\
n \"example.googleapis.com/20160201\": 70.00\n \"example.googl
eapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout {
\n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_s
trategy: {\n percentages: {\n \"example.googleapis.com/20160206\
": 100.00\n }\n }\n }", |
| 1260 "id": "TrafficPercentStrategy", |
| 1261 "properties": { |
| 1262 "percentages": { |
| 1263 "additionalProperties": { |
| 1264 "format": "double", |
| 1265 "type": "number" |
| 1266 }, |
| 1267 "description": "Maps service configuration IDs to their corr
esponding traffic percentage.\nKey is the service configuration ID, Value is the
traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 10
0.0.", |
| 1268 "type": "object" |
| 1269 } |
| 1270 }, |
| 1271 "type": "object" |
| 1272 }, |
| 1273 "GenerateConfigReportRequest": { |
| 1274 "description": "Request message for GenerateConfigReport method.", |
| 1275 "id": "GenerateConfigReportRequest", |
| 1276 "properties": { |
| 1277 "oldConfig": { |
| 1278 "additionalProperties": { |
| 1279 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1280 "type": "any" |
| 1281 }, |
| 1282 "description": "Service configuration against which the comp
arison will be done.\nFor this version of API, the supported types are\ngoogle.a
pi.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource
,\nand google.api.Service", |
| 1283 "type": "object" |
| 1284 }, |
| 1285 "newConfig": { |
| 1286 "additionalProperties": { |
| 1287 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1288 "type": "any" |
| 1289 }, |
| 1290 "description": "Service configuration for which we want to g
enerate the report.\nFor this version of API, the supported types are\ngoogle.ap
i.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource,
\nand google.api.Service", |
| 1291 "type": "object" |
| 1292 } |
| 1293 }, |
| 1294 "type": "object" |
| 1295 }, |
| 1296 "GetIamPolicyRequest": { |
| 1297 "description": "Request message for `GetIamPolicy` method.", |
| 1298 "id": "GetIamPolicyRequest", |
| 1299 "properties": {}, |
| 1300 "type": "object" |
| 1301 }, |
| 1302 "LoggingDestination": { |
| 1303 "description": "Configuration of a specific logging destination (the
producer project\nor the consumer project).", |
| 1304 "id": "LoggingDestination", |
| 1305 "properties": { |
| 1306 "monitoredResource": { |
| 1307 "description": "The monitored resource type. The type must b
e defined in\nService.monitored_resources section.", |
| 1308 "type": "string" |
| 1309 }, |
| 1310 "logs": { |
| 1311 "description": "Names of the logs to be sent to this destina
tion. Each name must\nbe defined in the Service.logs section.", |
| 1312 "items": { |
| 1313 "type": "string" |
| 1314 }, |
| 1315 "type": "array" |
| 1316 } |
| 1317 }, |
| 1318 "type": "object" |
| 1319 }, |
| 1320 "Authentication": { |
| 1321 "description": "`Authentication` defines the authentication configur
ation for an API.\n\nExample for an API targeted for external use:\n\n name:
calendar.googleapis.com\n authentication:\n rules:\n - selector: \"
*\"\n oauth:\n canonical_scopes: https://www.googleapis.com/auth
/calendar\n\n - selector: google.calendar.Delegate\n oauth:\n
canonical_scopes: https://www.googleapis.com/auth/calendar.read", |
| 1322 "id": "Authentication", |
| 1323 "properties": { |
| 1324 "providers": { |
| 1325 "description": "Defines a set of authentication providers th
at a service supports.", |
| 1326 "items": { |
| 1327 "$ref": "AuthProvider" |
| 1328 }, |
| 1329 "type": "array" |
| 1330 }, |
| 1331 "rules": { |
| 1332 "description": "A list of authentication rules that apply to
individual API methods.\n\n**NOTE:** All service configuration rules follow \"l
ast one wins\" order.", |
| 1333 "items": { |
| 1334 "$ref": "AuthenticationRule" |
| 1335 }, |
| 1336 "type": "array" |
| 1337 } |
| 1338 }, |
| 1339 "type": "object" |
| 1340 }, |
| 1341 "Type": { |
| 1342 "description": "A protocol buffer message type.", |
| 1343 "id": "Type", |
| 1344 "properties": { |
| 1345 "oneofs": { |
| 1346 "description": "The list of types appearing in `oneof` defin
itions in this type.", |
| 1347 "items": { |
| 1348 "type": "string" |
| 1349 }, |
| 1350 "type": "array" |
| 1351 }, |
| 1352 "options": { |
| 1353 "description": "The protocol buffer options.", |
| 1354 "items": { |
| 1355 "$ref": "Option" |
| 1356 }, |
| 1357 "type": "array" |
| 1358 }, |
| 1359 "sourceContext": { |
| 1360 "$ref": "SourceContext", |
| 1361 "description": "The source context." |
| 1362 }, |
| 1363 "fields": { |
| 1364 "description": "The list of fields.", |
| 1365 "items": { |
| 1366 "$ref": "Field" |
| 1367 }, |
| 1368 "type": "array" |
| 1369 }, |
| 1370 "name": { |
| 1371 "description": "The fully qualified message name.", |
| 1372 "type": "string" |
| 1373 }, |
| 1374 "syntax": { |
| 1375 "description": "The source syntax.", |
| 1376 "enum": [ |
| 1377 "SYNTAX_PROTO2", |
| 1378 "SYNTAX_PROTO3" |
| 1379 ], |
| 1380 "enumDescriptions": [ |
| 1381 "Syntax `proto2`.", |
| 1382 "Syntax `proto3`." |
| 1383 ], |
| 1384 "type": "string" |
| 1385 } |
| 1386 }, |
| 1387 "type": "object" |
| 1388 }, |
| 1389 "Backend": { |
| 1390 "description": "`Backend` defines the backend configuration for a se
rvice.", |
| 1391 "id": "Backend", |
| 1392 "properties": { |
| 1393 "rules": { |
| 1394 "description": "A list of API backend rules that apply to in
dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last
one wins\" order.", |
| 1395 "items": { |
| 1396 "$ref": "BackendRule" |
| 1397 }, |
| 1398 "type": "array" |
| 1399 } |
| 1400 }, |
| 1401 "type": "object" |
| 1402 }, |
| 1403 "AuditConfig": { |
| 1404 "description": "Enables \"data access\" audit logging for a service
and specifies a list\nof members that are log-exempted.", |
| 1405 "id": "AuditConfig", |
| 1406 "properties": { |
| 1407 "service": { |
| 1408 "description": "Specifies a service that will be enabled for
\"data access\" audit\nlogging.\nFor example, `resourcemanager`, `storage`, `co
mpute`.\n`allServices` is a special value that covers all services.", |
| 1409 "type": "string" |
| 1410 }, |
| 1411 "exemptedMembers": { |
| 1412 "description": "Specifies the identities that are exempted f
rom \"data access\" audit\nlogging for the `service` specified above.\nFollows t
he same format of Binding.members.", |
| 1413 "items": { |
| 1414 "type": "string" |
| 1415 }, |
| 1416 "type": "array" |
| 1417 } |
| 1418 }, |
| 1419 "type": "object" |
| 1420 }, |
| 1421 "ListServiceRolloutsResponse": { |
| 1422 "description": "Response message for ListServiceRollouts method.", |
| 1423 "id": "ListServiceRolloutsResponse", |
| 1424 "properties": { |
| 1425 "rollouts": { |
| 1426 "description": "The list of rollout resources.", |
| 1427 "items": { |
| 1428 "$ref": "Rollout" |
| 1429 }, |
| 1430 "type": "array" |
| 1431 }, |
| 1432 "nextPageToken": { |
| 1433 "description": "The token of the next page of results.", |
| 1434 "type": "string" |
| 1435 } |
| 1436 }, |
| 1437 "type": "object" |
| 1438 }, |
| 1439 "Rollout": { |
| 1440 "description": "A rollout resource that defines how service configur
ation versions are pushed\nto control plane systems. Typically, you create a new
version of the\nservice config, and then create a Rollout to push the service c
onfig.", |
| 1441 "id": "Rollout", |
| 1442 "properties": { |
| 1443 "createdBy": { |
| 1444 "description": "The user who created the Rollout. Readonly."
, |
| 1445 "type": "string" |
| 1446 }, |
| 1447 "trafficPercentStrategy": { |
| 1448 "$ref": "TrafficPercentStrategy", |
| 1449 "description": "Google Service Control selects service confi
gurations based on\ntraffic percentage." |
| 1450 }, |
| 1451 "status": { |
| 1452 "description": "The status of this rollout. Readonly. In cas
e of a failed rollout,\nthe system will automatically rollback to the current Ro
llout\nversion. Readonly.", |
| 1453 "enum": [ |
| 1454 "ROLLOUT_STATUS_UNSPECIFIED", |
| 1455 "IN_PROGRESS", |
| 1456 "SUCCESS", |
| 1457 "CANCELLED", |
| 1458 "FAILED", |
| 1459 "PENDING" |
| 1460 ], |
| 1461 "enumDescriptions": [ |
| 1462 "No status specified.", |
| 1463 "The Rollout is in progress.", |
| 1464 "The Rollout has completed successfully.", |
| 1465 "The Rollout has been cancelled. This can happen if you
have overlapping\nRollout pushes, and the previous ones will be cancelled.", |
| 1466 "The Rollout has failed. It is typically caused by confi
guration errors.", |
| 1467 "The Rollout has started yet and is pending for executio
n." |
| 1468 ], |
| 1469 "type": "string" |
| 1470 }, |
| 1471 "deleteServiceStrategy": { |
| 1472 "$ref": "DeleteServiceStrategy", |
| 1473 "description": "The strategy associated with a rollout to de
lete a `ManagedService`.\nReadonly." |
| 1474 }, |
| 1475 "createTime": { |
| 1476 "description": "Creation time of the rollout. Readonly.", |
| 1477 "format": "google-datetime", |
| 1478 "type": "string" |
| 1479 }, |
| 1480 "serviceName": { |
| 1481 "description": "The name of the service associated with this
Rollout.", |
| 1482 "type": "string" |
| 1483 }, |
| 1484 "rolloutId": { |
| 1485 "description": "Optional unique identifier of this Rollout.
Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by cl
ient, the server will generate one. The generated id\nwill have the form of <dat
e><revision number>, where \"date\" is the create\ndate in ISO 8601 format. \"r
evision number\" is a monotonically increasing\npositive number that is reset ev
ery day for each service.\nAn example of the generated rollout_id is '2016-02-16
r1'", |
| 1486 "type": "string" |
| 1487 } |
| 1488 }, |
| 1489 "type": "object" |
| 1490 }, |
| 1491 "ConfigSource": { |
| 1492 "description": "Represents a source file which is used to generate t
he service configuration\ndefined by `google.api.Service`.", |
| 1493 "id": "ConfigSource", |
| 1494 "properties": { |
| 1495 "files": { |
| 1496 "description": "Set of source configuration files that are u
sed to generate a service\nconfiguration (`google.api.Service`).", |
| 1497 "items": { |
| 1498 "$ref": "ConfigFile" |
| 1499 }, |
| 1500 "type": "array" |
| 1501 }, |
| 1502 "options": { |
| 1503 "$ref": "ConfigOptions", |
| 1504 "description": "Options to cover use of source configuration
within ServiceManager and\ntools" |
| 1505 }, |
| 1506 "id": { |
| 1507 "description": "A unique ID for a specific instance of this
message, typically assigned\nby the client for tracking purpose. If empty, the s
erver may choose to\ngenerate one instead.", |
| 1508 "type": "string" |
| 1509 } |
| 1510 }, |
| 1511 "type": "object" |
| 1512 }, |
| 1513 "Method": { |
| 1514 "description": "Method represents a method of an api.", |
| 1515 "id": "Method", |
| 1516 "properties": { |
| 1517 "requestStreaming": { |
| 1518 "description": "If true, the request is streamed.", |
| 1519 "type": "boolean" |
| 1520 }, |
| 1521 "options": { |
| 1522 "description": "Any metadata attached to the method.", |
| 1523 "items": { |
| 1524 "$ref": "Option" |
| 1525 }, |
| 1526 "type": "array" |
| 1527 }, |
| 1528 "requestTypeUrl": { |
| 1529 "description": "A URL of the input message type.", |
| 1530 "type": "string" |
| 1531 }, |
| 1532 "name": { |
| 1533 "description": "The simple name of this method.", |
| 1534 "type": "string" |
| 1535 }, |
| 1536 "syntax": { |
| 1537 "description": "The source syntax of this method.", |
| 1538 "enum": [ |
| 1539 "SYNTAX_PROTO2", |
| 1540 "SYNTAX_PROTO3" |
| 1541 ], |
| 1542 "enumDescriptions": [ |
| 1543 "Syntax `proto2`.", |
| 1544 "Syntax `proto3`." |
| 1545 ], |
| 1546 "type": "string" |
| 1547 }, |
| 1548 "responseTypeUrl": { |
| 1549 "description": "The URL of the output message type.", |
| 1550 "type": "string" |
| 1551 }, |
| 1552 "responseStreaming": { |
| 1553 "description": "If true, the response is streamed.", |
| 1554 "type": "boolean" |
| 1555 } |
| 1556 }, |
| 1557 "type": "object" |
| 1558 }, |
| 1559 "Operation": { |
| 1560 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
| 1561 "id": "Operation", |
| 1562 "properties": { |
| 1563 "error": { |
| 1564 "$ref": "Status", |
| 1565 "description": "The error result of the operation in case of
failure." |
| 1566 }, |
| 1567 "done": { |
| 1568 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", |
| 1569 "type": "boolean" |
| 1570 }, |
| 1571 "metadata": { |
| 1572 "additionalProperties": { |
| 1573 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1574 "type": "any" |
| 1575 }, |
| 1576 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", |
| 1577 "type": "object" |
| 1578 }, |
| 1579 "response": { |
| 1580 "additionalProperties": { |
| 1581 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1582 "type": "any" |
| 1583 }, |
| 1584 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", |
| 1585 "type": "object" |
| 1586 }, |
| 1587 "name": { |
| 1588 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", |
| 1589 "type": "string" |
| 1590 } |
| 1591 }, |
| 1592 "type": "object" |
| 1593 }, |
| 1594 "Rule": { |
| 1595 "description": "A rule to be applied in a Policy.", |
| 1596 "id": "Rule", |
| 1597 "properties": { |
| 1598 "description": { |
| 1599 "description": "Human-readable description of the rule.", |
| 1600 "type": "string" |
| 1601 }, |
| 1602 "in": { |
| 1603 "description": "If one or more 'in' clauses are specified, t
he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these
entries.", |
| 1604 "items": { |
| 1605 "type": "string" |
| 1606 }, |
| 1607 "type": "array" |
| 1608 }, |
| 1609 "action": { |
| 1610 "description": "Required", |
| 1611 "enum": [ |
| 1612 "NO_ACTION", |
| 1613 "ALLOW", |
| 1614 "ALLOW_WITH_LOG", |
| 1615 "DENY", |
| 1616 "DENY_WITH_LOG", |
| 1617 "LOG" |
| 1618 ], |
| 1619 "enumDescriptions": [ |
| 1620 "Default no action.", |
| 1621 "Matching 'Entries' grant access.", |
| 1622 "Matching 'Entries' grant access and the caller promises
to log\nthe request per the returned log_configs.", |
| 1623 "Matching 'Entries' deny access.", |
| 1624 "Matching 'Entries' deny access and the caller promises
to log\nthe request per the returned log_configs.", |
| 1625 "Matching 'Entries' tell IAM.Check callers to generate l
ogs." |
| 1626 ], |
| 1627 "type": "string" |
| 1628 }, |
| 1629 "conditions": { |
| 1630 "description": "Additional restrictions that must be met", |
| 1631 "items": { |
| 1632 "$ref": "Condition" |
| 1633 }, |
| 1634 "type": "array" |
| 1635 }, |
| 1636 "notIn": { |
| 1637 "description": "If one or more 'not_in' clauses are specifie
d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri
es.\nThe format for in and not_in entries is the same as for members in a\nBindi
ng (see google/iam/v1/policy.proto).", |
| 1638 "items": { |
| 1639 "type": "string" |
| 1640 }, |
| 1641 "type": "array" |
| 1642 }, |
| 1643 "logConfig": { |
| 1644 "description": "The config returned to callers of tech.iam.I
AM.CheckPolicy for any entries\nthat match the LOG action.", |
| 1645 "items": { |
| 1646 "$ref": "LogConfig" |
| 1647 }, |
| 1648 "type": "array" |
| 1649 }, |
| 1650 "permissions": { |
| 1651 "description": "A permission is a string of form '<service>.
<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches
all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all
verbs.", |
| 1652 "items": { |
| 1653 "type": "string" |
| 1654 }, |
| 1655 "type": "array" |
| 1656 } |
| 1657 }, |
| 1658 "type": "object" |
| 1659 }, |
| 1660 "MetricDescriptor": { |
| 1661 "description": "Defines a metric type and its schema.", |
| 1662 "id": "MetricDescriptor", |
| 1663 "properties": { |
| 1664 "description": { |
| 1665 "description": "A detailed description of the metric, which
can be used in documentation.", |
| 1666 "type": "string" |
| 1667 }, |
| 1668 "unit": { |
| 1669 "description": "The unit in which the metric value is report
ed. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIB
UTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMea
sure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n
\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` h
our\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M`
mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P
` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n
* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-
6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (
10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yo
cto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi`
gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includ
es the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these
connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.`
multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is
as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component
} ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotati
on\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\"
;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n
equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`
, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable AS
CII characters not\n containing '{' or '}'.", |
| 1670 "type": "string" |
| 1671 }, |
| 1672 "labels": { |
| 1673 "description": "The set of labels that can be used to descri
be a specific instance of this\nmetric type. For example, the\n`compute.googleap
is.com/instance/network/received_bytes_count` metric type\nhas a label, `loadbal
anced`, that specifies whether the traffic was\nreceived through a load balanced
IP address.", |
| 1674 "items": { |
| 1675 "$ref": "LabelDescriptor" |
| 1676 }, |
| 1677 "type": "array" |
| 1678 }, |
| 1679 "metricKind": { |
| 1680 "description": "Whether the metric records instantaneous val
ues, changes to a value, etc.", |
| 1681 "enum": [ |
| 1682 "METRIC_KIND_UNSPECIFIED", |
| 1683 "GAUGE", |
| 1684 "DELTA", |
| 1685 "CUMULATIVE" |
| 1686 ], |
| 1687 "enumDescriptions": [ |
| 1688 "Do not use this default value.", |
| 1689 "An instantaneous measurement of a value.", |
| 1690 "The change in a value during a time interval.", |
| 1691 "A value accumulated over a time interval. Cumulative\n
measurements in a time series should have the same start time\nand increasing en
d times, until an event resets the cumulative\nvalue to zero and sets a new star
t time for the following\npoints." |
| 1692 ], |
| 1693 "type": "string" |
| 1694 }, |
| 1695 "valueType": { |
| 1696 "description": "Whether the measurement is an integer, a flo
ating-point number, etc.", |
| 1697 "enum": [ |
| 1698 "VALUE_TYPE_UNSPECIFIED", |
| 1699 "BOOL", |
| 1700 "INT64", |
| 1701 "DOUBLE", |
| 1702 "STRING", |
| 1703 "DISTRIBUTION", |
| 1704 "MONEY" |
| 1705 ], |
| 1706 "enumDescriptions": [ |
| 1707 "Do not use this default value.", |
| 1708 "The value is a boolean.\nThis value type can be used on
ly if the metric kind is `GAUGE`.", |
| 1709 "The value is a signed 64-bit integer.", |
| 1710 "The value is a double precision floating point number."
, |
| 1711 "The value is a text string.\nThis value type can be use
d only if the metric kind is `GAUGE`.", |
| 1712 "The value is a `Distribution`.", |
| 1713 "The value is money." |
| 1714 ], |
| 1715 "type": "string" |
| 1716 }, |
| 1717 "displayName": { |
| 1718 "description": "A concise name for the metric, which can be
displayed in user interfaces.\nUse sentence case without an ending period, for e
xample \"Request count\".", |
| 1719 "type": "string" |
| 1720 }, |
| 1721 "name": { |
| 1722 "description": "Resource name. The format of the name may va
ry between different\nimplementations. For examples:\n\n projects/{project_id
}/metricDescriptors/{type=**}\n metricDescriptors/{type=**}", |
| 1723 "type": "string" |
| 1724 }, |
| 1725 "type": { |
| 1726 "description": "The metric type including a DNS name prefix,
for example\n`\"compute.googleapis.com/instance/cpu/utilization\"`. Metric type
s\nshould use a natural hierarchical grouping such as the following:\n\n comp
ute.googleapis.com/instance/cpu/utilization\n compute.googleapis.com/instance
/disk/read_ops_count\n compute.googleapis.com/instance/network/received_bytes
_count\n\nNote that if the metric type changes, the monitoring data will be\ndis
continued, and anything depends on it will break, such as monitoring\ndashboards
, alerting rules and quota limits. Therefore, once a metric has\nbeen published,
its type should be immutable.", |
| 1727 "type": "string" |
| 1728 } |
| 1729 }, |
| 1730 "type": "object" |
| 1731 }, |
| 1732 "EnableServiceRequest": { |
| 1733 "description": "Request message for EnableService method.", |
| 1734 "id": "EnableServiceRequest", |
| 1735 "properties": { |
| 1736 "consumerId": { |
| 1737 "description": "The identity of consumer resource which serv
ice enablement will be\napplied to.\n\nThe Google Service Management implementat
ion accepts the following\nforms: \"project:<project_id>\", \"project_number:<pr
oject_number>\".\n\nNote: this is made compatible with\ngoogle.api.servicecontro
l.v1.Operation.consumer_id.", |
| 1738 "type": "string" |
| 1739 } |
| 1740 }, |
| 1741 "type": "object" |
| 1742 }, |
| 1743 "DocumentationRule": { |
| 1744 "description": "A documentation rule provides information about indi
vidual API elements.", |
| 1745 "id": "DocumentationRule", |
| 1746 "properties": { |
| 1747 "description": { |
| 1748 "description": "Description of the selected API(s).", |
| 1749 "type": "string" |
| 1750 }, |
| 1751 "deprecationDescription": { |
| 1752 "description": "Deprecation description of the selected elem
ent(s). It can be provided if an\nelement is marked as `deprecated`.", |
| 1753 "type": "string" |
| 1754 }, |
| 1755 "selector": { |
| 1756 "description": "The selector is a comma-separated list of pa
tterns. Each pattern is a\nqualified name of the element which may end in \"*\",
indicating a wildcard.\nWildcards are only allowed at the end and for a whole c
omponent of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"f
oo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern
\"*\"\nis used.", |
| 1757 "type": "string" |
| 1758 } |
| 1759 }, |
| 1760 "type": "object" |
| 1761 }, |
| 1762 "SetIamPolicyRequest": { |
| 1763 "description": "Request message for `SetIamPolicy` method.", |
| 1764 "id": "SetIamPolicyRequest", |
| 1765 "properties": { |
| 1766 "policy": { |
| 1767 "$ref": "Policy", |
| 1768 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." |
| 1769 } |
| 1770 }, |
| 1771 "type": "object" |
| 1772 }, |
| 1773 "CounterOptions": { |
| 1774 "description": "Options for counters", |
| 1775 "id": "CounterOptions", |
| 1776 "properties": { |
| 1777 "metric": { |
| 1778 "description": "The metric to update.", |
| 1779 "type": "string" |
| 1780 }, |
| 1781 "field": { |
| 1782 "description": "The field value to attribute.", |
| 1783 "type": "string" |
| 1784 } |
| 1785 }, |
| 1786 "type": "object" |
| 1787 }, |
| 1788 "Condition": { |
| 1789 "description": "A condition to be met.", |
| 1790 "id": "Condition", |
| 1791 "properties": { |
| 1792 "sys": { |
| 1793 "description": "Trusted attributes supplied by any service t
hat owns resources and uses\nthe IAM system for access control.", |
| 1794 "enum": [ |
| 1795 "NO_ATTR", |
| 1796 "REGION", |
| 1797 "SERVICE", |
| 1798 "NAME", |
| 1799 "IP" |
| 1800 ], |
| 1801 "enumDescriptions": [ |
| 1802 "Default non-attribute type", |
| 1803 "Region of the resource", |
| 1804 "Service name", |
| 1805 "Resource name", |
| 1806 "IP address of the caller" |
| 1807 ], |
| 1808 "type": "string" |
| 1809 }, |
| 1810 "values": { |
| 1811 "description": "The objects of the condition. This is mutual
ly exclusive with 'value'.", |
| 1812 "items": { |
| 1813 "type": "string" |
| 1814 }, |
| 1815 "type": "array" |
| 1816 }, |
| 1817 "iam": { |
| 1818 "description": "Trusted attributes supplied by the IAM syste
m.", |
| 1819 "enum": [ |
| 1820 "NO_ATTR", |
| 1821 "AUTHORITY", |
| 1822 "ATTRIBUTION" |
| 1823 ], |
| 1824 "enumDescriptions": [ |
| 1825 "Default non-attribute.", |
| 1826 "Either principal or (if present) authority", |
| 1827 "selector\nAlways the original principal, but making cle
ar" |
| 1828 ], |
| 1829 "type": "string" |
| 1830 }, |
| 1831 "op": { |
| 1832 "description": "An operator to apply the subject with.", |
| 1833 "enum": [ |
| 1834 "NO_OP", |
| 1835 "EQUALS", |
| 1836 "NOT_EQUALS", |
| 1837 "IN", |
| 1838 "NOT_IN", |
| 1839 "DISCHARGED" |
| 1840 ], |
| 1841 "enumDescriptions": [ |
| 1842 "Default no-op.", |
| 1843 "DEPRECATED. Use IN instead.", |
| 1844 "DEPRECATED. Use NOT_IN instead.", |
| 1845 "Set-inclusion check.", |
| 1846 "Set-exclusion check.", |
| 1847 "Subject is discharged" |
| 1848 ], |
| 1849 "type": "string" |
| 1850 }, |
| 1851 "value": { |
| 1852 "description": "DEPRECATED. Use 'values' instead.", |
| 1853 "type": "string" |
| 1854 }, |
| 1855 "svc": { |
| 1856 "description": "Trusted attributes discharged by the service
.", |
| 1857 "type": "string" |
| 1858 } |
| 1859 }, |
| 1860 "type": "object" |
| 1861 }, |
| 1862 "Status": { |
| 1863 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", |
| 1864 "id": "Status", |
| 1865 "properties": { |
| 1866 "code": { |
| 1867 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 1868 "format": "int32", |
| 1869 "type": "integer" |
| 1870 }, |
| 1871 "details": { |
| 1872 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
| 1873 "items": { |
| 1874 "additionalProperties": { |
| 1875 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 1876 "type": "any" |
| 1877 }, |
| 1878 "type": "object" |
| 1879 }, |
| 1880 "type": "array" |
| 1881 }, |
| 1882 "message": { |
| 1883 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", |
| 1884 "type": "string" |
| 1885 } |
| 1886 }, |
| 1887 "type": "object" |
| 1888 }, |
| 1889 "Page": { |
| 1890 "description": "Represents a documentation page. A page can contain
subpages to represent\nnested documentation set structure.", |
| 1891 "id": "Page", |
| 1892 "properties": { |
| 1893 "subpages": { |
| 1894 "description": "Subpages of this page. The order of subpages
specified here will be\nhonored in the generated docset.", |
| 1895 "items": { |
| 1896 "$ref": "Page" |
| 1897 }, |
| 1898 "type": "array" |
| 1899 }, |
| 1900 "content": { |
| 1901 "description": "The Markdown content of the page. You can us
e <code>(== include {path} ==)</code>\nto include content from a Markdow
n file.", |
| 1902 "type": "string" |
| 1903 }, |
| 1904 "name": { |
| 1905 "description": "The name of the page. It will be used as an
identity of the page to\ngenerate URI of the page, text of the link to this page
in navigation,\netc. The full page name (start from the root page name to this
page\nconcatenated with `.`) can be used as reference to the page in your\ndocum
entation. For example:\n<pre><code>pages:\n- name: Tutorial\n content: (==
include tutorial.md ==)\n subpages:\n - name: Java\n content: (== i
nclude tutorial_java.md ==)\n</code></pre>\nYou can reference `Java` page us
ing Markdown reference link syntax:\n`Java`.", |
| 1906 "type": "string" |
| 1907 } |
| 1908 }, |
| 1909 "type": "object" |
| 1910 }, |
| 1911 "CustomErrorRule": { |
| 1912 "description": "A custom error rule.", |
| 1913 "id": "CustomErrorRule", |
| 1914 "properties": { |
| 1915 "isErrorType": { |
| 1916 "description": "Mark this message as possible payload in err
or response. Otherwise,\nobjects of this type will be filtered when they appear
in error payload.", |
| 1917 "type": "boolean" |
| 1918 }, |
| 1919 "selector": { |
| 1920 "description": "Selects messages to which this rule applies.
\n\nRefer to selector for syntax details.", |
| 1921 "type": "string" |
| 1922 } |
| 1923 }, |
| 1924 "type": "object" |
| 1925 }, |
| 1926 "Option": { |
| 1927 "description": "A protocol buffer option, which can be attached to a
message, field,\nenumeration, etc.", |
| 1928 "id": "Option", |
| 1929 "properties": { |
| 1930 "value": { |
| 1931 "additionalProperties": { |
| 1932 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1933 "type": "any" |
| 1934 }, |
| 1935 "description": "The option's value. For example, `\"com.goog
le.protobuf\"`.", |
| 1936 "type": "object" |
| 1937 }, |
| 1938 "name": { |
| 1939 "description": "The option's name. For example, `\"java_pack
age\"`.", |
| 1940 "type": "string" |
| 1941 } |
| 1942 }, |
| 1943 "type": "object" |
| 1944 }, |
| 1945 "HttpRule": { |
| 1946 "description": "`HttpRule` defines the mapping of an RPC method to o
ne or more HTTP\nREST APIs. The mapping determines what portions of the request
\nmessage are populated from the path, query parameters, or body of\nthe HTTP re
quest. The mapping is typically specified as an\n`google.api.http` annotation,
see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a
field specifying the path template and\nmethod kind. The path template can refe
r to fields in the request\nmessage, as in the example below which describes a R
EST GET\noperation on a resource collection of messages:\n\n```proto\nservice Me
ssaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (
google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n}\nme
ssage GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }
\n string message_id = 1; // mapped to the URL\n SubMessage sub = 2; // `su
b.subfield` is url-mapped\n}\nmessage Message {\n string text = 1; // content o
f the resource\n}\n```\n\nThis definition enables an automatic, bidrectional map
ping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/message
s/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(subfield: \"
foo\"))`\n\nIn general, not only fields but also field paths can be referenced\n
from a path pattern. Fields mapped to the path pattern cannot be\nrepeated and m
ust have a primitive (non-message) type.\n\nAny fields in the request message wh
ich are not bound by the path\npattern automatically become (optional) HTTP quer
y\nparameters. Assume the following definition of the request message:\n\n```pro
to\nmessage GetMessageRequest {\n message SubMessage {\n string subfield = 1
;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2;
// becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a par
ameter\n}\n```\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RP
C\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMess
age(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nN
ote that fields which are mapped to HTTP parameters must have a\nprimitive type
or a repeated primitive type. Message types are not\nallowed. In the case of a r
epeated type, the parameter can be\nrepeated in the URL, as in `...?param=A¶
m=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspe
cifies the mapping. Consider a REST update method on the\nmessage resource colle
ction:\n\n```proto\nservice Messaging {\n rpc UpdateMessage(UpdateMessageReques
t) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messa
ges/{message_id}\"\n body: \"message\"\n };\n }\n}\nmessage UpdateMessa
geRequest {\n string message_id = 1; // mapped to the URL\n Message message =
2; // mapped to the body\n}\n```\n\nThe following HTTP JSON to RPC mapping is
enabled, where the\nrepresentation of the JSON in the request body is determined
by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456
{ \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \
"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define tha
t\nevery field not bound by the path template should be mapped to the\nrequest b
ody. This enables the following alternative definition of\nthe update method:\n
\n```proto\nservice Messaging {\n rpc UpdateMessage(Message) returns (Message)
{\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n
body: \"*\"\n };\n }\n}\nmessage Message {\n string message_id = 1;\n
string text = 2;\n}\n```\n\nThe following HTTP JSON to RPC mapping is enabled:\
n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `U
pdateMessage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*`
in the body mapping, it is not possible to\nhave HTTP parameters, as all fields
not bound by the path end in\nthe body. This makes this option more rarely used
in practice of\ndefining REST APIs. The common usage of `*` is in custom methods
\nwhich don't use the URL at all for transferring data.\n\nIt is possible to def
ine multiple HTTP methods for one RPC by using\nthe `additional_bindings` option
. Example:\n\n```proto\nservice Messaging {\n rpc GetMessage(GetMessageRequest)
returns (Message) {\n option (google.api.http) = {\n get: \"/v1/message
s/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id
}/messages/{message_id}\"\n }\n };\n }\n}\nmessage GetMessageRequest {\
n string message_id = 1;\n string user_id = 2;\n}\n```\n\nThis enables the fol
lowing two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`
GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/
me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n#
Rules for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and
body fields\nto the request message are as follows:\n\n1. The `body` field spec
ifies either `*` or a field path, or is\n omitted. If omitted, it assumes ther
e is no HTTP body.\n2. Leaf fields (recursive expansion of nested messages in th
e\n request) can be classified into three types:\n (a) Matched in the URL t
emplate.\n (b) Covered by body (if body is `*`, everything except (a) fields;
\n else everything under the body field)\n (c) All other fields.\n3. U
RL query parameters found in the HTTP request are mapped to (c) fields.\n4. Any
body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the
path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n S
egments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL |
Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n Fiel
dPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*
` matches a single path segment. It follows the semantics of\n[RFC 6570](https:/
/tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syn
tax `**` matches zero or more path segments. It follows the semantics\nof [RFC 6
570](https://tools.ietf.org/html/rfc6570) Section 3.2.3 Reserved\nExpansion.\n\n
The syntax `LITERAL` matches literal text in the URL path.\n\nThe syntax `Variab
le` matches the entire path as specified by its template;\nthis nested template
must not contain further variables. If a variable\nmatches a single path segment
, its template may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nNOTE
: the field paths in variables and in the `body` must not refer to\nrepeated fie
lds or map fields.\n\nUse CustomHttpPattern to specify any HTTP method that is n
ot included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP me
thod unspecified for\na given URL path rule. The wild-card rule is useful for se
rvices that provide\ncontent to Web (HTML) clients.", |
| 1947 "id": "HttpRule", |
| 1948 "properties": { |
| 1949 "custom": { |
| 1950 "$ref": "CustomHttpPattern", |
| 1951 "description": "Custom pattern is used for defining custom v
erbs." |
| 1952 }, |
| 1953 "responseBody": { |
| 1954 "description": "The name of the response field whose value i
s mapped to the HTTP body of\nresponse. Other response fields are ignored. This
field is optional. When\nnot set, the response message will be used as HTTP body
of response.\nNOTE: the referred field must be not a repeated field and must be
present\nat the top-level of response message type.", |
| 1955 "type": "string" |
| 1956 }, |
| 1957 "additionalBindings": { |
| 1958 "description": "Additional HTTP bindings for the selector. N
ested bindings must\nnot contain an `additional_bindings` field themselves (that
is,\nthe nesting may only be one level deep).", |
| 1959 "items": { |
| 1960 "$ref": "HttpRule" |
| 1961 }, |
| 1962 "type": "array" |
| 1963 }, |
| 1964 "mediaDownload": { |
| 1965 "$ref": "MediaDownload", |
| 1966 "description": "Do not use this. For media support, add inst
ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration." |
| 1967 }, |
| 1968 "body": { |
| 1969 "description": "The name of the request field whose value is
mapped to the HTTP body, or\n`*` for mapping all fields not captured by the pat
h pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated fie
ld and must be\npresent at the top-level of response message type.", |
| 1970 "type": "string" |
| 1971 }, |
| 1972 "put": { |
| 1973 "description": "Used for updating a resource.", |
| 1974 "type": "string" |
| 1975 }, |
| 1976 "get": { |
| 1977 "description": "Used for listing and getting information abo
ut resources.", |
| 1978 "type": "string" |
| 1979 }, |
| 1980 "selector": { |
| 1981 "description": "Selects methods to which this rule applies.\
n\nRefer to selector for syntax details.", |
| 1982 "type": "string" |
| 1983 }, |
| 1984 "post": { |
| 1985 "description": "Used for creating a resource.", |
| 1986 "type": "string" |
| 1987 }, |
| 1988 "patch": { |
| 1989 "description": "Used for updating a resource.", |
| 1990 "type": "string" |
| 1991 }, |
| 1992 "delete": { |
| 1993 "description": "Used for deleting a resource.", |
| 1994 "type": "string" |
| 1995 }, |
| 1996 "mediaUpload": { |
| 1997 "$ref": "MediaUpload", |
| 1998 "description": "Do not use this. For media support, add inst
ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration." |
| 1999 } |
| 2000 }, |
| 2001 "type": "object" |
| 2002 }, |
| 2003 "TestIamPermissionsRequest": { |
| 2004 "description": "Request message for `TestIamPermissions` method.", |
| 2005 "id": "TestIamPermissionsRequest", |
| 2006 "properties": { |
| 2007 "permissions": { |
| 2008 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", |
| 2009 "items": { |
| 2010 "type": "string" |
| 2011 }, |
| 2012 "type": "array" |
| 2013 } |
| 2014 }, |
| 2015 "type": "object" |
| 2016 }, |
| 2017 "TestIamPermissionsResponse": { |
| 2018 "description": "Response message for `TestIamPermissions` method.", |
| 2019 "id": "TestIamPermissionsResponse", |
| 2020 "properties": { |
| 2021 "permissions": { |
| 2022 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
| 2023 "items": { |
| 2024 "type": "string" |
| 2025 }, |
| 2026 "type": "array" |
| 2027 } |
| 2028 }, |
| 2029 "type": "object" |
| 2030 }, |
| 2031 "CustomError": { |
| 2032 "description": "Customize service error responses. For example, lis
t any service\nspecific protobuf types that can appear in error detail lists of\
nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google
.foo.v1.CustomError\n - google.foo.v1.AnotherError", |
| 2033 "id": "CustomError", |
| 2034 "properties": { |
| 2035 "types": { |
| 2036 "description": "The list of custom error detail types, e.g.
'google.foo.v1.CustomError'.", |
| 2037 "items": { |
| 2038 "type": "string" |
| 2039 }, |
| 2040 "type": "array" |
| 2041 }, |
| 2042 "rules": { |
| 2043 "description": "The list of custom error rules that apply to
individual API messages.\n\n**NOTE:** All service configuration rules follow \"
last one wins\" order.", |
| 2044 "items": { |
| 2045 "$ref": "CustomErrorRule" |
| 2046 }, |
| 2047 "type": "array" |
| 2048 } |
| 2049 }, |
| 2050 "type": "object" |
| 2051 }, |
| 2052 "MediaDownload": { |
| 2053 "description": "Do not use this. For media support, add instead\n[][
google.bytestream.RestByteStream] as an API to your\nconfiguration.", |
| 2054 "id": "MediaDownload", |
| 2055 "properties": { |
| 2056 "enabled": { |
| 2057 "description": "Whether download is enabled.", |
| 2058 "type": "boolean" |
| 2059 } |
| 2060 }, |
| 2061 "type": "object" |
| 2062 }, |
| 2063 "SubmitConfigSourceRequest": { |
| 2064 "description": "Request message for SubmitConfigSource method.", |
| 2065 "id": "SubmitConfigSourceRequest", |
| 2066 "properties": { |
| 2067 "configSource": { |
| 2068 "$ref": "ConfigSource", |
| 2069 "description": "The source configuration for the service." |
| 2070 }, |
| 2071 "validateOnly": { |
| 2072 "description": "Optional. If set, this will result in the ge
neration of a\n`google.api.Service` configuration based on the `ConfigSource` pr
ovided,\nbut the generated config and the sources will NOT be persisted.", |
| 2073 "type": "boolean" |
| 2074 } |
| 2075 }, |
| 2076 "type": "object" |
| 2077 }, |
| 2078 "AuthenticationRule": { |
| 2079 "description": "Authentication rules for the service.\n\nBy default,
if a method has any authentication requirements, every request\nmust include a
valid credential matching one of the requirements.\nIt's an error to include mor
e than one kind of credential in a single\nrequest.\n\nIf a method doesn't have
any auth requirements, request credentials will be\nignored.", |
| 2080 "id": "AuthenticationRule", |
| 2081 "properties": { |
| 2082 "oauth": { |
| 2083 "$ref": "OAuthRequirements", |
| 2084 "description": "The requirements for OAuth credentials." |
| 2085 }, |
| 2086 "allowWithoutCredential": { |
| 2087 "description": "Whether to allow requests without a credenti
al. If quota is enabled, an\nAPI key is required for such request to pass the q
uota check.", |
| 2088 "type": "boolean" |
| 2089 }, |
| 2090 "requirements": { |
| 2091 "description": "Requirements for additional authentication p
roviders.", |
| 2092 "items": { |
| 2093 "$ref": "AuthRequirement" |
| 2094 }, |
| 2095 "type": "array" |
| 2096 }, |
| 2097 "selector": { |
| 2098 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", |
| 2099 "type": "string" |
| 2100 } |
| 2101 }, |
| 2102 "type": "object" |
| 2103 }, |
| 2104 "Logging": { |
| 2105 "description": "Logging configuration of the service.\n\nThe followi
ng example shows how to configure logs to be sent to the\nproducer and consumer
projects. In the example,\nthe `library.googleapis.com/activity_history` log is\
nsent to both the producer and consumer projects, whereas\nthe `library.googleap
is.com/purchase_history` log is only sent to the\nproducer project:\n\n monit
ored_resources:\n - type: library.googleapis.com/branch\n labels:\n
- key: /city\n description: The city where the library branch is located
in.\n - key: /name\n description: The name of the branch.\n logs
:\n - name: library.googleapis.com/activity_history\n labels:\n - k
ey: /customer_id\n - name: library.googleapis.com/purchase_history\n loggi
ng:\n producer_destinations:\n - monitored_resource: library.googleapi
s.com/branch\n logs:\n - library.googleapis.com/activity_history\n
- library.googleapis.com/purchase_history\n consumer_destinations:\
n - monitored_resource: library.googleapis.com/branch\n logs:\n
- library.googleapis.com/activity_history", |
| 2106 "id": "Logging", |
| 2107 "properties": { |
| 2108 "producerDestinations": { |
| 2109 "description": "Logging configurations for sending logs to t
he producer project.\nThere can be multiple producer destinations, each one must
have a\ndifferent monitored resource type. A log can be used in at most\none pr
oducer destination.", |
| 2110 "items": { |
| 2111 "$ref": "LoggingDestination" |
| 2112 }, |
| 2113 "type": "array" |
| 2114 }, |
| 2115 "consumerDestinations": { |
| 2116 "description": "Logging configurations for sending logs to t
he consumer project.\nThere can be multiple consumer destinations, each one must
have a\ndifferent monitored resource type. A log can be used in at most\none co
nsumer destination.", |
| 2117 "items": { |
| 2118 "$ref": "LoggingDestination" |
| 2119 }, |
| 2120 "type": "array" |
| 2121 } |
| 2122 }, |
| 2123 "type": "object" |
| 2124 }, |
| 2125 "SystemParameter": { |
| 2126 "description": "Define a parameter's name and location. The paramete
r may be passed as either\nan HTTP header or a URL query parameter, and if both
are passed the behavior\nis implementation-dependent.", |
| 2127 "id": "SystemParameter", |
| 2128 "properties": { |
| 2129 "urlQueryParameter": { |
| 2130 "description": "Define the URL query parameter name to use f
or the parameter. It is case\nsensitive.", |
| 2131 "type": "string" |
| 2132 }, |
| 2133 "name": { |
| 2134 "description": "Define the name of the parameter, such as \"
api_key\", \"alt\", \"callback\",\nand etc. It is case sensitive.", |
| 2135 "type": "string" |
| 2136 }, |
| 2137 "httpHeader": { |
| 2138 "description": "Define the HTTP header name to use for the p
arameter. It is case\ninsensitive.", |
| 2139 "type": "string" |
| 2140 } |
| 2141 }, |
| 2142 "type": "object" |
| 2143 }, |
| 2144 "Enum": { |
| 2145 "description": "Enum type definition.", |
| 2146 "id": "Enum", |
| 2147 "properties": { |
| 2148 "syntax": { |
| 2149 "description": "The source syntax.", |
| 2150 "enum": [ |
| 2151 "SYNTAX_PROTO2", |
| 2152 "SYNTAX_PROTO3" |
| 2153 ], |
| 2154 "enumDescriptions": [ |
| 2155 "Syntax `proto2`.", |
| 2156 "Syntax `proto3`." |
| 2157 ], |
| 2158 "type": "string" |
| 2159 }, |
| 2160 "enumvalue": { |
| 2161 "description": "Enum value definitions.", |
| 2162 "items": { |
| 2163 "$ref": "EnumValue" |
| 2164 }, |
| 2165 "type": "array" |
| 2166 }, |
| 2167 "options": { |
| 2168 "description": "Protocol buffer options.", |
| 2169 "items": { |
| 2170 "$ref": "Option" |
| 2171 }, |
| 2172 "type": "array" |
| 2173 }, |
| 2174 "sourceContext": { |
| 2175 "$ref": "SourceContext", |
| 2176 "description": "The source context." |
| 2177 }, |
| 2178 "name": { |
| 2179 "description": "Enum type name.", |
| 2180 "type": "string" |
| 2181 } |
| 2182 }, |
| 2183 "type": "object" |
| 2184 }, |
| 2185 "GenerateConfigReportResponse": { |
| 2186 "description": "Response message for GenerateConfigReport method.", |
| 2187 "id": "GenerateConfigReportResponse", |
| 2188 "properties": { |
| 2189 "serviceName": { |
| 2190 "description": "Name of the service this report belongs to."
, |
| 2191 "type": "string" |
| 2192 }, |
| 2193 "id": { |
| 2194 "description": "ID of the service configuration this report
belongs to.", |
| 2195 "type": "string" |
| 2196 }, |
| 2197 "changeReports": { |
| 2198 "description": "list of ChangeReport, each corresponding to
comparison between two\nservice configurations.", |
| 2199 "items": { |
| 2200 "$ref": "ChangeReport" |
| 2201 }, |
| 2202 "type": "array" |
| 2203 }, |
| 2204 "diagnostics": { |
| 2205 "description": "Errors / Linter warnings associated with the
service definition this\nreport\nbelongs to.", |
| 2206 "items": { |
| 2207 "$ref": "Diagnostic" |
| 2208 }, |
| 2209 "type": "array" |
| 2210 } |
| 2211 }, |
| 2212 "type": "object" |
| 2213 }, |
| 2214 "DeleteServiceStrategy": { |
| 2215 "description": "Strategy used to delete a service. This strategy is
a placeholder only\nused by the system generated rollout to delete a service.", |
| 2216 "id": "DeleteServiceStrategy", |
| 2217 "properties": {}, |
| 2218 "type": "object" |
| 2219 }, |
| 2220 "OperationMetadata": { |
| 2221 "description": "The metadata associated with a long running operatio
n resource.", |
| 2222 "id": "OperationMetadata", |
| 2223 "properties": { |
| 2224 "steps": { |
| 2225 "description": "Detailed status information for each step. T
he order is undetermined.", |
| 2226 "items": { |
| 2227 "$ref": "Step" |
| 2228 }, |
| 2229 "type": "array" |
| 2230 }, |
| 2231 "startTime": { |
| 2232 "description": "The start time of the operation.", |
| 2233 "format": "google-datetime", |
| 2234 "type": "string" |
| 2235 }, |
| 2236 "resourceNames": { |
| 2237 "description": "The full name of the resources that this ope
ration is directly\nassociated with.", |
| 2238 "items": { |
| 2239 "type": "string" |
| 2240 }, |
| 2241 "type": "array" |
| 2242 }, |
| 2243 "progressPercentage": { |
| 2244 "description": "Percentage of completion of this operation,
ranging from 0 to 100.", |
| 2245 "format": "int32", |
| 2246 "type": "integer" |
| 2247 } |
| 2248 }, |
| 2249 "type": "object" |
| 2250 }, |
| 2251 "DisableServiceRequest": { |
| 2252 "description": "Request message for DisableService method.", |
| 2253 "id": "DisableServiceRequest", |
| 2254 "properties": { |
| 2255 "consumerId": { |
| 2256 "description": "The identity of consumer resource which serv
ice disablement will be\napplied to.\n\nThe Google Service Management implementa
tion accepts the following\nforms: \"project:<project_id>\", \"project_number:<p
roject_number>\".\n\nNote: this is made compatible with\ngoogle.api.servicecontr
ol.v1.Operation.consumer_id.", |
| 2257 "type": "string" |
| 2258 } |
| 2259 }, |
| 2260 "type": "object" |
| 2261 }, |
| 2262 "CustomHttpPattern": { |
| 2263 "description": "A custom pattern is used for defining custom HTTP ve
rb.", |
| 2264 "id": "CustomHttpPattern", |
| 2265 "properties": { |
| 2266 "path": { |
| 2267 "description": "The path matched by this custom verb.", |
| 2268 "type": "string" |
| 2269 }, |
| 2270 "kind": { |
| 2271 "description": "The name of this custom HTTP verb.", |
| 2272 "type": "string" |
| 2273 } |
| 2274 }, |
| 2275 "type": "object" |
| 2276 }, |
| 2277 "LogDescriptor": { |
| 2278 "description": "A description of a log type. Example in YAML format:
\n\n - name: library.googleapis.com/activity_history\n description: The
history of borrowing and returning library items.\n display_name: Activity\
n labels:\n - key: /customer_id\n description: Identifier of a
library customer", |
| 2279 "id": "LogDescriptor", |
| 2280 "properties": { |
| 2281 "labels": { |
| 2282 "description": "The set of labels that are available to desc
ribe a specific log entry.\nRuntime requests that contain labels not specified h
ere are\nconsidered invalid.", |
| 2283 "items": { |
| 2284 "$ref": "LabelDescriptor" |
| 2285 }, |
| 2286 "type": "array" |
| 2287 }, |
| 2288 "description": { |
| 2289 "description": "A human-readable description of this log. Th
is information appears in\nthe documentation and can contain details.", |
| 2290 "type": "string" |
| 2291 }, |
| 2292 "displayName": { |
| 2293 "description": "The human-readable name for this log. This i
nformation appears on\nthe user interface and should be concise.", |
| 2294 "type": "string" |
| 2295 }, |
| 2296 "name": { |
| 2297 "description": "The name of the log. It must be less than 51
2 characters long and can\ninclude the following characters: upper- and lower-ca
se alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\ns
lash, underscore, hyphen, period [/_-.].", |
| 2298 "type": "string" |
| 2299 } |
| 2300 }, |
| 2301 "type": "object" |
| 2302 }, |
| 2303 "MonitoringDestination": { |
| 2304 "description": "Configuration of a specific monitoring destination (
the producer project\nor the consumer project).", |
| 2305 "id": "MonitoringDestination", |
| 2306 "properties": { |
| 2307 "monitoredResource": { |
| 2308 "description": "The monitored resource type. The type must b
e defined in\nService.monitored_resources section.", |
| 2309 "type": "string" |
| 2310 }, |
| 2311 "metrics": { |
| 2312 "description": "Names of the metrics to report to this monit
oring destination.\nEach name must be defined in Service.metrics section.", |
| 2313 "items": { |
| 2314 "type": "string" |
| 2315 }, |
| 2316 "type": "array" |
| 2317 } |
| 2318 }, |
| 2319 "type": "object" |
| 2320 }, |
| 2321 "Field": { |
| 2322 "description": "A single field of a message type.", |
| 2323 "id": "Field", |
| 2324 "properties": { |
| 2325 "defaultValue": { |
| 2326 "description": "The string value of the default value of thi
s field. Proto2 syntax only.", |
| 2327 "type": "string" |
| 2328 }, |
| 2329 "jsonName": { |
| 2330 "description": "The field JSON name.", |
| 2331 "type": "string" |
| 2332 }, |
| 2333 "options": { |
| 2334 "description": "The protocol buffer options.", |
| 2335 "items": { |
| 2336 "$ref": "Option" |
| 2337 }, |
| 2338 "type": "array" |
| 2339 }, |
| 2340 "oneofIndex": { |
| 2341 "description": "The index of the field type in `Type.oneofs`
, for message or enumeration\ntypes. The first type has index 1; zero means the
type is not in the list.", |
| 2342 "format": "int32", |
| 2343 "type": "integer" |
| 2344 }, |
| 2345 "cardinality": { |
| 2346 "description": "The field cardinality.", |
| 2347 "enum": [ |
| 2348 "CARDINALITY_UNKNOWN", |
| 2349 "CARDINALITY_OPTIONAL", |
| 2350 "CARDINALITY_REQUIRED", |
| 2351 "CARDINALITY_REPEATED" |
| 2352 ], |
| 2353 "enumDescriptions": [ |
| 2354 "For fields with unknown cardinality.", |
| 2355 "For optional fields.", |
| 2356 "For required fields. Proto2 syntax only.", |
| 2357 "For repeated fields." |
| 2358 ], |
| 2359 "type": "string" |
| 2360 }, |
| 2361 "typeUrl": { |
| 2362 "description": "The field type URL, without the scheme, for
message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T
imestamp\"`.", |
| 2363 "type": "string" |
| 2364 }, |
| 2365 "name": { |
| 2366 "description": "The field name.", |
| 2367 "type": "string" |
| 2368 }, |
| 2369 "packed": { |
| 2370 "description": "Whether to use alternative packed wire repre
sentation.", |
| 2371 "type": "boolean" |
| 2372 }, |
| 2373 "number": { |
| 2374 "description": "The field number.", |
| 2375 "format": "int32", |
| 2376 "type": "integer" |
| 2377 }, |
| 2378 "kind": { |
| 2379 "description": "The field type.", |
| 2380 "enum": [ |
| 2381 "TYPE_UNKNOWN", |
| 2382 "TYPE_DOUBLE", |
| 2383 "TYPE_FLOAT", |
| 2384 "TYPE_INT64", |
| 2385 "TYPE_UINT64", |
| 2386 "TYPE_INT32", |
| 2387 "TYPE_FIXED64", |
| 2388 "TYPE_FIXED32", |
| 2389 "TYPE_BOOL", |
| 2390 "TYPE_STRING", |
| 2391 "TYPE_GROUP", |
| 2392 "TYPE_MESSAGE", |
| 2393 "TYPE_BYTES", |
| 2394 "TYPE_UINT32", |
| 2395 "TYPE_ENUM", |
| 2396 "TYPE_SFIXED32", |
| 2397 "TYPE_SFIXED64", |
| 2398 "TYPE_SINT32", |
| 2399 "TYPE_SINT64" |
| 2400 ], |
| 2401 "enumDescriptions": [ |
| 2402 "Field type unknown.", |
| 2403 "Field type double.", |
| 2404 "Field type float.", |
| 2405 "Field type int64.", |
| 2406 "Field type uint64.", |
| 2407 "Field type int32.", |
| 2408 "Field type fixed64.", |
| 2409 "Field type fixed32.", |
| 2410 "Field type bool.", |
| 2411 "Field type string.", |
| 2412 "Field type group. Proto2 syntax only, and deprecated.", |
| 2413 "Field type message.", |
| 2414 "Field type bytes.", |
| 2415 "Field type uint32.", |
| 2416 "Field type enum.", |
| 2417 "Field type sfixed32.", |
| 2418 "Field type sfixed64.", |
| 2419 "Field type sint32.", |
| 2420 "Field type sint64." |
| 2421 ], |
| 2422 "type": "string" |
| 2423 } |
| 2424 }, |
| 2425 "type": "object" |
| 2426 }, |
| 2427 "Binding": { |
| 2428 "description": "Associates `members` with a `role`.", |
| 2429 "id": "Binding", |
| 2430 "properties": { |
| 2431 "members": { |
| 2432 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n* `serviceAccount:{emailid}`: An email address that represents a service\n ac
count. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{ema
ilid}`: An email address that represents a Google group.\n For example, `admin
s@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represent
s all the\n users of that domain. For example, `google.com` or `example.com`.\
n\n", |
| 2433 "items": { |
| 2434 "type": "string" |
| 2435 }, |
| 2436 "type": "array" |
| 2437 }, |
| 2438 "role": { |
| 2439 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
| 2440 "type": "string" |
| 2441 } |
| 2442 }, |
| 2443 "type": "object" |
| 2444 }, |
| 2445 "ConfigRef": { |
| 2446 "description": "Represents a service configuration with its name and
id.", |
| 2447 "id": "ConfigRef", |
| 2448 "properties": { |
| 2449 "name": { |
| 2450 "description": "Resource name of a service config. It must h
ave the following\nformat: \"services/{service name}/configs/{config id}\".", |
| 2451 "type": "string" |
| 2452 } |
| 2453 }, |
| 2454 "type": "object" |
| 2455 }, |
| 2456 "DataAccessOptions": { |
| 2457 "description": "Write a Data Access (Gin) log", |
| 2458 "id": "DataAccessOptions", |
| 2459 "properties": {}, |
| 2460 "type": "object" |
| 2461 }, |
| 2462 "AuthProvider": { |
| 2463 "description": "Configuration for an anthentication provider, includ
ing support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-o
auth-json-web-token-32).", |
| 2464 "id": "AuthProvider", |
| 2465 "properties": { |
| 2466 "jwksUri": { |
| 2467 "description": "URL of the provider's public key set to vali
date signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/open
id-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set docume
nt:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/op
enid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the
email domain of the issuer (e.g. a Google service account).\n\nExample: https://
www.googleapis.com/oauth2/v1/certs", |
| 2468 "type": "string" |
| 2469 }, |
| 2470 "id": { |
| 2471 "description": "The unique identifier of the auth provider.
It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor
e_auth\".", |
| 2472 "type": "string" |
| 2473 }, |
| 2474 "issuer": { |
| 2475 "description": "Identifies the principal that issued the JWT
. See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.
1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.c
om\nExample: 1234567-compute@developer.gserviceaccount.com", |
| 2476 "type": "string" |
| 2477 } |
| 2478 }, |
| 2479 "type": "object" |
| 2480 }, |
| 2481 "VisibilityRule": { |
| 2482 "description": "A visibility rule provides visibility configuration
for an individual API\nelement.", |
| 2483 "id": "VisibilityRule", |
| 2484 "properties": { |
| 2485 "restriction": { |
| 2486 "description": "Lists the visibility labels for this rule. A
ny of the listed labels grants\nvisibility to the element.\n\nIf a rule has mult
iple labels, removing one of the labels but not all of\nthem can break clients.\
n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.
Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\
nRemoving GOOGLE_INTERNAL from this restriction will break clients that\nrely on
this method and only had access to it through GOOGLE_INTERNAL.", |
| 2487 "type": "string" |
| 2488 }, |
| 2489 "selector": { |
| 2490 "description": "Selects methods, messages, fields, enums, et
c. to which this rule applies.\n\nRefer to selector for syntax details.", |
| 2491 "type": "string" |
| 2492 } |
| 2493 }, |
| 2494 "type": "object" |
| 2495 }, |
| 2496 "UndeleteServiceResponse": { |
| 2497 "description": "Response message for UndeleteService method.", |
| 2498 "id": "UndeleteServiceResponse", |
| 2499 "properties": { |
| 2500 "service": { |
| 2501 "$ref": "ManagedService", |
| 2502 "description": "Revived service resource." |
| 2503 } |
| 2504 }, |
| 2505 "type": "object" |
| 2506 }, |
| 2507 "UsageRule": { |
| 2508 "description": "Usage configuration rules for the service.\n\nNOTE:
Under development.\n\n\nUse this rule to configure unregistered calls for the se
rvice. Unregistered\ncalls are calls that do not contain consumer project identi
ty.\n(Example: calls that do not contain an API key).\nBy default, API methods d
o not allow unregistered calls, and each method call\nmust be identified by a co
nsumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\
nExample of an API that wants to allow unregistered calls for entire service.\n\
n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_c
alls: true\n\nExample of a method that wants to allow unregistered calls.\n\n
usage:\n rules:\n - selector: \"google.example.library.v1.LibraryServ
ice.CreateBook\"\n allow_unregistered_calls: true", |
| 2509 "id": "UsageRule", |
| 2510 "properties": { |
| 2511 "allowUnregisteredCalls": { |
| 2512 "description": "True, if the method allows unregistered call
s; false otherwise.", |
| 2513 "type": "boolean" |
| 2514 }, |
| 2515 "selector": { |
| 2516 "description": "Selects the methods to which this rule appli
es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta
x details.", |
| 2517 "type": "string" |
| 2518 } |
| 2519 }, |
| 2520 "type": "object" |
| 2521 }, |
| 2522 "EnumValue": { |
| 2523 "description": "Enum value definition.", |
| 2524 "id": "EnumValue", |
| 2525 "properties": { |
| 2526 "options": { |
| 2527 "description": "Protocol buffer options.", |
| 2528 "items": { |
| 2529 "$ref": "Option" |
| 2530 }, |
| 2531 "type": "array" |
| 2532 }, |
| 2533 "name": { |
| 2534 "description": "Enum value name.", |
| 2535 "type": "string" |
| 2536 }, |
| 2537 "number": { |
| 2538 "description": "Enum value number.", |
| 2539 "format": "int32", |
| 2540 "type": "integer" |
| 2541 } |
| 2542 }, |
| 2543 "type": "object" |
| 2544 }, |
| 2545 "MediaUpload": { |
| 2546 "description": "Do not use this. For media support, add instead\n[][
google.bytestream.RestByteStream] as an API to your\nconfiguration.", |
| 2547 "id": "MediaUpload", |
| 2548 "properties": { |
| 2549 "enabled": { |
| 2550 "description": "Whether upload is enabled.", |
| 2551 "type": "boolean" |
| 2552 } |
| 2553 }, |
| 2554 "type": "object" |
| 2555 }, |
| 2556 "BackendRule": { |
| 2557 "description": "A backend rule provides configuration for an individ
ual API element.", |
| 2558 "id": "BackendRule", |
| 2559 "properties": { |
| 2560 "address": { |
| 2561 "description": "The address of the API backend.", |
| 2562 "type": "string" |
| 2563 }, |
| 2564 "deadline": { |
| 2565 "description": "The number of seconds to wait for a response
from a request. The\ndefault depends on the deployment context.", |
| 2566 "format": "double", |
| 2567 "type": "number" |
| 2568 }, |
| 2569 "selector": { |
| 2570 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", |
| 2571 "type": "string" |
| 2572 } |
| 2573 }, |
| 2574 "type": "object" |
| 2575 }, |
| 2576 "ContextRule": { |
| 2577 "description": "A context rule provides information about the contex
t for an individual API\nelement.", |
| 2578 "id": "ContextRule", |
| 2579 "properties": { |
| 2580 "provided": { |
| 2581 "description": "A list of full type names of provided contex
ts.", |
| 2582 "items": { |
| 2583 "type": "string" |
| 2584 }, |
| 2585 "type": "array" |
| 2586 }, |
| 2587 "selector": { |
| 2588 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", |
| 2589 "type": "string" |
| 2590 }, |
| 2591 "requested": { |
| 2592 "description": "A list of full type names of requested conte
xts.", |
| 2593 "items": { |
| 2594 "type": "string" |
| 2595 }, |
| 2596 "type": "array" |
| 2597 } |
| 2598 }, |
| 2599 "type": "object" |
| 2600 }, |
| 2601 "Http": { |
| 2602 "description": "Defines the HTTP configuration for a service. It con
tains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one
or more HTTP REST API methods.", |
| 2603 "id": "Http", |
| 2604 "properties": { |
| 2605 "rules": { |
| 2606 "description": "A list of HTTP configuration rules that appl
y to individual API methods.\n\n**NOTE:** All service configuration rules follow
\"last one wins\" order.", |
| 2607 "items": { |
| 2608 "$ref": "HttpRule" |
| 2609 }, |
| 2610 "type": "array" |
| 2611 } |
| 2612 }, |
| 2613 "type": "object" |
| 2614 }, |
| 2615 "Visibility": { |
| 2616 "description": "`Visibility` defines restrictions for the visibility
of service\nelements. Restrictions are specified using visibility labels\n(e.g
., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and
projects can have access to more than one visibility label. The\neffective visi
bility for multiple labels is the union of each label's\nelements, plus any unre
stricted elements.\n\nIf an element and its parents have no restrictions, visibi
lity is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n
- selector: google.calendar.Calendar.EnhancedSearch\n restriction:
TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n res
triction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for t
he restricted methods\nEnhancedSearch and Delegate.", |
| 2617 "id": "Visibility", |
| 2618 "properties": { |
| 2619 "rules": { |
| 2620 "description": "A list of visibility rules that apply to ind
ividual API elements.\n\n**NOTE:** All service configuration rules follow \"last
one wins\" order.", |
| 2621 "items": { |
| 2622 "$ref": "VisibilityRule" |
| 2623 }, |
| 2624 "type": "array" |
| 2625 } |
| 2626 }, |
| 2627 "type": "object" |
| 2628 }, |
| 2629 "ConfigChange": { |
| 2630 "description": "Output generated from semantically comparing two ver
sions of a service\nconfiguration.\n\nIncludes detailed information about a fiel
d that have changed with\napplicable advice about potential consequences for the
change, such as\nbackwards-incompatibility.", |
| 2631 "id": "ConfigChange", |
| 2632 "properties": { |
| 2633 "newValue": { |
| 2634 "description": "Value of the changed object in the new Servi
ce configuration,\nin JSON format. This field will not be populated if ChangeTyp
e == REMOVED.", |
| 2635 "type": "string" |
| 2636 }, |
| 2637 "oldValue": { |
| 2638 "description": "Value of the changed object in the old Servi
ce configuration,\nin JSON format. This field will not be populated if ChangeTyp
e == ADDED.", |
| 2639 "type": "string" |
| 2640 }, |
| 2641 "element": { |
| 2642 "description": "Object hierarchy path to the change, with le
vels separated by a '.'\ncharacter. For repeated fields, an applicable unique id
entifier field is\nused for the index (usually selector, name, or id). For maps,
the term\n'key' is used. If the field has no unique identifier, the numeric ind
ex\nis used.\nExamples:\n- visibility.rules[selector==\"google.LibraryService.Cr
eateBook\"].restriction\n- quota.metric_rules[selector==\"google\"].metric_costs
[key==\"reads\"].value\n- logging.producer_destinations[0]", |
| 2643 "type": "string" |
| 2644 }, |
| 2645 "changeType": { |
| 2646 "description": "The type for this change, either ADDED, REMO
VED, or MODIFIED.", |
| 2647 "enum": [ |
| 2648 "CHANGE_TYPE_UNSPECIFIED", |
| 2649 "ADDED", |
| 2650 "REMOVED", |
| 2651 "MODIFIED" |
| 2652 ], |
| 2653 "enumDescriptions": [ |
| 2654 "No value was provided.", |
| 2655 "The changed object exists in the 'new' service configur
ation, but not\nin the 'old' service configuration.", |
| 2656 "The changed object exists in the 'old' service configur
ation, but not\nin the 'new' service configuration.", |
| 2657 "The changed object exists in both service configuration
s, but its value\nis different." |
| 2658 ], |
| 2659 "type": "string" |
| 2660 }, |
| 2661 "advices": { |
| 2662 "description": "Collection of advice provided for this chang
e, useful for determining the\npossible impact of this change.", |
| 2663 "items": { |
| 2664 "$ref": "Advice" |
| 2665 }, |
| 2666 "type": "array" |
| 2667 } |
| 2668 }, |
| 2669 "type": "object" |
| 2670 }, |
| 2671 "SystemParameters": { |
| 2672 "description": "### System parameter configuration\n\nA system param
eter is a special kind of parameter defined by the API\nsystem, not by an indivi
dual API. It is typically mapped to an HTTP header\nand/or a URL query parameter
. This configuration specifies which methods\nchange the names of the system par
ameters.", |
| 2673 "id": "SystemParameters", |
| 2674 "properties": { |
| 2675 "rules": { |
| 2676 "description": "Define system parameters.\n\nThe parameters
defined here will override the default parameters\nimplemented by the system. If
this field is missing from the service\nconfig, default system parameters will
be used. Default system parameters\nand names is implementation-dependent.\n\nEx
ample: define api key and alt name for all methods\n\nsystem_parameters\n rules
:\n - selector: \"*\"\n parameters:\n - name: api_key\n
url_query_parameter: api_key\n - name: alt\n http_header: Respon
se-Content-Type\n\nExample: define 2 api key names for a specific method.\n\nsys
tem_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n
- name: api_key\n http_header: Api-Key1\n - name: api_key
\n http_header: Api-Key2\n\n**NOTE:** All service configuration rules f
ollow \"last one wins\" order.", |
| 2677 "items": { |
| 2678 "$ref": "SystemParameterRule" |
| 2679 }, |
| 2680 "type": "array" |
| 2681 } |
| 2682 }, |
| 2683 "type": "object" |
| 2684 }, |
| 2685 "LabelDescriptor": { |
| 2686 "description": "A description of a label.", |
| 2687 "id": "LabelDescriptor", |
| 2688 "properties": { |
| 2689 "description": { |
| 2690 "description": "A human-readable description for the label."
, |
| 2691 "type": "string" |
| 2692 }, |
| 2693 "valueType": { |
| 2694 "description": "The type of data that can be assigned to the
label.", |
| 2695 "enum": [ |
| 2696 "STRING", |
| 2697 "BOOL", |
| 2698 "INT64" |
| 2699 ], |
| 2700 "enumDescriptions": [ |
| 2701 "A variable-length string. This is the default.", |
| 2702 "Boolean; true or false.", |
| 2703 "A 64-bit signed integer." |
| 2704 ], |
| 2705 "type": "string" |
| 2706 }, |
| 2707 "key": { |
| 2708 "description": "The label key.", |
| 2709 "type": "string" |
| 2710 } |
| 2711 }, |
| 2712 "type": "object" |
| 2713 }, |
| 2714 "Usage": { |
| 2715 "description": "Configuration controlling usage of a service.", |
| 2716 "id": "Usage", |
| 2717 "properties": { |
| 2718 "requirements": { |
| 2719 "description": "Requirements that must be satisfied before a
consumer project can use the\nservice. Each requirement is of the form <service
.name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabl
ed'.", |
| 2720 "items": { |
| 2721 "type": "string" |
| 2722 }, |
| 2723 "type": "array" |
| 2724 }, |
| 2725 "rules": { |
| 2726 "description": "A list of usage rules that apply to individu
al API methods.\n\n**NOTE:** All service configuration rules follow \"last one w
ins\" order.", |
| 2727 "items": { |
| 2728 "$ref": "UsageRule" |
| 2729 }, |
| 2730 "type": "array" |
| 2731 } |
| 2732 }, |
| 2733 "type": "object" |
| 2734 }, |
| 2735 "Advice": { |
| 2736 "description": "Generated advice about this change, used for providi
ng more\ninformation about how a change will affect the existing service.", |
| 2737 "id": "Advice", |
| 2738 "properties": { |
| 2739 "description": { |
| 2740 "description": "Useful description for why this advice was a
pplied and what actions should\nbe taken to mitigate any implied risks.", |
| 2741 "type": "string" |
| 2742 } |
| 2743 }, |
| 2744 "type": "object" |
| 2745 }, |
| 2746 "CloudAuditOptions": { |
| 2747 "description": "Write a Cloud Audit log", |
| 2748 "id": "CloudAuditOptions", |
| 2749 "properties": {}, |
| 2750 "type": "object" |
| 2751 }, |
| 2752 "AuthRequirement": { |
| 2753 "description": "User-defined authentication requirements, including
support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth
-json-web-token-32).", |
| 2754 "id": "AuthRequirement", |
| 2755 "properties": { |
| 2756 "audiences": { |
| 2757 "description": "The list of JWT\n[audiences](https://tools.i
etf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowe
d to access. A JWT containing any of these audiences will\nbe accepted. When thi
s setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\
nwill be accepted. For example, if no audiences are in the setting,\nLibraryServ
ice API will only accept JWTs with the following audience\n\"https://library-exa
mple.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n
audiences: bookstore_android.apps.googleusercontent.com,\n book
store_web.apps.googleusercontent.com", |
| 2758 "type": "string" |
| 2759 }, |
| 2760 "providerId": { |
| 2761 "description": "id from authentication provider.\n\nExample:
\n\n provider_id: bookstore_auth", |
| 2762 "type": "string" |
| 2763 } |
| 2764 }, |
| 2765 "type": "object" |
| 2766 }, |
| 2767 "Control": { |
| 2768 "description": "Selects and configures the service controller used b
y the service. The\nservice controller handles features like abuse, quota, bill
ing, logging,\nmonitoring, etc.", |
| 2769 "id": "Control", |
| 2770 "properties": { |
| 2771 "environment": { |
| 2772 "description": "The service control environment to use. If e
mpty, no control plane\nfeature (like quota and billing) will be enabled.", |
| 2773 "type": "string" |
| 2774 } |
| 2775 }, |
| 2776 "type": "object" |
| 2777 }, |
| 2778 "SourceContext": { |
| 2779 "description": "`SourceContext` represents information about the sou
rce of a\nprotobuf element, like the file in which it is defined.", |
| 2780 "id": "SourceContext", |
| 2781 "properties": { |
| 2782 "fileName": { |
| 2783 "description": "The path-qualified name of the .proto file t
hat contained the associated\nprotobuf element. For example: `\"google/protobuf
/source_context.proto\"`.", |
| 2784 "type": "string" |
| 2785 } |
| 2786 }, |
| 2787 "type": "object" |
| 2788 } |
| 2789 }, |
| 2790 "servicePath": "", |
| 2791 "title": "Google Service Management API", |
| 2792 "version": "v1" |
| 2793 } |
| OLD | NEW |