Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1 | { |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 2 | "auth": { |
| 3 | "oauth2": { |
| 4 | "scopes": { |
| 5 | "https://www.googleapis.com/auth/cloud-platform": { |
| 6 | "description": "See, edit, configure, and delete your Google Cloud Platform data" |
| 7 | } |
| 8 | } |
| 9 | } |
| 10 | }, |
| 11 | "basePath": "", |
| 12 | "baseUrl": "https://file.googleapis.com/", |
| 13 | "batchPath": "batch", |
| 14 | "canonicalName": "Cloud Filestore", |
| 15 | "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", |
| 16 | "discoveryVersion": "v1", |
| 17 | "documentationLink": "https://cloud.google.com/filestore/", |
| 18 | "fullyEncodeReservedExpansion": true, |
| 19 | "icons": { |
| 20 | "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 21 | "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 22 | }, |
| 23 | "id": "file:v1beta1", |
| 24 | "kind": "discovery#restDescription", |
| 25 | "mtlsRootUrl": "https://file.mtls.googleapis.com/", |
| 26 | "name": "file", |
| 27 | "ownerDomain": "google.com", |
| 28 | "ownerName": "Google", |
| 29 | "parameters": { |
| 30 | "$.xgafv": { |
| 31 | "description": "V1 error format.", |
| 32 | "enum": [ |
| 33 | "1", |
| 34 | "2" |
| 35 | ], |
| 36 | "enumDescriptions": [ |
| 37 | "v1 error format", |
| 38 | "v2 error format" |
| 39 | ], |
| 40 | "location": "query", |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "access_token": { |
| 44 | "description": "OAuth access token.", |
| 45 | "location": "query", |
| 46 | "type": "string" |
| 47 | }, |
| 48 | "alt": { |
| 49 | "default": "json", |
| 50 | "description": "Data format for response.", |
| 51 | "enum": [ |
| 52 | "json", |
| 53 | "media", |
| 54 | "proto" |
| 55 | ], |
| 56 | "enumDescriptions": [ |
| 57 | "Responses with Content-Type of application/json", |
| 58 | "Media download with context-dependent Content-Type", |
| 59 | "Responses with Content-Type of application/x-protobuf" |
| 60 | ], |
| 61 | "location": "query", |
| 62 | "type": "string" |
| 63 | }, |
| 64 | "callback": { |
| 65 | "description": "JSONP", |
| 66 | "location": "query", |
| 67 | "type": "string" |
| 68 | }, |
| 69 | "fields": { |
| 70 | "description": "Selector specifying which fields to include in a partial response.", |
| 71 | "location": "query", |
| 72 | "type": "string" |
| 73 | }, |
| 74 | "key": { |
| 75 | "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 76 | "location": "query", |
| 77 | "type": "string" |
| 78 | }, |
| 79 | "oauth_token": { |
| 80 | "description": "OAuth 2.0 token for the current user.", |
| 81 | "location": "query", |
| 82 | "type": "string" |
| 83 | }, |
| 84 | "prettyPrint": { |
| 85 | "default": "true", |
| 86 | "description": "Returns response with indentations and line breaks.", |
| 87 | "location": "query", |
| 88 | "type": "boolean" |
| 89 | }, |
| 90 | "quotaUser": { |
| 91 | "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 92 | "location": "query", |
| 93 | "type": "string" |
| 94 | }, |
| 95 | "uploadType": { |
| 96 | "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 97 | "location": "query", |
| 98 | "type": "string" |
| 99 | }, |
| 100 | "upload_protocol": { |
| 101 | "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 102 | "location": "query", |
| 103 | "type": "string" |
| 104 | } |
| 105 | }, |
| 106 | "protocol": "rest", |
| 107 | "resources": { |
| 108 | "projects": { |
| 109 | "resources": { |
| 110 | "locations": { |
| 111 | "methods": { |
| 112 | "get": { |
| 113 | "description": "Gets information about a location.", |
| 114 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", |
| 115 | "httpMethod": "GET", |
| 116 | "id": "file.projects.locations.get", |
| 117 | "parameterOrder": [ |
| 118 | "name" |
| 119 | ], |
| 120 | "parameters": { |
| 121 | "name": { |
| 122 | "description": "Resource name for the location.", |
| 123 | "location": "path", |
| 124 | "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 125 | "required": true, |
| 126 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 127 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 128 | }, |
| 129 | "path": "v1beta1/{+name}", |
| 130 | "response": { |
| 131 | "$ref": "Location" |
| 132 | }, |
| 133 | "scopes": [ |
| 134 | "https://www.googleapis.com/auth/cloud-platform" |
| 135 | ] |
| 136 | }, |
| 137 | "list": { |
| 138 | "description": "Lists information about the supported locations for this service.", |
| 139 | "flatPath": "v1beta1/projects/{projectsId}/locations", |
| 140 | "httpMethod": "GET", |
| 141 | "id": "file.projects.locations.list", |
| 142 | "parameterOrder": [ |
| 143 | "name" |
| 144 | ], |
| 145 | "parameters": { |
| 146 | "filter": { |
| 147 | "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).", |
| 148 | "location": "query", |
| 149 | "type": "string" |
| 150 | }, |
| 151 | "includeUnrevealedLocations": { |
| 152 | "description": "If true, the returned list will include locations which are not yet revealed.", |
| 153 | "location": "query", |
| 154 | "type": "boolean" |
| 155 | }, |
| 156 | "name": { |
| 157 | "description": "The resource that owns the locations collection, if applicable.", |
| 158 | "location": "path", |
| 159 | "pattern": "^projects/[^/]+$", |
| 160 | "required": true, |
| 161 | "type": "string" |
| 162 | }, |
| 163 | "pageSize": { |
yoshi-code-bot | 3dd1527 | 2021-04-21 15:07:48 -0700 | [diff] [blame] | 164 | "description": "The maximum number of results to return. If not set, the service selects a default.", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 165 | "format": "int32", |
| 166 | "location": "query", |
| 167 | "type": "integer" |
| 168 | }, |
| 169 | "pageToken": { |
| 170 | "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", |
| 171 | "location": "query", |
| 172 | "type": "string" |
| 173 | } |
| 174 | }, |
| 175 | "path": "v1beta1/{+name}/locations", |
| 176 | "response": { |
| 177 | "$ref": "ListLocationsResponse" |
| 178 | }, |
| 179 | "scopes": [ |
| 180 | "https://www.googleapis.com/auth/cloud-platform" |
| 181 | ] |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 182 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 183 | }, |
| 184 | "resources": { |
| 185 | "backups": { |
| 186 | "methods": { |
| 187 | "create": { |
| 188 | "description": "Creates a backup.", |
| 189 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backups", |
| 190 | "httpMethod": "POST", |
| 191 | "id": "file.projects.locations.backups.create", |
| 192 | "parameterOrder": [ |
| 193 | "parent" |
| 194 | ], |
| 195 | "parameters": { |
| 196 | "backupId": { |
| 197 | "description": "Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", |
| 198 | "location": "query", |
| 199 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 200 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 201 | "parent": { |
| 202 | "description": "Required. The backup's project and location, in the format projects/{project_id}/locations/{location}. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**.", |
| 203 | "location": "path", |
| 204 | "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 205 | "required": true, |
| 206 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 207 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 208 | }, |
| 209 | "path": "v1beta1/{+parent}/backups", |
| 210 | "request": { |
| 211 | "$ref": "Backup" |
| 212 | }, |
| 213 | "response": { |
| 214 | "$ref": "Operation" |
| 215 | }, |
| 216 | "scopes": [ |
| 217 | "https://www.googleapis.com/auth/cloud-platform" |
| 218 | ] |
| 219 | }, |
| 220 | "delete": { |
| 221 | "description": "Deletes a backup.", |
| 222 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", |
| 223 | "httpMethod": "DELETE", |
| 224 | "id": "file.projects.locations.backups.delete", |
| 225 | "parameterOrder": [ |
| 226 | "name" |
| 227 | ], |
| 228 | "parameters": { |
| 229 | "name": { |
| 230 | "description": "Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backups/{backup_id}", |
| 231 | "location": "path", |
| 232 | "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", |
| 233 | "required": true, |
| 234 | "type": "string" |
| 235 | } |
| 236 | }, |
| 237 | "path": "v1beta1/{+name}", |
| 238 | "response": { |
| 239 | "$ref": "Operation" |
| 240 | }, |
| 241 | "scopes": [ |
| 242 | "https://www.googleapis.com/auth/cloud-platform" |
| 243 | ] |
| 244 | }, |
| 245 | "get": { |
| 246 | "description": "Gets the details of a specific backup.", |
| 247 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", |
| 248 | "httpMethod": "GET", |
| 249 | "id": "file.projects.locations.backups.get", |
| 250 | "parameterOrder": [ |
| 251 | "name" |
| 252 | ], |
| 253 | "parameters": { |
| 254 | "name": { |
| 255 | "description": "Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backups/{backup_id}.", |
| 256 | "location": "path", |
| 257 | "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", |
| 258 | "required": true, |
| 259 | "type": "string" |
| 260 | } |
| 261 | }, |
| 262 | "path": "v1beta1/{+name}", |
| 263 | "response": { |
| 264 | "$ref": "Backup" |
| 265 | }, |
| 266 | "scopes": [ |
| 267 | "https://www.googleapis.com/auth/cloud-platform" |
| 268 | ] |
| 269 | }, |
| 270 | "list": { |
| 271 | "description": "Lists all backups in a project for either a specified location or for all locations.", |
| 272 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backups", |
| 273 | "httpMethod": "GET", |
| 274 | "id": "file.projects.locations.backups.list", |
| 275 | "parameterOrder": [ |
| 276 | "parent" |
| 277 | ], |
| 278 | "parameters": { |
| 279 | "filter": { |
| 280 | "description": "List filter.", |
| 281 | "location": "query", |
| 282 | "type": "string" |
| 283 | }, |
| 284 | "orderBy": { |
| 285 | "description": "Sort results. Supported values are \"name\", \"name desc\" or \"\" (unsorted).", |
| 286 | "location": "query", |
| 287 | "type": "string" |
| 288 | }, |
| 289 | "pageSize": { |
| 290 | "description": "The maximum number of items to return.", |
| 291 | "format": "int32", |
| 292 | "location": "query", |
| 293 | "type": "integer" |
| 294 | }, |
| 295 | "pageToken": { |
| 296 | "description": "The next_page_token value to use if there are additional results to retrieve for this list request.", |
| 297 | "location": "query", |
| 298 | "type": "string" |
| 299 | }, |
| 300 | "parent": { |
| 301 | "description": "Required. The project and location for which to retrieve backup information, in the format projects/{project_id}/locations/{location}. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the {location} value.", |
| 302 | "location": "path", |
| 303 | "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 304 | "required": true, |
| 305 | "type": "string" |
| 306 | } |
| 307 | }, |
| 308 | "path": "v1beta1/{+parent}/backups", |
| 309 | "response": { |
| 310 | "$ref": "ListBackupsResponse" |
| 311 | }, |
| 312 | "scopes": [ |
| 313 | "https://www.googleapis.com/auth/cloud-platform" |
| 314 | ] |
| 315 | }, |
| 316 | "patch": { |
| 317 | "description": "Updates the settings of a specific backup.", |
| 318 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", |
| 319 | "httpMethod": "PATCH", |
| 320 | "id": "file.projects.locations.backups.patch", |
| 321 | "parameterOrder": [ |
| 322 | "name" |
| 323 | ], |
| 324 | "parameters": { |
| 325 | "name": { |
| 326 | "description": "Output only. The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}.", |
| 327 | "location": "path", |
| 328 | "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", |
| 329 | "required": true, |
| 330 | "type": "string" |
| 331 | }, |
| 332 | "updateMask": { |
| 333 | "description": "Required. Mask of fields to update. At least one path must be supplied in this field.", |
| 334 | "format": "google-fieldmask", |
| 335 | "location": "query", |
| 336 | "type": "string" |
| 337 | } |
| 338 | }, |
| 339 | "path": "v1beta1/{+name}", |
| 340 | "request": { |
| 341 | "$ref": "Backup" |
| 342 | }, |
| 343 | "response": { |
| 344 | "$ref": "Operation" |
| 345 | }, |
| 346 | "scopes": [ |
| 347 | "https://www.googleapis.com/auth/cloud-platform" |
| 348 | ] |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 349 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 350 | } |
| 351 | }, |
| 352 | "instances": { |
| 353 | "methods": { |
| 354 | "create": { |
| 355 | "description": "Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).", |
| 356 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances", |
| 357 | "httpMethod": "POST", |
| 358 | "id": "file.projects.locations.instances.create", |
| 359 | "parameterOrder": [ |
| 360 | "parent" |
| 361 | ], |
| 362 | "parameters": { |
| 363 | "instanceId": { |
| 364 | "description": "Required. The ID of the instance to create. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", |
| 365 | "location": "query", |
| 366 | "type": "string" |
| 367 | }, |
| 368 | "parent": { |
| 369 | "description": "Required. The instance's project and location, in the format projects/{project_id}/locations/{location}. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**.", |
| 370 | "location": "path", |
| 371 | "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 372 | "required": true, |
| 373 | "type": "string" |
| 374 | } |
| 375 | }, |
| 376 | "path": "v1beta1/{+parent}/instances", |
| 377 | "request": { |
| 378 | "$ref": "Instance" |
| 379 | }, |
| 380 | "response": { |
| 381 | "$ref": "Operation" |
| 382 | }, |
| 383 | "scopes": [ |
| 384 | "https://www.googleapis.com/auth/cloud-platform" |
| 385 | ] |
| 386 | }, |
| 387 | "delete": { |
| 388 | "description": "Deletes an instance.", |
| 389 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", |
| 390 | "httpMethod": "DELETE", |
| 391 | "id": "file.projects.locations.instances.delete", |
| 392 | "parameterOrder": [ |
| 393 | "name" |
| 394 | ], |
| 395 | "parameters": { |
| 396 | "name": { |
| 397 | "description": "Required. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}", |
| 398 | "location": "path", |
| 399 | "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 400 | "required": true, |
| 401 | "type": "string" |
| 402 | } |
| 403 | }, |
| 404 | "path": "v1beta1/{+name}", |
| 405 | "response": { |
| 406 | "$ref": "Operation" |
| 407 | }, |
| 408 | "scopes": [ |
| 409 | "https://www.googleapis.com/auth/cloud-platform" |
| 410 | ] |
| 411 | }, |
| 412 | "get": { |
| 413 | "description": "Gets the details of a specific instance.", |
| 414 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", |
| 415 | "httpMethod": "GET", |
| 416 | "id": "file.projects.locations.instances.get", |
| 417 | "parameterOrder": [ |
| 418 | "name" |
| 419 | ], |
| 420 | "parameters": { |
| 421 | "name": { |
| 422 | "description": "Required. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}.", |
| 423 | "location": "path", |
| 424 | "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 425 | "required": true, |
| 426 | "type": "string" |
| 427 | } |
| 428 | }, |
| 429 | "path": "v1beta1/{+name}", |
| 430 | "response": { |
| 431 | "$ref": "Instance" |
| 432 | }, |
| 433 | "scopes": [ |
| 434 | "https://www.googleapis.com/auth/cloud-platform" |
| 435 | ] |
| 436 | }, |
| 437 | "list": { |
| 438 | "description": "Lists all instances in a project for either a specified location or for all locations.", |
| 439 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances", |
| 440 | "httpMethod": "GET", |
| 441 | "id": "file.projects.locations.instances.list", |
| 442 | "parameterOrder": [ |
| 443 | "parent" |
| 444 | ], |
| 445 | "parameters": { |
| 446 | "filter": { |
| 447 | "description": "List filter.", |
| 448 | "location": "query", |
| 449 | "type": "string" |
| 450 | }, |
| 451 | "orderBy": { |
| 452 | "description": "Sort results. Supported values are \"name\", \"name desc\" or \"\" (unsorted).", |
| 453 | "location": "query", |
| 454 | "type": "string" |
| 455 | }, |
| 456 | "pageSize": { |
| 457 | "description": "The maximum number of items to return.", |
| 458 | "format": "int32", |
| 459 | "location": "query", |
| 460 | "type": "integer" |
| 461 | }, |
| 462 | "pageToken": { |
| 463 | "description": "The next_page_token value to use if there are additional results to retrieve for this list request.", |
| 464 | "location": "query", |
| 465 | "type": "string" |
| 466 | }, |
| 467 | "parent": { |
| 468 | "description": "Required. The project and location for which to retrieve instance information, in the format projects/{project_id}/locations/{location}. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the {location} value.", |
| 469 | "location": "path", |
| 470 | "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 471 | "required": true, |
| 472 | "type": "string" |
| 473 | } |
| 474 | }, |
| 475 | "path": "v1beta1/{+parent}/instances", |
| 476 | "response": { |
| 477 | "$ref": "ListInstancesResponse" |
| 478 | }, |
| 479 | "scopes": [ |
| 480 | "https://www.googleapis.com/auth/cloud-platform" |
| 481 | ] |
| 482 | }, |
| 483 | "patch": { |
| 484 | "description": "Updates the settings of a specific instance.", |
| 485 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", |
| 486 | "httpMethod": "PATCH", |
| 487 | "id": "file.projects.locations.instances.patch", |
| 488 | "parameterOrder": [ |
| 489 | "name" |
| 490 | ], |
| 491 | "parameters": { |
| 492 | "name": { |
| 493 | "description": "Output only. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.", |
| 494 | "location": "path", |
| 495 | "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 496 | "required": true, |
| 497 | "type": "string" |
| 498 | }, |
| 499 | "updateMask": { |
| 500 | "description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields: * \"description\" * \"file_shares\" * \"labels\"", |
| 501 | "format": "google-fieldmask", |
| 502 | "location": "query", |
| 503 | "type": "string" |
| 504 | } |
| 505 | }, |
| 506 | "path": "v1beta1/{+name}", |
| 507 | "request": { |
| 508 | "$ref": "Instance" |
| 509 | }, |
| 510 | "response": { |
| 511 | "$ref": "Operation" |
| 512 | }, |
| 513 | "scopes": [ |
| 514 | "https://www.googleapis.com/auth/cloud-platform" |
| 515 | ] |
| 516 | }, |
| 517 | "restore": { |
| 518 | "description": "Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).", |
| 519 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restore", |
| 520 | "httpMethod": "POST", |
| 521 | "id": "file.projects.locations.instances.restore", |
| 522 | "parameterOrder": [ |
| 523 | "name" |
| 524 | ], |
| 525 | "parameters": { |
| 526 | "name": { |
| 527 | "description": "Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.", |
| 528 | "location": "path", |
| 529 | "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 530 | "required": true, |
| 531 | "type": "string" |
| 532 | } |
| 533 | }, |
| 534 | "path": "v1beta1/{+name}:restore", |
| 535 | "request": { |
| 536 | "$ref": "RestoreInstanceRequest" |
| 537 | }, |
| 538 | "response": { |
| 539 | "$ref": "Operation" |
| 540 | }, |
| 541 | "scopes": [ |
| 542 | "https://www.googleapis.com/auth/cloud-platform" |
| 543 | ] |
| 544 | } |
| 545 | } |
| 546 | }, |
| 547 | "operations": { |
| 548 | "methods": { |
| 549 | "cancel": { |
| 550 | "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
| 551 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", |
| 552 | "httpMethod": "POST", |
| 553 | "id": "file.projects.locations.operations.cancel", |
| 554 | "parameterOrder": [ |
| 555 | "name" |
| 556 | ], |
| 557 | "parameters": { |
| 558 | "name": { |
| 559 | "description": "The name of the operation resource to be cancelled.", |
| 560 | "location": "path", |
| 561 | "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", |
| 562 | "required": true, |
| 563 | "type": "string" |
| 564 | } |
| 565 | }, |
| 566 | "path": "v1beta1/{+name}:cancel", |
| 567 | "request": { |
| 568 | "$ref": "CancelOperationRequest" |
| 569 | }, |
| 570 | "response": { |
| 571 | "$ref": "Empty" |
| 572 | }, |
| 573 | "scopes": [ |
| 574 | "https://www.googleapis.com/auth/cloud-platform" |
| 575 | ] |
| 576 | }, |
| 577 | "delete": { |
| 578 | "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", |
| 579 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", |
| 580 | "httpMethod": "DELETE", |
| 581 | "id": "file.projects.locations.operations.delete", |
| 582 | "parameterOrder": [ |
| 583 | "name" |
| 584 | ], |
| 585 | "parameters": { |
| 586 | "name": { |
| 587 | "description": "The name of the operation resource to be deleted.", |
| 588 | "location": "path", |
| 589 | "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", |
| 590 | "required": true, |
| 591 | "type": "string" |
| 592 | } |
| 593 | }, |
| 594 | "path": "v1beta1/{+name}", |
| 595 | "response": { |
| 596 | "$ref": "Empty" |
| 597 | }, |
| 598 | "scopes": [ |
| 599 | "https://www.googleapis.com/auth/cloud-platform" |
| 600 | ] |
| 601 | }, |
| 602 | "get": { |
| 603 | "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", |
| 604 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", |
| 605 | "httpMethod": "GET", |
| 606 | "id": "file.projects.locations.operations.get", |
| 607 | "parameterOrder": [ |
| 608 | "name" |
| 609 | ], |
| 610 | "parameters": { |
| 611 | "name": { |
| 612 | "description": "The name of the operation resource.", |
| 613 | "location": "path", |
| 614 | "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", |
| 615 | "required": true, |
| 616 | "type": "string" |
| 617 | } |
| 618 | }, |
| 619 | "path": "v1beta1/{+name}", |
| 620 | "response": { |
| 621 | "$ref": "Operation" |
| 622 | }, |
| 623 | "scopes": [ |
| 624 | "https://www.googleapis.com/auth/cloud-platform" |
| 625 | ] |
| 626 | }, |
| 627 | "list": { |
| 628 | "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", |
| 629 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", |
| 630 | "httpMethod": "GET", |
| 631 | "id": "file.projects.locations.operations.list", |
| 632 | "parameterOrder": [ |
| 633 | "name" |
| 634 | ], |
| 635 | "parameters": { |
| 636 | "filter": { |
| 637 | "description": "The standard list filter.", |
| 638 | "location": "query", |
| 639 | "type": "string" |
| 640 | }, |
| 641 | "name": { |
| 642 | "description": "The name of the operation's parent resource.", |
| 643 | "location": "path", |
| 644 | "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 645 | "required": true, |
| 646 | "type": "string" |
| 647 | }, |
| 648 | "pageSize": { |
| 649 | "description": "The standard list page size.", |
| 650 | "format": "int32", |
| 651 | "location": "query", |
| 652 | "type": "integer" |
| 653 | }, |
| 654 | "pageToken": { |
| 655 | "description": "The standard list page token.", |
| 656 | "location": "query", |
| 657 | "type": "string" |
| 658 | } |
| 659 | }, |
| 660 | "path": "v1beta1/{+name}/operations", |
| 661 | "response": { |
| 662 | "$ref": "ListOperationsResponse" |
| 663 | }, |
| 664 | "scopes": [ |
| 665 | "https://www.googleapis.com/auth/cloud-platform" |
| 666 | ] |
| 667 | } |
| 668 | } |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 669 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 670 | } |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 671 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 672 | } |
| 673 | } |
| 674 | }, |
yoshi-code-bot | 227f8c9 | 2021-05-26 00:34:03 -0700 | [diff] [blame] | 675 | "revision": "20210520", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 676 | "rootUrl": "https://file.googleapis.com/", |
| 677 | "schemas": { |
| 678 | "Backup": { |
| 679 | "description": "A Cloud Filestore backup.", |
| 680 | "id": "Backup", |
| 681 | "properties": { |
| 682 | "capacityGb": { |
| 683 | "description": "Output only. Capacity of the source file share when the backup was created.", |
| 684 | "format": "int64", |
| 685 | "readOnly": true, |
| 686 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 687 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 688 | "createTime": { |
| 689 | "description": "Output only. The time when the backup was created.", |
| 690 | "format": "google-datetime", |
| 691 | "readOnly": true, |
| 692 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 693 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 694 | "description": { |
| 695 | "description": "A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.", |
| 696 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 697 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 698 | "downloadBytes": { |
| 699 | "description": "Output only. Amount of bytes that will be downloaded if the backup is restored", |
| 700 | "format": "int64", |
| 701 | "readOnly": true, |
| 702 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 703 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 704 | "labels": { |
| 705 | "additionalProperties": { |
| 706 | "type": "string" |
| 707 | }, |
| 708 | "description": "Resource labels to represent user provided metadata.", |
| 709 | "type": "object" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 710 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 711 | "name": { |
| 712 | "description": "Output only. The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}.", |
| 713 | "readOnly": true, |
| 714 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 715 | }, |
yoshi-code-bot | cbf5364 | 2021-05-03 15:58:15 -0700 | [diff] [blame] | 716 | "satisfiesPzs": { |
| 717 | "description": "Output only. Reserved for future use.", |
| 718 | "readOnly": true, |
| 719 | "type": "boolean" |
| 720 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 721 | "sourceFileShare": { |
| 722 | "description": "Name of the file share in the source Cloud Filestore instance that the backup is created from.", |
| 723 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 724 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 725 | "sourceInstance": { |
| 726 | "description": "The resource name of the source Cloud Filestore instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}, used to create this backup.", |
| 727 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 728 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 729 | "sourceInstanceTier": { |
| 730 | "description": "Output only. The service tier of the source Cloud Filestore instance that this backup is created from.", |
| 731 | "enum": [ |
| 732 | "TIER_UNSPECIFIED", |
| 733 | "STANDARD", |
| 734 | "PREMIUM", |
| 735 | "BASIC_HDD", |
| 736 | "BASIC_SSD", |
| 737 | "HIGH_SCALE_SSD" |
| 738 | ], |
| 739 | "enumDescriptions": [ |
| 740 | "Not set.", |
| 741 | "STANDARD tier. BASIC_HDD is the preferred term for this tier.", |
| 742 | "PREMIUM tier. BASIC_SSD is the preferred term for this tier.", |
| 743 | "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_HDD is an alias for STANDARD Tier, offering economical performance backed by HDD.", |
| 744 | "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.", |
| 745 | "HIGH_SCALE instances offer expanded capacity and performance scaling capabilities." |
| 746 | ], |
| 747 | "readOnly": true, |
| 748 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 749 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 750 | "state": { |
| 751 | "description": "Output only. The backup state.", |
| 752 | "enum": [ |
| 753 | "STATE_UNSPECIFIED", |
| 754 | "CREATING", |
| 755 | "FINALIZING", |
| 756 | "READY", |
| 757 | "DELETING" |
| 758 | ], |
| 759 | "enumDescriptions": [ |
| 760 | "State not set.", |
| 761 | "Backup is being created.", |
| 762 | "Backup has been taken and the operation is being finalized. At this point, changes to the file share will not be reflected in the backup.", |
| 763 | "Backup is available for use.", |
| 764 | "Backup is being deleted." |
| 765 | ], |
| 766 | "readOnly": true, |
| 767 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 768 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 769 | "storageBytes": { |
| 770 | "description": "Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.", |
| 771 | "format": "int64", |
| 772 | "readOnly": true, |
| 773 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 774 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 775 | }, |
| 776 | "type": "object" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 777 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 778 | "CancelOperationRequest": { |
| 779 | "description": "The request message for Operations.CancelOperation.", |
| 780 | "id": "CancelOperationRequest", |
| 781 | "properties": {}, |
| 782 | "type": "object" |
| 783 | }, |
| 784 | "DailyCycle": { |
| 785 | "description": "Time window specified for daily operations.", |
| 786 | "id": "DailyCycle", |
| 787 | "properties": { |
| 788 | "duration": { |
| 789 | "description": "Output only. Duration of the time window, set by service producer.", |
| 790 | "format": "google-duration", |
| 791 | "type": "string" |
| 792 | }, |
| 793 | "startTime": { |
| 794 | "$ref": "TimeOfDay", |
| 795 | "description": "Time within the day to start the operations." |
| 796 | } |
| 797 | }, |
| 798 | "type": "object" |
| 799 | }, |
| 800 | "Date": { |
| 801 | "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", |
| 802 | "id": "Date", |
| 803 | "properties": { |
| 804 | "day": { |
| 805 | "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", |
| 806 | "format": "int32", |
| 807 | "type": "integer" |
| 808 | }, |
| 809 | "month": { |
| 810 | "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", |
| 811 | "format": "int32", |
| 812 | "type": "integer" |
| 813 | }, |
| 814 | "year": { |
| 815 | "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", |
| 816 | "format": "int32", |
| 817 | "type": "integer" |
| 818 | } |
| 819 | }, |
| 820 | "type": "object" |
| 821 | }, |
| 822 | "DenyMaintenancePeriod": { |
| 823 | "description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.", |
| 824 | "id": "DenyMaintenancePeriod", |
| 825 | "properties": { |
| 826 | "endDate": { |
| 827 | "$ref": "Date", |
| 828 | "description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end." |
| 829 | }, |
| 830 | "startDate": { |
| 831 | "$ref": "Date", |
| 832 | "description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start." |
| 833 | }, |
| 834 | "time": { |
| 835 | "$ref": "TimeOfDay", |
| 836 | "description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC" |
| 837 | } |
| 838 | }, |
| 839 | "type": "object" |
| 840 | }, |
| 841 | "Empty": { |
| 842 | "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| 843 | "id": "Empty", |
| 844 | "properties": {}, |
| 845 | "type": "object" |
| 846 | }, |
| 847 | "FileShareConfig": { |
| 848 | "description": "File share configuration for the instance.", |
| 849 | "id": "FileShareConfig", |
| 850 | "properties": { |
| 851 | "capacityGb": { |
| 852 | "description": "File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.", |
| 853 | "format": "int64", |
| 854 | "type": "string" |
| 855 | }, |
| 856 | "name": { |
| 857 | "description": "The name of the file share (must be 16 characters or less).", |
| 858 | "type": "string" |
| 859 | }, |
| 860 | "nfsExportOptions": { |
| 861 | "description": "Nfs Export Options. There is a limit of 10 export options per file share.", |
| 862 | "items": { |
| 863 | "$ref": "NfsExportOptions" |
| 864 | }, |
| 865 | "type": "array" |
| 866 | }, |
| 867 | "sourceBackup": { |
| 868 | "description": "The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}, that this file share has been restored from.", |
| 869 | "type": "string" |
| 870 | } |
| 871 | }, |
| 872 | "type": "object" |
| 873 | }, |
| 874 | "GoogleCloudSaasacceleratorManagementProvidersV1Instance": { |
| 875 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", |
| 876 | "properties": { |
| 877 | "consumerDefinedName": { |
| 878 | "description": "consumer_defined_name is the name that is set by the consumer. On the other hand Name field represents system-assigned id of an instance so consumers are not necessarily aware of it. consumer_defined_name is used for notification/UI purposes for consumer to recognize their instances.", |
| 879 | "type": "string" |
| 880 | }, |
| 881 | "createTime": { |
| 882 | "description": "Output only. Timestamp when the resource was created.", |
| 883 | "format": "google-datetime", |
| 884 | "readOnly": true, |
| 885 | "type": "string" |
| 886 | }, |
| 887 | "labels": { |
| 888 | "additionalProperties": { |
| 889 | "type": "string" |
| 890 | }, |
| 891 | "description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", |
| 892 | "type": "object" |
| 893 | }, |
| 894 | "maintenancePolicyNames": { |
| 895 | "additionalProperties": { |
| 896 | "type": "string" |
| 897 | }, |
| 898 | "description": "Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.", |
| 899 | "type": "object" |
| 900 | }, |
| 901 | "maintenanceSchedules": { |
| 902 | "additionalProperties": { |
| 903 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule" |
| 904 | }, |
| 905 | "description": "The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions.", |
| 906 | "type": "object" |
| 907 | }, |
| 908 | "maintenanceSettings": { |
| 909 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", |
| 910 | "description": "Optional. The MaintenanceSettings associated with instance." |
| 911 | }, |
| 912 | "name": { |
yoshi-code-bot | cbf5364 | 2021-05-03 15:58:15 -0700 | [diff] [blame] | 913 | "description": "Unique name of the resource. It uses the form: `projects/{project_id|project_number}/locations/{location_id}/instances/{instance_id}` Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 914 | "type": "string" |
| 915 | }, |
| 916 | "producerMetadata": { |
| 917 | "additionalProperties": { |
| 918 | "type": "string" |
| 919 | }, |
| 920 | "description": "Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata.", |
| 921 | "readOnly": true, |
| 922 | "type": "object" |
| 923 | }, |
| 924 | "provisionedResources": { |
| 925 | "description": "Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata.", |
| 926 | "items": { |
| 927 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource" |
| 928 | }, |
| 929 | "readOnly": true, |
| 930 | "type": "array" |
| 931 | }, |
| 932 | "slmInstanceTemplate": { |
| 933 | "description": "Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions.", |
| 934 | "type": "string" |
| 935 | }, |
| 936 | "sloMetadata": { |
| 937 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", |
| 938 | "description": "Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. See go/cloud-ssa-standard-slo for feature description.", |
| 939 | "readOnly": true |
| 940 | }, |
| 941 | "softwareVersions": { |
| 942 | "additionalProperties": { |
| 943 | "type": "string" |
| 944 | }, |
| 945 | "description": "Software versions that are used to deploy this instance. This can be mutated by rollout services.", |
| 946 | "type": "object" |
| 947 | }, |
| 948 | "state": { |
| 949 | "description": "Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).", |
| 950 | "enum": [ |
| 951 | "STATE_UNSPECIFIED", |
| 952 | "CREATING", |
| 953 | "READY", |
| 954 | "UPDATING", |
| 955 | "REPAIRING", |
| 956 | "DELETING", |
| 957 | "ERROR" |
| 958 | ], |
| 959 | "enumDescriptions": [ |
| 960 | "Unspecified state.", |
| 961 | "Instance is being created.", |
| 962 | "Instance has been created and is ready to use.", |
| 963 | "Instance is being updated.", |
| 964 | "Instance is unheathy and under repair.", |
| 965 | "Instance is being deleted.", |
| 966 | "Instance encountered an error and is in indeterministic state." |
| 967 | ], |
| 968 | "readOnly": true, |
| 969 | "type": "string" |
| 970 | }, |
| 971 | "tenantProjectId": { |
| 972 | "description": "Output only. ID of the associated GCP tenant project. See go/get-instance-metadata.", |
| 973 | "readOnly": true, |
| 974 | "type": "string" |
| 975 | }, |
| 976 | "updateTime": { |
| 977 | "description": "Output only. Timestamp when the resource was last modified.", |
| 978 | "format": "google-datetime", |
| 979 | "readOnly": true, |
| 980 | "type": "string" |
| 981 | } |
| 982 | }, |
| 983 | "type": "object" |
| 984 | }, |
| 985 | "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": { |
| 986 | "description": "Maintenance schedule which is exposed to customer and potentially end user, indicating published upcoming future maintenance schedule", |
| 987 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule", |
| 988 | "properties": { |
| 989 | "canReschedule": { |
| 990 | "description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.", |
| 991 | "type": "boolean" |
| 992 | }, |
| 993 | "endTime": { |
| 994 | "description": "The scheduled end time for the maintenance.", |
| 995 | "format": "google-datetime", |
| 996 | "type": "string" |
| 997 | }, |
| 998 | "rolloutManagementPolicy": { |
| 999 | "description": "The rollout management policy this maintenance schedule is associated with. When doing reschedule update request, the reschedule should be against this given policy.", |
| 1000 | "type": "string" |
| 1001 | }, |
| 1002 | "scheduleDeadlineTime": { |
| 1003 | "description": "schedule_deadline_time is the time deadline any schedule start time cannot go beyond, including reschedule. It's normally the initial schedule start time plus maintenance window length (1 day or 1 week). Maintenance cannot be scheduled to start beyond this deadline.", |
| 1004 | "format": "google-datetime", |
| 1005 | "type": "string" |
| 1006 | }, |
| 1007 | "startTime": { |
| 1008 | "description": "The scheduled start time for the maintenance.", |
| 1009 | "format": "google-datetime", |
| 1010 | "type": "string" |
| 1011 | } |
| 1012 | }, |
| 1013 | "type": "object" |
| 1014 | }, |
| 1015 | "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": { |
| 1016 | "description": "Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.", |
| 1017 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", |
| 1018 | "properties": { |
| 1019 | "exclude": { |
| 1020 | "description": "Optional. Exclude instance from maintenance. When true, rollout service will not attempt maintenance on the instance. Rollout service will include the instance in reported rollout progress as not attempted.", |
| 1021 | "type": "boolean" |
| 1022 | }, |
| 1023 | "isRollback": { |
| 1024 | "description": "Optional. If the update call is triggered from rollback, set the value as true.", |
| 1025 | "type": "boolean" |
| 1026 | }, |
| 1027 | "maintenancePolicies": { |
| 1028 | "additionalProperties": { |
| 1029 | "$ref": "MaintenancePolicy" |
| 1030 | }, |
| 1031 | "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. If only the name is needed (like in the deprecated Instance.maintenance_policy_names field) then only populate MaintenancePolicy.name.", |
| 1032 | "type": "object" |
| 1033 | } |
| 1034 | }, |
| 1035 | "type": "object" |
| 1036 | }, |
| 1037 | "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": { |
| 1038 | "description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.", |
| 1039 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", |
| 1040 | "properties": { |
| 1041 | "exclusions": { |
| 1042 | "description": "By default node is eligible if instance is eligible. But individual node might be excluded from SLO by adding entry here. For semantic see SloMetadata.exclusions. If both instance and node level exclusions are present for time period, the node level's reason will be reported by Eligibility Exporter.", |
| 1043 | "items": { |
| 1044 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" |
| 1045 | }, |
| 1046 | "type": "array" |
| 1047 | }, |
| 1048 | "location": { |
| 1049 | "description": "The location of the node, if different from instance location.", |
| 1050 | "type": "string" |
| 1051 | }, |
| 1052 | "nodeId": { |
| 1053 | "description": "The id of the node. This should be equal to SaasInstanceNode.node_id.", |
| 1054 | "type": "string" |
| 1055 | } |
| 1056 | }, |
| 1057 | "type": "object" |
| 1058 | }, |
| 1059 | "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility": { |
| 1060 | "description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.", |
| 1061 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", |
| 1062 | "properties": { |
| 1063 | "eligibilities": { |
| 1064 | "additionalProperties": { |
| 1065 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility" |
| 1066 | }, |
| 1067 | "description": "An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted.", |
| 1068 | "type": "object" |
| 1069 | } |
| 1070 | }, |
| 1071 | "type": "object" |
| 1072 | }, |
| 1073 | "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": { |
| 1074 | "description": "Describes provisioned dataplane resources.", |
| 1075 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource", |
| 1076 | "properties": { |
| 1077 | "resourceType": { |
| 1078 | "description": "Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-autoscaler'.", |
| 1079 | "type": "string" |
| 1080 | }, |
| 1081 | "resourceUrl": { |
| 1082 | "description": "URL identifying the resource, e.g. \"https://www.googleapis.com/compute/v1/projects/...)\".", |
| 1083 | "type": "string" |
| 1084 | } |
| 1085 | }, |
| 1086 | "type": "object" |
| 1087 | }, |
| 1088 | "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": { |
| 1089 | "description": "SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.", |
| 1090 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", |
| 1091 | "properties": { |
| 1092 | "eligible": { |
| 1093 | "description": "Whether an instance is eligible or ineligible.", |
| 1094 | "type": "boolean" |
| 1095 | }, |
| 1096 | "reason": { |
| 1097 | "description": "User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed.", |
| 1098 | "type": "string" |
| 1099 | } |
| 1100 | }, |
| 1101 | "type": "object" |
| 1102 | }, |
| 1103 | "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": { |
| 1104 | "description": "SloExclusion represents an exclusion in SLI calculation applies to all SLOs.", |
| 1105 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion", |
| 1106 | "properties": { |
| 1107 | "duration": { |
| 1108 | "description": "Exclusion duration. No restrictions on the possible values. When an ongoing operation is taking longer than initially expected, an existing entry in the exclusion list can be updated by extending the duration. This is supported by the subsystem exporting eligibility data as long as such extension is committed at least 10 minutes before the original exclusion expiration - otherwise it is possible that there will be \"gaps\" in the exclusion application in the exported timeseries.", |
| 1109 | "format": "google-duration", |
| 1110 | "type": "string" |
| 1111 | }, |
| 1112 | "reason": { |
| 1113 | "description": "Human-readable reason for the exclusion. This should be a static string (e.g. \"Disruptive update in progress\") and should not contain dynamically generated data (e.g. instance name). Can be left empty.", |
| 1114 | "type": "string" |
| 1115 | }, |
| 1116 | "sliName": { |
| 1117 | "description": "Name of an SLI that this exclusion applies to. Can be left empty, signaling that the instance should be excluded from all SLIs.", |
| 1118 | "type": "string" |
| 1119 | }, |
| 1120 | "startTime": { |
| 1121 | "description": "Start time of the exclusion. No alignment (e.g. to a full minute) needed.", |
| 1122 | "format": "google-datetime", |
| 1123 | "type": "string" |
| 1124 | } |
| 1125 | }, |
| 1126 | "type": "object" |
| 1127 | }, |
| 1128 | "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { |
| 1129 | "description": "SloMetadata contains resources required for proper SLO classification of the instance.", |
| 1130 | "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", |
| 1131 | "properties": { |
| 1132 | "eligibility": { |
| 1133 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", |
| 1134 | "description": "Optional. Global per-instance SLI eligibility which applies to all defined SLIs. Exactly one of 'eligibility' and 'per_sli_eligibility' fields must be used." |
| 1135 | }, |
| 1136 | "exclusions": { |
| 1137 | "description": "List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion time-window against current time point) the exclusion reason used in the first matching entry will be published. It is not needed to include expired exclusion in this list, as only the currently applicable exclusions are taken into account by the eligibility exporting subsystem (the historical state of exclusions will be reflected in the historically produced timeseries regardless of the current state). This field can be used to mark the instance as temporary ineligible for the purpose of SLO calculation. For permanent instance SLO exclusion, use of custom instance eligibility is recommended. See 'eligibility' field below.", |
| 1138 | "items": { |
| 1139 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" |
| 1140 | }, |
| 1141 | "type": "array" |
| 1142 | }, |
| 1143 | "nodes": { |
| 1144 | "description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.", |
| 1145 | "items": { |
| 1146 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata" |
| 1147 | }, |
| 1148 | "type": "array" |
| 1149 | }, |
| 1150 | "perSliEligibility": { |
| 1151 | "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", |
| 1152 | "description": "Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs. Exactly one of 'eligibility' and 'per_sli_eligibility' fields must be used." |
| 1153 | }, |
| 1154 | "tier": { |
| 1155 | "description": "Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers specified in the service SLO configuration. Field is mandatory and must not be empty.", |
| 1156 | "type": "string" |
| 1157 | } |
| 1158 | }, |
| 1159 | "type": "object" |
| 1160 | }, |
| 1161 | "Instance": { |
| 1162 | "description": "A Cloud Filestore instance.", |
| 1163 | "id": "Instance", |
| 1164 | "properties": { |
| 1165 | "createTime": { |
| 1166 | "description": "Output only. The time when the instance was created.", |
| 1167 | "format": "google-datetime", |
| 1168 | "readOnly": true, |
| 1169 | "type": "string" |
| 1170 | }, |
| 1171 | "description": { |
| 1172 | "description": "The description of the instance (2048 characters or less).", |
| 1173 | "type": "string" |
| 1174 | }, |
| 1175 | "etag": { |
| 1176 | "description": "Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.", |
| 1177 | "type": "string" |
| 1178 | }, |
| 1179 | "fileShares": { |
| 1180 | "description": "File system shares on the instance. For this version, only a single file share is supported.", |
| 1181 | "items": { |
| 1182 | "$ref": "FileShareConfig" |
| 1183 | }, |
| 1184 | "type": "array" |
| 1185 | }, |
| 1186 | "labels": { |
| 1187 | "additionalProperties": { |
| 1188 | "type": "string" |
| 1189 | }, |
| 1190 | "description": "Resource labels to represent user provided metadata.", |
| 1191 | "type": "object" |
| 1192 | }, |
| 1193 | "name": { |
| 1194 | "description": "Output only. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.", |
| 1195 | "readOnly": true, |
| 1196 | "type": "string" |
| 1197 | }, |
| 1198 | "networks": { |
| 1199 | "description": "VPC networks to which the instance is connected. For this version, only a single network is supported.", |
| 1200 | "items": { |
| 1201 | "$ref": "NetworkConfig" |
| 1202 | }, |
| 1203 | "type": "array" |
| 1204 | }, |
yoshi-code-bot | 807277b | 2021-04-22 04:38:02 -0700 | [diff] [blame] | 1205 | "satisfiesPzs": { |
| 1206 | "description": "Output only. Reserved for future use.", |
| 1207 | "readOnly": true, |
| 1208 | "type": "boolean" |
| 1209 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1210 | "state": { |
| 1211 | "description": "Output only. The instance state.", |
| 1212 | "enum": [ |
| 1213 | "STATE_UNSPECIFIED", |
| 1214 | "CREATING", |
| 1215 | "READY", |
| 1216 | "REPAIRING", |
| 1217 | "DELETING", |
| 1218 | "ERROR", |
| 1219 | "RESTORING" |
| 1220 | ], |
| 1221 | "enumDescriptions": [ |
| 1222 | "State not set.", |
| 1223 | "The instance is being created.", |
| 1224 | "The instance is available for use.", |
| 1225 | "Work is being done on the instance. You can get further details from the `statusMessage` field of the `Instance` resource.", |
| 1226 | "The instance is shutting down.", |
| 1227 | "The instance is experiencing an issue and might be unusable. You can get further details from the `statusMessage` field of the `Instance` resource.", |
| 1228 | "The instance is restoring a snapshot or backup to an existing file share and may be unusable during this time." |
| 1229 | ], |
| 1230 | "readOnly": true, |
| 1231 | "type": "string" |
| 1232 | }, |
| 1233 | "statusMessage": { |
| 1234 | "description": "Output only. Additional information about the instance state, if available.", |
| 1235 | "readOnly": true, |
| 1236 | "type": "string" |
| 1237 | }, |
| 1238 | "tier": { |
| 1239 | "description": "The service tier of the instance.", |
| 1240 | "enum": [ |
| 1241 | "TIER_UNSPECIFIED", |
| 1242 | "STANDARD", |
| 1243 | "PREMIUM", |
| 1244 | "BASIC_HDD", |
| 1245 | "BASIC_SSD", |
| 1246 | "HIGH_SCALE_SSD" |
| 1247 | ], |
| 1248 | "enumDescriptions": [ |
| 1249 | "Not set.", |
| 1250 | "STANDARD tier. BASIC_HDD is the preferred term for this tier.", |
| 1251 | "PREMIUM tier. BASIC_SSD is the preferred term for this tier.", |
| 1252 | "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_HDD is an alias for STANDARD Tier, offering economical performance backed by HDD.", |
| 1253 | "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.", |
| 1254 | "HIGH_SCALE instances offer expanded capacity and performance scaling capabilities." |
| 1255 | ], |
| 1256 | "type": "string" |
| 1257 | } |
| 1258 | }, |
| 1259 | "type": "object" |
| 1260 | }, |
| 1261 | "ListBackupsResponse": { |
| 1262 | "description": "ListBackupsResponse is the result of ListBackupsRequest.", |
| 1263 | "id": "ListBackupsResponse", |
| 1264 | "properties": { |
| 1265 | "backups": { |
| 1266 | "description": "A list of backups in the project for the specified location. If the {location} value in the request is \"-\", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the \"unreachable\" field will be populated with a list of unreachable locations.", |
| 1267 | "items": { |
| 1268 | "$ref": "Backup" |
| 1269 | }, |
| 1270 | "type": "array" |
| 1271 | }, |
| 1272 | "nextPageToken": { |
| 1273 | "description": "The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.", |
| 1274 | "type": "string" |
| 1275 | }, |
| 1276 | "unreachable": { |
| 1277 | "description": "Locations that could not be reached.", |
| 1278 | "items": { |
| 1279 | "type": "string" |
| 1280 | }, |
| 1281 | "type": "array" |
| 1282 | } |
| 1283 | }, |
| 1284 | "type": "object" |
| 1285 | }, |
| 1286 | "ListInstancesResponse": { |
| 1287 | "description": "ListInstancesResponse is the result of ListInstancesRequest.", |
| 1288 | "id": "ListInstancesResponse", |
| 1289 | "properties": { |
| 1290 | "instances": { |
| 1291 | "description": "A list of instances in the project for the specified location. If the {location} value in the request is \"-\", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the \"unreachable\" field will be populated with a list of unreachable locations.", |
| 1292 | "items": { |
| 1293 | "$ref": "Instance" |
| 1294 | }, |
| 1295 | "type": "array" |
| 1296 | }, |
| 1297 | "nextPageToken": { |
| 1298 | "description": "The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.", |
| 1299 | "type": "string" |
| 1300 | }, |
| 1301 | "unreachable": { |
| 1302 | "description": "Locations that could not be reached.", |
| 1303 | "items": { |
| 1304 | "type": "string" |
| 1305 | }, |
| 1306 | "type": "array" |
| 1307 | } |
| 1308 | }, |
| 1309 | "type": "object" |
| 1310 | }, |
| 1311 | "ListLocationsResponse": { |
| 1312 | "description": "The response message for Locations.ListLocations.", |
| 1313 | "id": "ListLocationsResponse", |
| 1314 | "properties": { |
| 1315 | "locations": { |
| 1316 | "description": "A list of locations that matches the specified filter in the request.", |
| 1317 | "items": { |
| 1318 | "$ref": "Location" |
| 1319 | }, |
| 1320 | "type": "array" |
| 1321 | }, |
| 1322 | "nextPageToken": { |
| 1323 | "description": "The standard List next-page token.", |
| 1324 | "type": "string" |
| 1325 | } |
| 1326 | }, |
| 1327 | "type": "object" |
| 1328 | }, |
| 1329 | "ListOperationsResponse": { |
| 1330 | "description": "The response message for Operations.ListOperations.", |
| 1331 | "id": "ListOperationsResponse", |
| 1332 | "properties": { |
| 1333 | "nextPageToken": { |
| 1334 | "description": "The standard List next-page token.", |
| 1335 | "type": "string" |
| 1336 | }, |
| 1337 | "operations": { |
| 1338 | "description": "A list of operations that matches the specified filter in the request.", |
| 1339 | "items": { |
| 1340 | "$ref": "Operation" |
| 1341 | }, |
| 1342 | "type": "array" |
| 1343 | } |
| 1344 | }, |
| 1345 | "type": "object" |
| 1346 | }, |
| 1347 | "Location": { |
| 1348 | "description": "A resource that represents Google Cloud Platform location.", |
| 1349 | "id": "Location", |
| 1350 | "properties": { |
| 1351 | "displayName": { |
| 1352 | "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", |
| 1353 | "type": "string" |
| 1354 | }, |
| 1355 | "labels": { |
| 1356 | "additionalProperties": { |
| 1357 | "type": "string" |
| 1358 | }, |
| 1359 | "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", |
| 1360 | "type": "object" |
| 1361 | }, |
| 1362 | "locationId": { |
| 1363 | "description": "The canonical id for this location. For example: `\"us-east1\"`.", |
| 1364 | "type": "string" |
| 1365 | }, |
| 1366 | "metadata": { |
| 1367 | "additionalProperties": { |
| 1368 | "description": "Properties of the object. Contains field @type with type URL.", |
| 1369 | "type": "any" |
| 1370 | }, |
| 1371 | "description": "Service-specific metadata. For example the available capacity at the given location.", |
| 1372 | "type": "object" |
| 1373 | }, |
| 1374 | "name": { |
| 1375 | "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", |
| 1376 | "type": "string" |
| 1377 | } |
| 1378 | }, |
| 1379 | "type": "object" |
| 1380 | }, |
| 1381 | "MaintenancePolicy": { |
| 1382 | "description": "Defines policies to service maintenance events.", |
| 1383 | "id": "MaintenancePolicy", |
| 1384 | "properties": { |
| 1385 | "createTime": { |
| 1386 | "description": "Output only. The time when the resource was created.", |
| 1387 | "format": "google-datetime", |
| 1388 | "type": "string" |
| 1389 | }, |
| 1390 | "description": { |
| 1391 | "description": "Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.", |
| 1392 | "type": "string" |
| 1393 | }, |
| 1394 | "labels": { |
| 1395 | "additionalProperties": { |
| 1396 | "type": "string" |
| 1397 | }, |
| 1398 | "description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", |
| 1399 | "type": "object" |
| 1400 | }, |
| 1401 | "name": { |
| 1402 | "description": "Required. MaintenancePolicy name using the form: `projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where {project_id} refers to a GCP consumer project ID, {location_id} refers to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.", |
| 1403 | "type": "string" |
| 1404 | }, |
| 1405 | "state": { |
| 1406 | "description": "Optional. The state of the policy.", |
| 1407 | "enum": [ |
| 1408 | "STATE_UNSPECIFIED", |
| 1409 | "READY", |
| 1410 | "DELETING" |
| 1411 | ], |
| 1412 | "enumDescriptions": [ |
| 1413 | "Unspecified state.", |
| 1414 | "Resource is ready to be used.", |
| 1415 | "Resource is being deleted. It can no longer be attached to instances." |
| 1416 | ], |
| 1417 | "type": "string" |
| 1418 | }, |
| 1419 | "updatePolicy": { |
| 1420 | "$ref": "UpdatePolicy", |
| 1421 | "description": "Maintenance policy applicable to instance update." |
| 1422 | }, |
| 1423 | "updateTime": { |
| 1424 | "description": "Output only. The time when the resource was updated.", |
| 1425 | "format": "google-datetime", |
| 1426 | "type": "string" |
| 1427 | } |
| 1428 | }, |
| 1429 | "type": "object" |
| 1430 | }, |
| 1431 | "MaintenanceWindow": { |
| 1432 | "description": "MaintenanceWindow definition.", |
| 1433 | "id": "MaintenanceWindow", |
| 1434 | "properties": { |
| 1435 | "dailyCycle": { |
| 1436 | "$ref": "DailyCycle", |
| 1437 | "description": "Daily cycle." |
| 1438 | }, |
| 1439 | "weeklyCycle": { |
| 1440 | "$ref": "WeeklyCycle", |
| 1441 | "description": "Weekly cycle." |
| 1442 | } |
| 1443 | }, |
| 1444 | "type": "object" |
| 1445 | }, |
| 1446 | "NetworkConfig": { |
| 1447 | "description": "Network configuration for the instance.", |
| 1448 | "id": "NetworkConfig", |
| 1449 | "properties": { |
| 1450 | "ipAddresses": { |
| 1451 | "description": "Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.", |
| 1452 | "items": { |
| 1453 | "type": "string" |
| 1454 | }, |
| 1455 | "readOnly": true, |
| 1456 | "type": "array" |
| 1457 | }, |
| 1458 | "modes": { |
| 1459 | "description": "Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.", |
| 1460 | "items": { |
| 1461 | "enum": [ |
| 1462 | "ADDRESS_MODE_UNSPECIFIED", |
| 1463 | "MODE_IPV4" |
| 1464 | ], |
| 1465 | "enumDescriptions": [ |
| 1466 | "Internet protocol not set.", |
| 1467 | "Use the IPv4 internet protocol." |
| 1468 | ], |
| 1469 | "type": "string" |
| 1470 | }, |
| 1471 | "type": "array" |
| 1472 | }, |
| 1473 | "network": { |
| 1474 | "description": "The name of the Google Compute Engine [VPC network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected.", |
| 1475 | "type": "string" |
| 1476 | }, |
| 1477 | "reservedIpRange": { |
| 1478 | "description": "A /29 CIDR block for Basic or a /23 CIDR block for High Scale in one of the [internal IP address ranges](https://www.arin.net/knowledge/address_filters.html) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.", |
| 1479 | "type": "string" |
| 1480 | } |
| 1481 | }, |
| 1482 | "type": "object" |
| 1483 | }, |
| 1484 | "NfsExportOptions": { |
| 1485 | "description": "NFS export options specifications.", |
| 1486 | "id": "NfsExportOptions", |
| 1487 | "properties": { |
| 1488 | "accessMode": { |
| 1489 | "description": "Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.", |
| 1490 | "enum": [ |
| 1491 | "ACCESS_MODE_UNSPECIFIED", |
| 1492 | "READ_ONLY", |
| 1493 | "READ_WRITE" |
| 1494 | ], |
| 1495 | "enumDescriptions": [ |
| 1496 | "AccessMode not set.", |
| 1497 | "The client can only read the file share.", |
| 1498 | "The client can read and write the file share (default)." |
| 1499 | ], |
| 1500 | "type": "string" |
| 1501 | }, |
| 1502 | "anonGid": { |
| 1503 | "description": "An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.", |
| 1504 | "format": "int64", |
| 1505 | "type": "string" |
| 1506 | }, |
| 1507 | "anonUid": { |
| 1508 | "description": "An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.", |
| 1509 | "format": "int64", |
| 1510 | "type": "string" |
| 1511 | }, |
| 1512 | "ipRanges": { |
| 1513 | "description": "List of either an IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet 2}.{octet 3}.{octet 4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.", |
| 1514 | "items": { |
| 1515 | "type": "string" |
| 1516 | }, |
| 1517 | "type": "array" |
| 1518 | }, |
| 1519 | "squashMode": { |
| 1520 | "description": "Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.", |
| 1521 | "enum": [ |
| 1522 | "SQUASH_MODE_UNSPECIFIED", |
| 1523 | "NO_ROOT_SQUASH", |
| 1524 | "ROOT_SQUASH" |
| 1525 | ], |
| 1526 | "enumDescriptions": [ |
| 1527 | "SquashMode not set.", |
| 1528 | "The Root user has root access to the file share (default).", |
| 1529 | "The Root user has squashed access to the anonymous uid/gid." |
| 1530 | ], |
| 1531 | "type": "string" |
| 1532 | } |
| 1533 | }, |
| 1534 | "type": "object" |
| 1535 | }, |
| 1536 | "Operation": { |
| 1537 | "description": "This resource represents a long-running operation that is the result of a network API call.", |
| 1538 | "id": "Operation", |
| 1539 | "properties": { |
| 1540 | "done": { |
| 1541 | "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", |
| 1542 | "type": "boolean" |
| 1543 | }, |
| 1544 | "error": { |
| 1545 | "$ref": "Status", |
| 1546 | "description": "The error result of the operation in case of failure or cancellation." |
| 1547 | }, |
| 1548 | "metadata": { |
| 1549 | "additionalProperties": { |
| 1550 | "description": "Properties of the object. Contains field @type with type URL.", |
| 1551 | "type": "any" |
| 1552 | }, |
| 1553 | "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", |
| 1554 | "type": "object" |
| 1555 | }, |
| 1556 | "name": { |
| 1557 | "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", |
| 1558 | "type": "string" |
| 1559 | }, |
| 1560 | "response": { |
| 1561 | "additionalProperties": { |
| 1562 | "description": "Properties of the object. Contains field @type with type URL.", |
| 1563 | "type": "any" |
| 1564 | }, |
| 1565 | "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", |
| 1566 | "type": "object" |
| 1567 | } |
| 1568 | }, |
| 1569 | "type": "object" |
| 1570 | }, |
| 1571 | "OperationMetadata": { |
| 1572 | "description": "Represents the metadata of the long-running operation.", |
| 1573 | "id": "OperationMetadata", |
| 1574 | "properties": { |
| 1575 | "apiVersion": { |
| 1576 | "description": "[Output only] API version used to start the operation.", |
| 1577 | "type": "string" |
| 1578 | }, |
| 1579 | "cancelRequested": { |
| 1580 | "description": "[Output only] Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
| 1581 | "type": "boolean" |
| 1582 | }, |
| 1583 | "createTime": { |
| 1584 | "description": "[Output only] The time the operation was created.", |
| 1585 | "format": "google-datetime", |
| 1586 | "type": "string" |
| 1587 | }, |
| 1588 | "endTime": { |
| 1589 | "description": "[Output only] The time the operation finished running.", |
| 1590 | "format": "google-datetime", |
| 1591 | "type": "string" |
| 1592 | }, |
| 1593 | "statusDetail": { |
| 1594 | "description": "[Output only] Human-readable status of the operation, if any.", |
| 1595 | "type": "string" |
| 1596 | }, |
| 1597 | "target": { |
| 1598 | "description": "[Output only] Server-defined resource path for the target of the operation.", |
| 1599 | "type": "string" |
| 1600 | }, |
| 1601 | "verb": { |
| 1602 | "description": "[Output only] Name of the verb executed by the operation.", |
| 1603 | "type": "string" |
| 1604 | } |
| 1605 | }, |
| 1606 | "type": "object" |
| 1607 | }, |
| 1608 | "RestoreInstanceRequest": { |
| 1609 | "description": "RestoreInstanceRequest restores an existing instances's file share from a snapshot or backup.", |
| 1610 | "id": "RestoreInstanceRequest", |
| 1611 | "properties": { |
| 1612 | "fileShare": { |
| 1613 | "description": "Required. Name of the file share in the Cloud Filestore instance that the snapshot is being restored to.", |
| 1614 | "type": "string" |
| 1615 | }, |
| 1616 | "sourceBackup": { |
| 1617 | "description": "The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}.", |
| 1618 | "type": "string" |
| 1619 | }, |
| 1620 | "sourceSnapshot": { |
| 1621 | "description": "The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}.", |
| 1622 | "type": "string" |
| 1623 | } |
| 1624 | }, |
| 1625 | "type": "object" |
| 1626 | }, |
| 1627 | "Schedule": { |
| 1628 | "description": "Configure the schedule.", |
| 1629 | "id": "Schedule", |
| 1630 | "properties": { |
| 1631 | "day": { |
| 1632 | "description": "Allows to define schedule that runs specified day of the week.", |
| 1633 | "enum": [ |
| 1634 | "DAY_OF_WEEK_UNSPECIFIED", |
| 1635 | "MONDAY", |
| 1636 | "TUESDAY", |
| 1637 | "WEDNESDAY", |
| 1638 | "THURSDAY", |
| 1639 | "FRIDAY", |
| 1640 | "SATURDAY", |
| 1641 | "SUNDAY" |
| 1642 | ], |
| 1643 | "enumDescriptions": [ |
| 1644 | "The day of the week is unspecified.", |
| 1645 | "Monday", |
| 1646 | "Tuesday", |
| 1647 | "Wednesday", |
| 1648 | "Thursday", |
| 1649 | "Friday", |
| 1650 | "Saturday", |
| 1651 | "Sunday" |
| 1652 | ], |
| 1653 | "type": "string" |
| 1654 | }, |
| 1655 | "duration": { |
| 1656 | "description": "Output only. Duration of the time window, set by service producer.", |
| 1657 | "format": "google-duration", |
| 1658 | "type": "string" |
| 1659 | }, |
| 1660 | "startTime": { |
| 1661 | "$ref": "TimeOfDay", |
| 1662 | "description": "Time within the window to start the operations." |
| 1663 | } |
| 1664 | }, |
| 1665 | "type": "object" |
| 1666 | }, |
| 1667 | "Status": { |
| 1668 | "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", |
| 1669 | "id": "Status", |
| 1670 | "properties": { |
| 1671 | "code": { |
| 1672 | "description": "The status code, which should be an enum value of google.rpc.Code.", |
| 1673 | "format": "int32", |
| 1674 | "type": "integer" |
| 1675 | }, |
| 1676 | "details": { |
| 1677 | "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", |
| 1678 | "items": { |
| 1679 | "additionalProperties": { |
| 1680 | "description": "Properties of the object. Contains field @type with type URL.", |
| 1681 | "type": "any" |
| 1682 | }, |
| 1683 | "type": "object" |
| 1684 | }, |
| 1685 | "type": "array" |
| 1686 | }, |
| 1687 | "message": { |
| 1688 | "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
| 1689 | "type": "string" |
| 1690 | } |
| 1691 | }, |
| 1692 | "type": "object" |
| 1693 | }, |
| 1694 | "TimeOfDay": { |
| 1695 | "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", |
| 1696 | "id": "TimeOfDay", |
| 1697 | "properties": { |
| 1698 | "hours": { |
| 1699 | "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", |
| 1700 | "format": "int32", |
| 1701 | "type": "integer" |
| 1702 | }, |
| 1703 | "minutes": { |
| 1704 | "description": "Minutes of hour of day. Must be from 0 to 59.", |
| 1705 | "format": "int32", |
| 1706 | "type": "integer" |
| 1707 | }, |
| 1708 | "nanos": { |
| 1709 | "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", |
| 1710 | "format": "int32", |
| 1711 | "type": "integer" |
| 1712 | }, |
| 1713 | "seconds": { |
| 1714 | "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", |
| 1715 | "format": "int32", |
| 1716 | "type": "integer" |
| 1717 | } |
| 1718 | }, |
| 1719 | "type": "object" |
| 1720 | }, |
| 1721 | "UpdatePolicy": { |
| 1722 | "description": "Maintenance policy applicable to instance updates.", |
| 1723 | "id": "UpdatePolicy", |
| 1724 | "properties": { |
| 1725 | "channel": { |
| 1726 | "description": "Optional. Relative scheduling channel applied to resource.", |
| 1727 | "enum": [ |
| 1728 | "UPDATE_CHANNEL_UNSPECIFIED", |
| 1729 | "EARLIER", |
| 1730 | "LATER" |
| 1731 | ], |
| 1732 | "enumDescriptions": [ |
| 1733 | "Unspecified channel.", |
| 1734 | "Early channel within a customer project.", |
| 1735 | "Later channel within a customer project." |
| 1736 | ], |
| 1737 | "type": "string" |
| 1738 | }, |
| 1739 | "denyMaintenancePeriods": { |
| 1740 | "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. For V1, Maximum number of deny_maintenance_periods is expected to be one.", |
| 1741 | "items": { |
| 1742 | "$ref": "DenyMaintenancePeriod" |
| 1743 | }, |
| 1744 | "type": "array" |
| 1745 | }, |
| 1746 | "window": { |
| 1747 | "$ref": "MaintenanceWindow", |
| 1748 | "description": "Optional. Maintenance window that is applied to resources covered by this policy." |
| 1749 | } |
| 1750 | }, |
| 1751 | "type": "object" |
| 1752 | }, |
| 1753 | "WeeklyCycle": { |
| 1754 | "description": "Time window specified for weekly operations.", |
| 1755 | "id": "WeeklyCycle", |
| 1756 | "properties": { |
| 1757 | "schedule": { |
| 1758 | "description": "User can specify multiple windows in a week. Minimum of 1 window.", |
| 1759 | "items": { |
| 1760 | "$ref": "Schedule" |
| 1761 | }, |
| 1762 | "type": "array" |
| 1763 | } |
| 1764 | }, |
| 1765 | "type": "object" |
| 1766 | } |
| 1767 | }, |
| 1768 | "servicePath": "", |
| 1769 | "title": "Cloud Filestore API", |
| 1770 | "version": "v1beta1", |
| 1771 | "version_module": true |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1772 | } |