...

Text file src/google.golang.org/api/config/v1/config-api.json

Documentation: google.golang.org/api/config/v1

     1{
     2  "auth": {
     3    "oauth2": {
     4      "scopes": {
     5        "https://www.googleapis.com/auth/cloud-platform": {
     6          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
     7        }
     8      }
     9    }
    10  },
    11  "basePath": "",
    12  "baseUrl": "https://config.googleapis.com/",
    13  "batchPath": "batch",
    14  "canonicalName": "Config",
    15  "description": "Creates and manages Google Cloud Platform resources and infrastructure.",
    16  "discoveryVersion": "v1",
    17  "documentationLink": "https://cloud.google.com/infrastructure-manager/docs",
    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": "config:v1",
    24  "kind": "discovery#restDescription",
    25  "mtlsRootUrl": "https://config.mtls.googleapis.com/",
    26  "name": "config",
    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": "v1/projects/{projectsId}/locations/{locationsId}",
   115              "httpMethod": "GET",
   116              "id": "config.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"
   127                }
   128              },
   129              "path": "v1/{+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": "v1/projects/{projectsId}/locations",
   140              "httpMethod": "GET",
   141              "id": "config.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                "name": {
   152                  "description": "The resource that owns the locations collection, if applicable.",
   153                  "location": "path",
   154                  "pattern": "^projects/[^/]+$",
   155                  "required": true,
   156                  "type": "string"
   157                },
   158                "pageSize": {
   159                  "description": "The maximum number of results to return. If not set, the service selects a default.",
   160                  "format": "int32",
   161                  "location": "query",
   162                  "type": "integer"
   163                },
   164                "pageToken": {
   165                  "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
   166                  "location": "query",
   167                  "type": "string"
   168                }
   169              },
   170              "path": "v1/{+name}/locations",
   171              "response": {
   172                "$ref": "ListLocationsResponse"
   173              },
   174              "scopes": [
   175                "https://www.googleapis.com/auth/cloud-platform"
   176              ]
   177            }
   178          },
   179          "resources": {
   180            "deployments": {
   181              "methods": {
   182                "create": {
   183                  "description": "Creates a Deployment.",
   184                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments",
   185                  "httpMethod": "POST",
   186                  "id": "config.projects.locations.deployments.create",
   187                  "parameterOrder": [
   188                    "parent"
   189                  ],
   190                  "parameters": {
   191                    "deploymentId": {
   192                      "description": "Required. The Deployment ID.",
   193                      "location": "query",
   194                      "type": "string"
   195                    },
   196                    "parent": {
   197                      "description": "Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'.",
   198                      "location": "path",
   199                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   200                      "required": true,
   201                      "type": "string"
   202                    },
   203                    "requestId": {
   204                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   205                      "location": "query",
   206                      "type": "string"
   207                    }
   208                  },
   209                  "path": "v1/{+parent}/deployments",
   210                  "request": {
   211                    "$ref": "Deployment"
   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 Deployment.",
   222                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}",
   223                  "httpMethod": "DELETE",
   224                  "id": "config.projects.locations.deployments.delete",
   225                  "parameterOrder": [
   226                    "name"
   227                  ],
   228                  "parameters": {
   229                    "deletePolicy": {
   230                      "description": "Optional. Policy on how resources actuated by the deployment should be deleted. If unspecified, the default behavior is to delete the underlying resources.",
   231                      "enum": [
   232                        "DELETE_POLICY_UNSPECIFIED",
   233                        "DELETE",
   234                        "ABANDON"
   235                      ],
   236                      "enumDescriptions": [
   237                        "Unspecified policy, resources will be deleted.",
   238                        "Deletes resources actuated by the deployment.",
   239                        "Abandons resources and only deletes the deployment and its metadata."
   240                      ],
   241                      "location": "query",
   242                      "type": "string"
   243                    },
   244                    "force": {
   245                      "description": "Optional. If set to true, any revisions for this deployment will also be deleted. (Otherwise, the request will only work if the deployment has no revisions.)",
   246                      "location": "query",
   247                      "type": "boolean"
   248                    },
   249                    "name": {
   250                      "description": "Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   251                      "location": "path",
   252                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   253                      "required": true,
   254                      "type": "string"
   255                    },
   256                    "requestId": {
   257                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   258                      "location": "query",
   259                      "type": "string"
   260                    }
   261                  },
   262                  "path": "v1/{+name}",
   263                  "response": {
   264                    "$ref": "Operation"
   265                  },
   266                  "scopes": [
   267                    "https://www.googleapis.com/auth/cloud-platform"
   268                  ]
   269                },
   270                "deleteState": {
   271                  "description": "Deletes Terraform state file in a given deployment.",
   272                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:deleteState",
   273                  "httpMethod": "POST",
   274                  "id": "config.projects.locations.deployments.deleteState",
   275                  "parameterOrder": [
   276                    "name"
   277                  ],
   278                  "parameters": {
   279                    "name": {
   280                      "description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   281                      "location": "path",
   282                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   283                      "required": true,
   284                      "type": "string"
   285                    }
   286                  },
   287                  "path": "v1/{+name}:deleteState",
   288                  "request": {
   289                    "$ref": "DeleteStatefileRequest"
   290                  },
   291                  "response": {
   292                    "$ref": "Empty"
   293                  },
   294                  "scopes": [
   295                    "https://www.googleapis.com/auth/cloud-platform"
   296                  ]
   297                },
   298                "exportLock": {
   299                  "description": "Exports the lock info on a locked deployment.",
   300                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:exportLock",
   301                  "httpMethod": "GET",
   302                  "id": "config.projects.locations.deployments.exportLock",
   303                  "parameterOrder": [
   304                    "name"
   305                  ],
   306                  "parameters": {
   307                    "name": {
   308                      "description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   309                      "location": "path",
   310                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   311                      "required": true,
   312                      "type": "string"
   313                    }
   314                  },
   315                  "path": "v1/{+name}:exportLock",
   316                  "response": {
   317                    "$ref": "LockInfo"
   318                  },
   319                  "scopes": [
   320                    "https://www.googleapis.com/auth/cloud-platform"
   321                  ]
   322                },
   323                "exportState": {
   324                  "description": "Exports Terraform state file from a given deployment.",
   325                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:exportState",
   326                  "httpMethod": "POST",
   327                  "id": "config.projects.locations.deployments.exportState",
   328                  "parameterOrder": [
   329                    "parent"
   330                  ],
   331                  "parameters": {
   332                    "parent": {
   333                      "description": "Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   334                      "location": "path",
   335                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   336                      "required": true,
   337                      "type": "string"
   338                    }
   339                  },
   340                  "path": "v1/{+parent}:exportState",
   341                  "request": {
   342                    "$ref": "ExportDeploymentStatefileRequest"
   343                  },
   344                  "response": {
   345                    "$ref": "Statefile"
   346                  },
   347                  "scopes": [
   348                    "https://www.googleapis.com/auth/cloud-platform"
   349                  ]
   350                },
   351                "get": {
   352                  "description": "Gets details about a Deployment.",
   353                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}",
   354                  "httpMethod": "GET",
   355                  "id": "config.projects.locations.deployments.get",
   356                  "parameterOrder": [
   357                    "name"
   358                  ],
   359                  "parameters": {
   360                    "name": {
   361                      "description": "Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   362                      "location": "path",
   363                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   364                      "required": true,
   365                      "type": "string"
   366                    }
   367                  },
   368                  "path": "v1/{+name}",
   369                  "response": {
   370                    "$ref": "Deployment"
   371                  },
   372                  "scopes": [
   373                    "https://www.googleapis.com/auth/cloud-platform"
   374                  ]
   375                },
   376                "getIamPolicy": {
   377                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
   378                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:getIamPolicy",
   379                  "httpMethod": "GET",
   380                  "id": "config.projects.locations.deployments.getIamPolicy",
   381                  "parameterOrder": [
   382                    "resource"
   383                  ],
   384                  "parameters": {
   385                    "options.requestedPolicyVersion": {
   386                      "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
   387                      "format": "int32",
   388                      "location": "query",
   389                      "type": "integer"
   390                    },
   391                    "resource": {
   392                      "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
   393                      "location": "path",
   394                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   395                      "required": true,
   396                      "type": "string"
   397                    }
   398                  },
   399                  "path": "v1/{+resource}:getIamPolicy",
   400                  "response": {
   401                    "$ref": "Policy"
   402                  },
   403                  "scopes": [
   404                    "https://www.googleapis.com/auth/cloud-platform"
   405                  ]
   406                },
   407                "importState": {
   408                  "description": "Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.",
   409                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:importState",
   410                  "httpMethod": "POST",
   411                  "id": "config.projects.locations.deployments.importState",
   412                  "parameterOrder": [
   413                    "parent"
   414                  ],
   415                  "parameters": {
   416                    "parent": {
   417                      "description": "Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   418                      "location": "path",
   419                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   420                      "required": true,
   421                      "type": "string"
   422                    }
   423                  },
   424                  "path": "v1/{+parent}:importState",
   425                  "request": {
   426                    "$ref": "ImportStatefileRequest"
   427                  },
   428                  "response": {
   429                    "$ref": "Statefile"
   430                  },
   431                  "scopes": [
   432                    "https://www.googleapis.com/auth/cloud-platform"
   433                  ]
   434                },
   435                "list": {
   436                  "description": "Lists Deployments in a given project and location.",
   437                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments",
   438                  "httpMethod": "GET",
   439                  "id": "config.projects.locations.deployments.list",
   440                  "parameterOrder": [
   441                    "parent"
   442                  ],
   443                  "parameters": {
   444                    "filter": {
   445                      "description": "Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '\u003c', '\u003e', '\u003c=', '\u003e=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Deployments in CREATING state. state=CREATING",
   446                      "location": "query",
   447                      "type": "string"
   448                    },
   449                    "orderBy": {
   450                      "description": "Field to use to sort the list.",
   451                      "location": "query",
   452                      "type": "string"
   453                    },
   454                    "pageSize": {
   455                      "description": "When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.",
   456                      "format": "int32",
   457                      "location": "query",
   458                      "type": "integer"
   459                    },
   460                    "pageToken": {
   461                      "description": "Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources.",
   462                      "location": "query",
   463                      "type": "string"
   464                    },
   465                    "parent": {
   466                      "description": "Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.",
   467                      "location": "path",
   468                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   469                      "required": true,
   470                      "type": "string"
   471                    }
   472                  },
   473                  "path": "v1/{+parent}/deployments",
   474                  "response": {
   475                    "$ref": "ListDeploymentsResponse"
   476                  },
   477                  "scopes": [
   478                    "https://www.googleapis.com/auth/cloud-platform"
   479                  ]
   480                },
   481                "lock": {
   482                  "description": "Locks a deployment.",
   483                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:lock",
   484                  "httpMethod": "POST",
   485                  "id": "config.projects.locations.deployments.lock",
   486                  "parameterOrder": [
   487                    "name"
   488                  ],
   489                  "parameters": {
   490                    "name": {
   491                      "description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   492                      "location": "path",
   493                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   494                      "required": true,
   495                      "type": "string"
   496                    }
   497                  },
   498                  "path": "v1/{+name}:lock",
   499                  "request": {
   500                    "$ref": "LockDeploymentRequest"
   501                  },
   502                  "response": {
   503                    "$ref": "Operation"
   504                  },
   505                  "scopes": [
   506                    "https://www.googleapis.com/auth/cloud-platform"
   507                  ]
   508                },
   509                "patch": {
   510                  "description": "Updates a Deployment.",
   511                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}",
   512                  "httpMethod": "PATCH",
   513                  "id": "config.projects.locations.deployments.patch",
   514                  "parameterOrder": [
   515                    "name"
   516                  ],
   517                  "parameters": {
   518                    "name": {
   519                      "description": "Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`",
   520                      "location": "path",
   521                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   522                      "required": true,
   523                      "type": "string"
   524                    },
   525                    "requestId": {
   526                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   527                      "location": "query",
   528                      "type": "string"
   529                    },
   530                    "updateMask": {
   531                      "description": "Optional. Field mask used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.",
   532                      "format": "google-fieldmask",
   533                      "location": "query",
   534                      "type": "string"
   535                    }
   536                  },
   537                  "path": "v1/{+name}",
   538                  "request": {
   539                    "$ref": "Deployment"
   540                  },
   541                  "response": {
   542                    "$ref": "Operation"
   543                  },
   544                  "scopes": [
   545                    "https://www.googleapis.com/auth/cloud-platform"
   546                  ]
   547                },
   548                "setIamPolicy": {
   549                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
   550                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:setIamPolicy",
   551                  "httpMethod": "POST",
   552                  "id": "config.projects.locations.deployments.setIamPolicy",
   553                  "parameterOrder": [
   554                    "resource"
   555                  ],
   556                  "parameters": {
   557                    "resource": {
   558                      "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
   559                      "location": "path",
   560                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   561                      "required": true,
   562                      "type": "string"
   563                    }
   564                  },
   565                  "path": "v1/{+resource}:setIamPolicy",
   566                  "request": {
   567                    "$ref": "SetIamPolicyRequest"
   568                  },
   569                  "response": {
   570                    "$ref": "Policy"
   571                  },
   572                  "scopes": [
   573                    "https://www.googleapis.com/auth/cloud-platform"
   574                  ]
   575                },
   576                "testIamPermissions": {
   577                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
   578                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:testIamPermissions",
   579                  "httpMethod": "POST",
   580                  "id": "config.projects.locations.deployments.testIamPermissions",
   581                  "parameterOrder": [
   582                    "resource"
   583                  ],
   584                  "parameters": {
   585                    "resource": {
   586                      "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
   587                      "location": "path",
   588                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   589                      "required": true,
   590                      "type": "string"
   591                    }
   592                  },
   593                  "path": "v1/{+resource}:testIamPermissions",
   594                  "request": {
   595                    "$ref": "TestIamPermissionsRequest"
   596                  },
   597                  "response": {
   598                    "$ref": "TestIamPermissionsResponse"
   599                  },
   600                  "scopes": [
   601                    "https://www.googleapis.com/auth/cloud-platform"
   602                  ]
   603                },
   604                "unlock": {
   605                  "description": "Unlocks a locked deployment.",
   606                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:unlock",
   607                  "httpMethod": "POST",
   608                  "id": "config.projects.locations.deployments.unlock",
   609                  "parameterOrder": [
   610                    "name"
   611                  ],
   612                  "parameters": {
   613                    "name": {
   614                      "description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   615                      "location": "path",
   616                      "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   617                      "required": true,
   618                      "type": "string"
   619                    }
   620                  },
   621                  "path": "v1/{+name}:unlock",
   622                  "request": {
   623                    "$ref": "UnlockDeploymentRequest"
   624                  },
   625                  "response": {
   626                    "$ref": "Operation"
   627                  },
   628                  "scopes": [
   629                    "https://www.googleapis.com/auth/cloud-platform"
   630                  ]
   631                }
   632              },
   633              "resources": {
   634                "revisions": {
   635                  "methods": {
   636                    "exportState": {
   637                      "description": "Exports Terraform state file from a given revision.",
   638                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}:exportState",
   639                      "httpMethod": "POST",
   640                      "id": "config.projects.locations.deployments.revisions.exportState",
   641                      "parameterOrder": [
   642                        "parent"
   643                      ],
   644                      "parameters": {
   645                        "parent": {
   646                          "description": "Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.",
   647                          "location": "path",
   648                          "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+$",
   649                          "required": true,
   650                          "type": "string"
   651                        }
   652                      },
   653                      "path": "v1/{+parent}:exportState",
   654                      "request": {
   655                        "$ref": "ExportRevisionStatefileRequest"
   656                      },
   657                      "response": {
   658                        "$ref": "Statefile"
   659                      },
   660                      "scopes": [
   661                        "https://www.googleapis.com/auth/cloud-platform"
   662                      ]
   663                    },
   664                    "get": {
   665                      "description": "Gets details about a Revision.",
   666                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}",
   667                      "httpMethod": "GET",
   668                      "id": "config.projects.locations.deployments.revisions.get",
   669                      "parameterOrder": [
   670                        "name"
   671                      ],
   672                      "parameters": {
   673                        "name": {
   674                          "description": "Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.",
   675                          "location": "path",
   676                          "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+$",
   677                          "required": true,
   678                          "type": "string"
   679                        }
   680                      },
   681                      "path": "v1/{+name}",
   682                      "response": {
   683                        "$ref": "Revision"
   684                      },
   685                      "scopes": [
   686                        "https://www.googleapis.com/auth/cloud-platform"
   687                      ]
   688                    },
   689                    "list": {
   690                      "description": "Lists Revisions of a deployment.",
   691                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions",
   692                      "httpMethod": "GET",
   693                      "id": "config.projects.locations.deployments.revisions.list",
   694                      "parameterOrder": [
   695                        "parent"
   696                      ],
   697                      "parameters": {
   698                        "filter": {
   699                          "description": "Lists the Revisions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '\u003c', '\u003e', '\u003c=', '\u003e=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/dep/revisions/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Revisions in CREATING state. state=CREATING",
   700                          "location": "query",
   701                          "type": "string"
   702                        },
   703                        "orderBy": {
   704                          "description": "Field to use to sort the list.",
   705                          "location": "query",
   706                          "type": "string"
   707                        },
   708                        "pageSize": {
   709                          "description": "When requesting a page of resources, `page_size` specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.",
   710                          "format": "int32",
   711                          "location": "query",
   712                          "type": "integer"
   713                        },
   714                        "pageToken": {
   715                          "description": "Token returned by previous call to 'ListRevisions' which specifies the position in the list from where to continue listing the resources.",
   716                          "location": "query",
   717                          "type": "string"
   718                        },
   719                        "parent": {
   720                          "description": "Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.",
   721                          "location": "path",
   722                          "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$",
   723                          "required": true,
   724                          "type": "string"
   725                        }
   726                      },
   727                      "path": "v1/{+parent}/revisions",
   728                      "response": {
   729                        "$ref": "ListRevisionsResponse"
   730                      },
   731                      "scopes": [
   732                        "https://www.googleapis.com/auth/cloud-platform"
   733                      ]
   734                    }
   735                  },
   736                  "resources": {
   737                    "resources": {
   738                      "methods": {
   739                        "get": {
   740                          "description": "Gets details about a Resource deployed by Infra Manager.",
   741                          "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}/resources/{resourcesId}",
   742                          "httpMethod": "GET",
   743                          "id": "config.projects.locations.deployments.revisions.resources.get",
   744                          "parameterOrder": [
   745                            "name"
   746                          ],
   747                          "parameters": {
   748                            "name": {
   749                              "description": "Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.",
   750                              "location": "path",
   751                              "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+/resources/[^/]+$",
   752                              "required": true,
   753                              "type": "string"
   754                            }
   755                          },
   756                          "path": "v1/{+name}",
   757                          "response": {
   758                            "$ref": "Resource"
   759                          },
   760                          "scopes": [
   761                            "https://www.googleapis.com/auth/cloud-platform"
   762                          ]
   763                        },
   764                        "list": {
   765                          "description": "Lists Resources in a given revision.",
   766                          "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}/resources",
   767                          "httpMethod": "GET",
   768                          "id": "config.projects.locations.deployments.revisions.resources.list",
   769                          "parameterOrder": [
   770                            "parent"
   771                          ],
   772                          "parameters": {
   773                            "filter": {
   774                              "description": "Lists the Resources that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '\u003c', '\u003e', '\u003c=', '\u003e=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz",
   775                              "location": "query",
   776                              "type": "string"
   777                            },
   778                            "orderBy": {
   779                              "description": "Field to use to sort the list.",
   780                              "location": "query",
   781                              "type": "string"
   782                            },
   783                            "pageSize": {
   784                              "description": "When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.",
   785                              "format": "int32",
   786                              "location": "query",
   787                              "type": "integer"
   788                            },
   789                            "pageToken": {
   790                              "description": "Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources.",
   791                              "location": "query",
   792                              "type": "string"
   793                            },
   794                            "parent": {
   795                              "description": "Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.",
   796                              "location": "path",
   797                              "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+$",
   798                              "required": true,
   799                              "type": "string"
   800                            }
   801                          },
   802                          "path": "v1/{+parent}/resources",
   803                          "response": {
   804                            "$ref": "ListResourcesResponse"
   805                          },
   806                          "scopes": [
   807                            "https://www.googleapis.com/auth/cloud-platform"
   808                          ]
   809                        }
   810                      }
   811                    }
   812                  }
   813                }
   814              }
   815            },
   816            "operations": {
   817              "methods": {
   818                "cancel": {
   819                  "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`.",
   820                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
   821                  "httpMethod": "POST",
   822                  "id": "config.projects.locations.operations.cancel",
   823                  "parameterOrder": [
   824                    "name"
   825                  ],
   826                  "parameters": {
   827                    "name": {
   828                      "description": "The name of the operation resource to be cancelled.",
   829                      "location": "path",
   830                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   831                      "required": true,
   832                      "type": "string"
   833                    }
   834                  },
   835                  "path": "v1/{+name}:cancel",
   836                  "request": {
   837                    "$ref": "CancelOperationRequest"
   838                  },
   839                  "response": {
   840                    "$ref": "Empty"
   841                  },
   842                  "scopes": [
   843                    "https://www.googleapis.com/auth/cloud-platform"
   844                  ]
   845                },
   846                "delete": {
   847                  "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`.",
   848                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
   849                  "httpMethod": "DELETE",
   850                  "id": "config.projects.locations.operations.delete",
   851                  "parameterOrder": [
   852                    "name"
   853                  ],
   854                  "parameters": {
   855                    "name": {
   856                      "description": "The name of the operation resource to be deleted.",
   857                      "location": "path",
   858                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   859                      "required": true,
   860                      "type": "string"
   861                    }
   862                  },
   863                  "path": "v1/{+name}",
   864                  "response": {
   865                    "$ref": "Empty"
   866                  },
   867                  "scopes": [
   868                    "https://www.googleapis.com/auth/cloud-platform"
   869                  ]
   870                },
   871                "get": {
   872                  "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.",
   873                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
   874                  "httpMethod": "GET",
   875                  "id": "config.projects.locations.operations.get",
   876                  "parameterOrder": [
   877                    "name"
   878                  ],
   879                  "parameters": {
   880                    "name": {
   881                      "description": "The name of the operation resource.",
   882                      "location": "path",
   883                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   884                      "required": true,
   885                      "type": "string"
   886                    }
   887                  },
   888                  "path": "v1/{+name}",
   889                  "response": {
   890                    "$ref": "Operation"
   891                  },
   892                  "scopes": [
   893                    "https://www.googleapis.com/auth/cloud-platform"
   894                  ]
   895                },
   896                "list": {
   897                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
   898                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
   899                  "httpMethod": "GET",
   900                  "id": "config.projects.locations.operations.list",
   901                  "parameterOrder": [
   902                    "name"
   903                  ],
   904                  "parameters": {
   905                    "filter": {
   906                      "description": "The standard list filter.",
   907                      "location": "query",
   908                      "type": "string"
   909                    },
   910                    "name": {
   911                      "description": "The name of the operation's parent resource.",
   912                      "location": "path",
   913                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   914                      "required": true,
   915                      "type": "string"
   916                    },
   917                    "pageSize": {
   918                      "description": "The standard list page size.",
   919                      "format": "int32",
   920                      "location": "query",
   921                      "type": "integer"
   922                    },
   923                    "pageToken": {
   924                      "description": "The standard list page token.",
   925                      "location": "query",
   926                      "type": "string"
   927                    }
   928                  },
   929                  "path": "v1/{+name}/operations",
   930                  "response": {
   931                    "$ref": "ListOperationsResponse"
   932                  },
   933                  "scopes": [
   934                    "https://www.googleapis.com/auth/cloud-platform"
   935                  ]
   936                }
   937              }
   938            },
   939            "previews": {
   940              "methods": {
   941                "create": {
   942                  "description": "Creates a Preview.",
   943                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews",
   944                  "httpMethod": "POST",
   945                  "id": "config.projects.locations.previews.create",
   946                  "parameterOrder": [
   947                    "parent"
   948                  ],
   949                  "parameters": {
   950                    "parent": {
   951                      "description": "Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'.",
   952                      "location": "path",
   953                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   954                      "required": true,
   955                      "type": "string"
   956                    },
   957                    "previewId": {
   958                      "description": "Optional. The preview ID.",
   959                      "location": "query",
   960                      "type": "string"
   961                    },
   962                    "requestId": {
   963                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   964                      "location": "query",
   965                      "type": "string"
   966                    }
   967                  },
   968                  "path": "v1/{+parent}/previews",
   969                  "request": {
   970                    "$ref": "Preview"
   971                  },
   972                  "response": {
   973                    "$ref": "Operation"
   974                  },
   975                  "scopes": [
   976                    "https://www.googleapis.com/auth/cloud-platform"
   977                  ]
   978                },
   979                "delete": {
   980                  "description": "Deletes a Preview.",
   981                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}",
   982                  "httpMethod": "DELETE",
   983                  "id": "config.projects.locations.previews.delete",
   984                  "parameterOrder": [
   985                    "name"
   986                  ],
   987                  "parameters": {
   988                    "name": {
   989                      "description": "Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.",
   990                      "location": "path",
   991                      "pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$",
   992                      "required": true,
   993                      "type": "string"
   994                    },
   995                    "requestId": {
   996                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   997                      "location": "query",
   998                      "type": "string"
   999                    }
  1000                  },
  1001                  "path": "v1/{+name}",
  1002                  "response": {
  1003                    "$ref": "Operation"
  1004                  },
  1005                  "scopes": [
  1006                    "https://www.googleapis.com/auth/cloud-platform"
  1007                  ]
  1008                },
  1009                "export": {
  1010                  "description": "Export Preview results.",
  1011                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}:export",
  1012                  "httpMethod": "POST",
  1013                  "id": "config.projects.locations.previews.export",
  1014                  "parameterOrder": [
  1015                    "parent"
  1016                  ],
  1017                  "parameters": {
  1018                    "parent": {
  1019                      "description": "Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.",
  1020                      "location": "path",
  1021                      "pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$",
  1022                      "required": true,
  1023                      "type": "string"
  1024                    }
  1025                  },
  1026                  "path": "v1/{+parent}:export",
  1027                  "request": {
  1028                    "$ref": "ExportPreviewResultRequest"
  1029                  },
  1030                  "response": {
  1031                    "$ref": "ExportPreviewResultResponse"
  1032                  },
  1033                  "scopes": [
  1034                    "https://www.googleapis.com/auth/cloud-platform"
  1035                  ]
  1036                },
  1037                "get": {
  1038                  "description": "Gets details about a Preview.",
  1039                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}",
  1040                  "httpMethod": "GET",
  1041                  "id": "config.projects.locations.previews.get",
  1042                  "parameterOrder": [
  1043                    "name"
  1044                  ],
  1045                  "parameters": {
  1046                    "name": {
  1047                      "description": "Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'.",
  1048                      "location": "path",
  1049                      "pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$",
  1050                      "required": true,
  1051                      "type": "string"
  1052                    }
  1053                  },
  1054                  "path": "v1/{+name}",
  1055                  "response": {
  1056                    "$ref": "Preview"
  1057                  },
  1058                  "scopes": [
  1059                    "https://www.googleapis.com/auth/cloud-platform"
  1060                  ]
  1061                },
  1062                "list": {
  1063                  "description": "Lists Previews in a given project and location.",
  1064                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews",
  1065                  "httpMethod": "GET",
  1066                  "id": "config.projects.locations.previews.list",
  1067                  "parameterOrder": [
  1068                    "parent"
  1069                  ],
  1070                  "parameters": {
  1071                    "filter": {
  1072                      "description": "Optional. Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '\u003c', '\u003e', '\u003c=', '\u003e=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Deployments in CREATING state. state=CREATING",
  1073                      "location": "query",
  1074                      "type": "string"
  1075                    },
  1076                    "orderBy": {
  1077                      "description": "Optional. Field to use to sort the list.",
  1078                      "location": "query",
  1079                      "type": "string"
  1080                    },
  1081                    "pageSize": {
  1082                      "description": "Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.",
  1083                      "format": "int32",
  1084                      "location": "query",
  1085                      "type": "integer"
  1086                    },
  1087                    "pageToken": {
  1088                      "description": "Optional. Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources.",
  1089                      "location": "query",
  1090                      "type": "string"
  1091                    },
  1092                    "parent": {
  1093                      "description": "Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.",
  1094                      "location": "path",
  1095                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1096                      "required": true,
  1097                      "type": "string"
  1098                    }
  1099                  },
  1100                  "path": "v1/{+parent}/previews",
  1101                  "response": {
  1102                    "$ref": "ListPreviewsResponse"
  1103                  },
  1104                  "scopes": [
  1105                    "https://www.googleapis.com/auth/cloud-platform"
  1106                  ]
  1107                }
  1108              }
  1109            },
  1110            "terraformVersions": {
  1111              "methods": {
  1112                "get": {
  1113                  "description": "Gets details about a TerraformVersion.",
  1114                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/terraformVersions/{terraformVersionsId}",
  1115                  "httpMethod": "GET",
  1116                  "id": "config.projects.locations.terraformVersions.get",
  1117                  "parameterOrder": [
  1118                    "name"
  1119                  ],
  1120                  "parameters": {
  1121                    "name": {
  1122                      "description": "Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'",
  1123                      "location": "path",
  1124                      "pattern": "^projects/[^/]+/locations/[^/]+/terraformVersions/[^/]+$",
  1125                      "required": true,
  1126                      "type": "string"
  1127                    }
  1128                  },
  1129                  "path": "v1/{+name}",
  1130                  "response": {
  1131                    "$ref": "TerraformVersion"
  1132                  },
  1133                  "scopes": [
  1134                    "https://www.googleapis.com/auth/cloud-platform"
  1135                  ]
  1136                },
  1137                "list": {
  1138                  "description": "Lists TerraformVersions in a given project and location.",
  1139                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/terraformVersions",
  1140                  "httpMethod": "GET",
  1141                  "id": "config.projects.locations.terraformVersions.list",
  1142                  "parameterOrder": [
  1143                    "parent"
  1144                  ],
  1145                  "parameters": {
  1146                    "filter": {
  1147                      "description": "Optional. Lists the TerraformVersions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '\u003c', '\u003e', '\u003c=', '\u003e=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.",
  1148                      "location": "query",
  1149                      "type": "string"
  1150                    },
  1151                    "orderBy": {
  1152                      "description": "Optional. Field to use to sort the list.",
  1153                      "location": "query",
  1154                      "type": "string"
  1155                    },
  1156                    "pageSize": {
  1157                      "description": "Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.",
  1158                      "format": "int32",
  1159                      "location": "query",
  1160                      "type": "integer"
  1161                    },
  1162                    "pageToken": {
  1163                      "description": "Optional. Token returned by previous call to 'ListTerraformVersions' which specifies the position in the list from where to continue listing the resources.",
  1164                      "location": "query",
  1165                      "type": "string"
  1166                    },
  1167                    "parent": {
  1168                      "description": "Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.",
  1169                      "location": "path",
  1170                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1171                      "required": true,
  1172                      "type": "string"
  1173                    }
  1174                  },
  1175                  "path": "v1/{+parent}/terraformVersions",
  1176                  "response": {
  1177                    "$ref": "ListTerraformVersionsResponse"
  1178                  },
  1179                  "scopes": [
  1180                    "https://www.googleapis.com/auth/cloud-platform"
  1181                  ]
  1182                }
  1183              }
  1184            }
  1185          }
  1186        }
  1187      }
  1188    }
  1189  },
  1190  "revision": "20240424",
  1191  "rootUrl": "https://config.googleapis.com/",
  1192  "schemas": {
  1193    "ApplyResults": {
  1194      "description": "Outputs and artifacts from applying a deployment.",
  1195      "id": "ApplyResults",
  1196      "properties": {
  1197        "artifacts": {
  1198          "description": "Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`",
  1199          "type": "string"
  1200        },
  1201        "content": {
  1202          "description": "Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`",
  1203          "type": "string"
  1204        },
  1205        "outputs": {
  1206          "additionalProperties": {
  1207            "$ref": "TerraformOutput"
  1208          },
  1209          "description": "Map of output name to output info.",
  1210          "type": "object"
  1211        }
  1212      },
  1213      "type": "object"
  1214    },
  1215    "AuditConfig": {
  1216      "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
  1217      "id": "AuditConfig",
  1218      "properties": {
  1219        "auditLogConfigs": {
  1220          "description": "The configuration for logging of each type of permission.",
  1221          "items": {
  1222            "$ref": "AuditLogConfig"
  1223          },
  1224          "type": "array"
  1225        },
  1226        "service": {
  1227          "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.",
  1228          "type": "string"
  1229        }
  1230      },
  1231      "type": "object"
  1232    },
  1233    "AuditLogConfig": {
  1234      "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
  1235      "id": "AuditLogConfig",
  1236      "properties": {
  1237        "exemptedMembers": {
  1238          "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.",
  1239          "items": {
  1240            "type": "string"
  1241          },
  1242          "type": "array"
  1243        },
  1244        "logType": {
  1245          "description": "The log type that this config enables.",
  1246          "enum": [
  1247            "LOG_TYPE_UNSPECIFIED",
  1248            "ADMIN_READ",
  1249            "DATA_WRITE",
  1250            "DATA_READ"
  1251          ],
  1252          "enumDescriptions": [
  1253            "Default case. Should never be this.",
  1254            "Admin reads. Example: CloudIAM getIamPolicy",
  1255            "Data writes. Example: CloudSQL Users create",
  1256            "Data reads. Example: CloudSQL Users list"
  1257          ],
  1258          "type": "string"
  1259        }
  1260      },
  1261      "type": "object"
  1262    },
  1263    "Binding": {
  1264      "description": "Associates `members`, or principals, with a `role`.",
  1265      "id": "Binding",
  1266      "properties": {
  1267        "condition": {
  1268          "$ref": "Expr",
  1269          "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
  1270        },
  1271        "members": {
  1272          "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.",
  1273          "items": {
  1274            "type": "string"
  1275          },
  1276          "type": "array"
  1277        },
  1278        "role": {
  1279          "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
  1280          "type": "string"
  1281        }
  1282      },
  1283      "type": "object"
  1284    },
  1285    "CancelOperationRequest": {
  1286      "description": "The request message for Operations.CancelOperation.",
  1287      "id": "CancelOperationRequest",
  1288      "properties": {},
  1289      "type": "object"
  1290    },
  1291    "DeleteStatefileRequest": {
  1292      "description": "A request to delete a state file passed to a 'DeleteStatefile' call.",
  1293      "id": "DeleteStatefileRequest",
  1294      "properties": {
  1295        "lockId": {
  1296          "description": "Required. Lock ID of the lock file to verify that the user who is deleting the state file previously locked the Deployment.",
  1297          "format": "int64",
  1298          "type": "string"
  1299        }
  1300      },
  1301      "type": "object"
  1302    },
  1303    "Deployment": {
  1304      "description": "A Deployment is a group of resources and configs managed and provisioned by Infra Manager.",
  1305      "id": "Deployment",
  1306      "properties": {
  1307        "annotations": {
  1308          "additionalProperties": {
  1309            "type": "string"
  1310          },
  1311          "description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.",
  1312          "type": "object"
  1313        },
  1314        "artifactsGcsBucket": {
  1315          "description": "Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence",
  1316          "type": "string"
  1317        },
  1318        "createTime": {
  1319          "description": "Output only. Time when the deployment was created.",
  1320          "format": "google-datetime",
  1321          "readOnly": true,
  1322          "type": "string"
  1323        },
  1324        "deleteBuild": {
  1325          "description": "Output only. Cloud Build instance UUID associated with deleting this deployment.",
  1326          "readOnly": true,
  1327          "type": "string"
  1328        },
  1329        "deleteLogs": {
  1330          "description": "Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`.",
  1331          "readOnly": true,
  1332          "type": "string"
  1333        },
  1334        "deleteResults": {
  1335          "$ref": "ApplyResults",
  1336          "description": "Output only. Location of artifacts from a DeleteDeployment operation.",
  1337          "readOnly": true
  1338        },
  1339        "errorCode": {
  1340          "description": "Output only. Error code describing errors that may have occurred.",
  1341          "enum": [
  1342            "ERROR_CODE_UNSPECIFIED",
  1343            "REVISION_FAILED",
  1344            "CLOUD_BUILD_PERMISSION_DENIED",
  1345            "DELETE_BUILD_API_FAILED",
  1346            "DELETE_BUILD_RUN_FAILED",
  1347            "BUCKET_CREATION_PERMISSION_DENIED",
  1348            "BUCKET_CREATION_FAILED"
  1349          ],
  1350          "enumDescriptions": [
  1351            "No error code was specified.",
  1352            "The revision failed. See Revision for more details.",
  1353            "Cloud Build failed due to a permission issue.",
  1354            "Cloud Build job associated with a deployment deletion could not be started.",
  1355            "Cloud Build job associated with a deployment deletion was started but failed.",
  1356            "Cloud Storage bucket creation failed due to a permission issue.",
  1357            "Cloud Storage bucket creation failed due to an issue unrelated to permissions."
  1358          ],
  1359          "readOnly": true,
  1360          "type": "string"
  1361        },
  1362        "errorLogs": {
  1363          "description": "Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.",
  1364          "readOnly": true,
  1365          "type": "string"
  1366        },
  1367        "importExistingResources": {
  1368          "description": "By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.",
  1369          "type": "boolean"
  1370        },
  1371        "labels": {
  1372          "additionalProperties": {
  1373            "type": "string"
  1374          },
  1375          "description": "User-defined metadata for the deployment.",
  1376          "type": "object"
  1377        },
  1378        "latestRevision": {
  1379          "description": "Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`",
  1380          "readOnly": true,
  1381          "type": "string"
  1382        },
  1383        "lockState": {
  1384          "description": "Output only. Current lock state of the deployment.",
  1385          "enum": [
  1386            "LOCK_STATE_UNSPECIFIED",
  1387            "LOCKED",
  1388            "UNLOCKED",
  1389            "LOCKING",
  1390            "UNLOCKING",
  1391            "LOCK_FAILED",
  1392            "UNLOCK_FAILED"
  1393          ],
  1394          "enumDescriptions": [
  1395            "The default value. This value is used if the lock state is omitted.",
  1396            "The deployment is locked.",
  1397            "The deployment is unlocked.",
  1398            "The deployment is being locked.",
  1399            "The deployment is being unlocked.",
  1400            "The deployment has failed to lock.",
  1401            "The deployment has failed to unlock."
  1402          ],
  1403          "readOnly": true,
  1404          "type": "string"
  1405        },
  1406        "name": {
  1407          "description": "Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`",
  1408          "type": "string"
  1409        },
  1410        "quotaValidation": {
  1411          "description": "Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.",
  1412          "enum": [
  1413            "QUOTA_VALIDATION_UNSPECIFIED",
  1414            "ENABLED",
  1415            "ENFORCED"
  1416          ],
  1417          "enumDescriptions": [
  1418            "The default value. QuotaValidation on terraform configuration files will be disabled in this case.",
  1419            "Enable computing quotas for resources in terraform configuration files to get visibility on resources with insufficient quotas.",
  1420            "Enforce quota checks so deployment fails if there isn't sufficient quotas available to deploy resources in terraform configuration files."
  1421          ],
  1422          "type": "string"
  1423        },
  1424        "serviceAccount": {
  1425          "description": "Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`",
  1426          "type": "string"
  1427        },
  1428        "state": {
  1429          "description": "Output only. Current state of the deployment.",
  1430          "enum": [
  1431            "STATE_UNSPECIFIED",
  1432            "CREATING",
  1433            "ACTIVE",
  1434            "UPDATING",
  1435            "DELETING",
  1436            "FAILED",
  1437            "SUSPENDED",
  1438            "DELETED"
  1439          ],
  1440          "enumDescriptions": [
  1441            "The default value. This value is used if the state is omitted.",
  1442            "The deployment is being created.",
  1443            "The deployment is healthy.",
  1444            "The deployment is being updated.",
  1445            "The deployment is being deleted.",
  1446            "The deployment has encountered an unexpected error.",
  1447            "The deployment is no longer being actively reconciled. This may be the result of recovering the project after deletion.",
  1448            "The deployment has been deleted."
  1449          ],
  1450          "readOnly": true,
  1451          "type": "string"
  1452        },
  1453        "stateDetail": {
  1454          "description": "Output only. Additional information regarding the current state.",
  1455          "readOnly": true,
  1456          "type": "string"
  1457        },
  1458        "terraformBlueprint": {
  1459          "$ref": "TerraformBlueprint",
  1460          "description": "A blueprint described using Terraform's HashiCorp Configuration Language as a root module."
  1461        },
  1462        "tfErrors": {
  1463          "description": "Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.",
  1464          "items": {
  1465            "$ref": "TerraformError"
  1466          },
  1467          "readOnly": true,
  1468          "type": "array"
  1469        },
  1470        "tfVersion": {
  1471          "description": "Output only. The current Terraform version set on the deployment. It is in the format of \"Major.Minor.Patch\", for example, \"1.3.10\".",
  1472          "readOnly": true,
  1473          "type": "string"
  1474        },
  1475        "tfVersionConstraint": {
  1476          "description": "Optional. The user-specified Terraform version constraint. Example: \"=1.3.10\".",
  1477          "type": "string"
  1478        },
  1479        "updateTime": {
  1480          "description": "Output only. Time when the deployment was last modified.",
  1481          "format": "google-datetime",
  1482          "readOnly": true,
  1483          "type": "string"
  1484        },
  1485        "workerPool": {
  1486          "description": "Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.",
  1487          "type": "string"
  1488        }
  1489      },
  1490      "type": "object"
  1491    },
  1492    "DeploymentOperationMetadata": {
  1493      "description": "Ephemeral metadata content describing the state of a deployment operation.",
  1494      "id": "DeploymentOperationMetadata",
  1495      "properties": {
  1496        "applyResults": {
  1497          "$ref": "ApplyResults",
  1498          "description": "Outputs and artifacts from applying a deployment."
  1499        },
  1500        "build": {
  1501          "description": "Output only. Cloud Build instance UUID associated with this operation.",
  1502          "readOnly": true,
  1503          "type": "string"
  1504        },
  1505        "logs": {
  1506          "description": "Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.",
  1507          "readOnly": true,
  1508          "type": "string"
  1509        },
  1510        "step": {
  1511          "description": "The current step the deployment operation is running.",
  1512          "enum": [
  1513            "DEPLOYMENT_STEP_UNSPECIFIED",
  1514            "PREPARING_STORAGE_BUCKET",
  1515            "DOWNLOADING_BLUEPRINT",
  1516            "RUNNING_TF_INIT",
  1517            "RUNNING_TF_PLAN",
  1518            "RUNNING_TF_APPLY",
  1519            "RUNNING_TF_DESTROY",
  1520            "RUNNING_TF_VALIDATE",
  1521            "UNLOCKING_DEPLOYMENT",
  1522            "SUCCEEDED",
  1523            "FAILED",
  1524            "VALIDATING_REPOSITORY",
  1525            "RUNNING_QUOTA_VALIDATION"
  1526          ],
  1527          "enumDescriptions": [
  1528            "Unspecified deployment step",
  1529            "Infra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the deployment and revision",
  1530            "Downloading the blueprint onto the Google Cloud Storage bucket",
  1531            "Initializing Terraform using `terraform init`",
  1532            "Running `terraform plan`",
  1533            "Actuating resources using Terraform using `terraform apply`",
  1534            "Destroying resources using Terraform using `terraform destroy`",
  1535            "Validating the uploaded TF state file when unlocking a deployment",
  1536            "Unlocking a deployment",
  1537            "Operation was successful",
  1538            "Operation failed",
  1539            "Validating the provided repository.",
  1540            "Running quota validation"
  1541          ],
  1542          "type": "string"
  1543        }
  1544      },
  1545      "type": "object"
  1546    },
  1547    "Empty": {
  1548      "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); }",
  1549      "id": "Empty",
  1550      "properties": {},
  1551      "type": "object"
  1552    },
  1553    "ExportDeploymentStatefileRequest": {
  1554      "description": "A request to export a state file passed to a 'ExportDeploymentStatefile' call.",
  1555      "id": "ExportDeploymentStatefileRequest",
  1556      "properties": {
  1557        "draft": {
  1558          "description": "Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.",
  1559          "type": "boolean"
  1560        }
  1561      },
  1562      "type": "object"
  1563    },
  1564    "ExportPreviewResultRequest": {
  1565      "description": "A request to export preview results.",
  1566      "id": "ExportPreviewResultRequest",
  1567      "properties": {},
  1568      "type": "object"
  1569    },
  1570    "ExportPreviewResultResponse": {
  1571      "description": "A response to `ExportPreviewResult` call. Contains preview results.",
  1572      "id": "ExportPreviewResultResponse",
  1573      "properties": {
  1574        "result": {
  1575          "$ref": "PreviewResult",
  1576          "description": "Output only. Signed URLs for accessing the plan files.",
  1577          "readOnly": true
  1578        }
  1579      },
  1580      "type": "object"
  1581    },
  1582    "ExportRevisionStatefileRequest": {
  1583      "description": "A request to export a state file passed to a 'ExportRevisionStatefile' call.",
  1584      "id": "ExportRevisionStatefileRequest",
  1585      "properties": {},
  1586      "type": "object"
  1587    },
  1588    "Expr": {
  1589      "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' \u0026\u0026 document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
  1590      "id": "Expr",
  1591      "properties": {
  1592        "description": {
  1593          "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
  1594          "type": "string"
  1595        },
  1596        "expression": {
  1597          "description": "Textual representation of an expression in Common Expression Language syntax.",
  1598          "type": "string"
  1599        },
  1600        "location": {
  1601          "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
  1602          "type": "string"
  1603        },
  1604        "title": {
  1605          "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
  1606          "type": "string"
  1607        }
  1608      },
  1609      "type": "object"
  1610    },
  1611    "GitSource": {
  1612      "description": "A set of files in a Git repository.",
  1613      "id": "GitSource",
  1614      "properties": {
  1615        "directory": {
  1616          "description": "Optional. Subdirectory inside the repository. Example: 'staging/my-package'",
  1617          "type": "string"
  1618        },
  1619        "ref": {
  1620          "description": "Optional. Git reference (e.g. branch or tag).",
  1621          "type": "string"
  1622        },
  1623        "repo": {
  1624          "description": "Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'",
  1625          "type": "string"
  1626        }
  1627      },
  1628      "type": "object"
  1629    },
  1630    "ImportStatefileRequest": {
  1631      "description": "A request to import a state file passed to a 'ImportStatefile' call.",
  1632      "id": "ImportStatefileRequest",
  1633      "properties": {
  1634        "lockId": {
  1635          "description": "Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.",
  1636          "format": "int64",
  1637          "type": "string"
  1638        }
  1639      },
  1640      "type": "object"
  1641    },
  1642    "ListDeploymentsResponse": {
  1643      "id": "ListDeploymentsResponse",
  1644      "properties": {
  1645        "deployments": {
  1646          "description": "List of Deployments.",
  1647          "items": {
  1648            "$ref": "Deployment"
  1649          },
  1650          "type": "array"
  1651        },
  1652        "nextPageToken": {
  1653          "description": "Token to be supplied to the next ListDeployments request via `page_token` to obtain the next set of results.",
  1654          "type": "string"
  1655        },
  1656        "unreachable": {
  1657          "description": "Locations that could not be reached.",
  1658          "items": {
  1659            "type": "string"
  1660          },
  1661          "type": "array"
  1662        }
  1663      },
  1664      "type": "object"
  1665    },
  1666    "ListLocationsResponse": {
  1667      "description": "The response message for Locations.ListLocations.",
  1668      "id": "ListLocationsResponse",
  1669      "properties": {
  1670        "locations": {
  1671          "description": "A list of locations that matches the specified filter in the request.",
  1672          "items": {
  1673            "$ref": "Location"
  1674          },
  1675          "type": "array"
  1676        },
  1677        "nextPageToken": {
  1678          "description": "The standard List next-page token.",
  1679          "type": "string"
  1680        }
  1681      },
  1682      "type": "object"
  1683    },
  1684    "ListOperationsResponse": {
  1685      "description": "The response message for Operations.ListOperations.",
  1686      "id": "ListOperationsResponse",
  1687      "properties": {
  1688        "nextPageToken": {
  1689          "description": "The standard List next-page token.",
  1690          "type": "string"
  1691        },
  1692        "operations": {
  1693          "description": "A list of operations that matches the specified filter in the request.",
  1694          "items": {
  1695            "$ref": "Operation"
  1696          },
  1697          "type": "array"
  1698        }
  1699      },
  1700      "type": "object"
  1701    },
  1702    "ListPreviewsResponse": {
  1703      "description": "A response to a `ListPreviews` call. Contains a list of Previews.",
  1704      "id": "ListPreviewsResponse",
  1705      "properties": {
  1706        "nextPageToken": {
  1707          "description": "Token to be supplied to the next ListPreviews request via `page_token` to obtain the next set of results.",
  1708          "type": "string"
  1709        },
  1710        "previews": {
  1711          "description": "List of Previewss.",
  1712          "items": {
  1713            "$ref": "Preview"
  1714          },
  1715          "type": "array"
  1716        },
  1717        "unreachable": {
  1718          "description": "Locations that could not be reached.",
  1719          "items": {
  1720            "type": "string"
  1721          },
  1722          "type": "array"
  1723        }
  1724      },
  1725      "type": "object"
  1726    },
  1727    "ListResourcesResponse": {
  1728      "description": "A response to a 'ListResources' call. Contains a list of Resources.",
  1729      "id": "ListResourcesResponse",
  1730      "properties": {
  1731        "nextPageToken": {
  1732          "description": "A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.",
  1733          "type": "string"
  1734        },
  1735        "resources": {
  1736          "description": "List of Resourcess.",
  1737          "items": {
  1738            "$ref": "Resource"
  1739          },
  1740          "type": "array"
  1741        },
  1742        "unreachable": {
  1743          "description": "Locations that could not be reached.",
  1744          "items": {
  1745            "type": "string"
  1746          },
  1747          "type": "array"
  1748        }
  1749      },
  1750      "type": "object"
  1751    },
  1752    "ListRevisionsResponse": {
  1753      "description": "A response to a 'ListRevisions' call. Contains a list of Revisions.",
  1754      "id": "ListRevisionsResponse",
  1755      "properties": {
  1756        "nextPageToken": {
  1757          "description": "A token to request the next page of resources from the 'ListRevisions' method. The value of an empty string means that there are no more resources to return.",
  1758          "type": "string"
  1759        },
  1760        "revisions": {
  1761          "description": "List of Revisions.",
  1762          "items": {
  1763            "$ref": "Revision"
  1764          },
  1765          "type": "array"
  1766        },
  1767        "unreachable": {
  1768          "description": "Locations that could not be reached.",
  1769          "items": {
  1770            "type": "string"
  1771          },
  1772          "type": "array"
  1773        }
  1774      },
  1775      "type": "object"
  1776    },
  1777    "ListTerraformVersionsResponse": {
  1778      "description": "The response message for the `ListTerraformVersions` method.",
  1779      "id": "ListTerraformVersionsResponse",
  1780      "properties": {
  1781        "nextPageToken": {
  1782          "description": "Token to be supplied to the next ListTerraformVersions request via `page_token` to obtain the next set of results.",
  1783          "type": "string"
  1784        },
  1785        "terraformVersions": {
  1786          "description": "List of TerraformVersions.",
  1787          "items": {
  1788            "$ref": "TerraformVersion"
  1789          },
  1790          "type": "array"
  1791        },
  1792        "unreachable": {
  1793          "description": "Unreachable resources, if any.",
  1794          "items": {
  1795            "type": "string"
  1796          },
  1797          "type": "array"
  1798        }
  1799      },
  1800      "type": "object"
  1801    },
  1802    "Location": {
  1803      "description": "A resource that represents a Google Cloud location.",
  1804      "id": "Location",
  1805      "properties": {
  1806        "displayName": {
  1807          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
  1808          "type": "string"
  1809        },
  1810        "labels": {
  1811          "additionalProperties": {
  1812            "type": "string"
  1813          },
  1814          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
  1815          "type": "object"
  1816        },
  1817        "locationId": {
  1818          "description": "The canonical id for this location. For example: `\"us-east1\"`.",
  1819          "type": "string"
  1820        },
  1821        "metadata": {
  1822          "additionalProperties": {
  1823            "description": "Properties of the object. Contains field @type with type URL.",
  1824            "type": "any"
  1825          },
  1826          "description": "Service-specific metadata. For example the available capacity at the given location.",
  1827          "type": "object"
  1828        },
  1829        "name": {
  1830          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
  1831          "type": "string"
  1832        }
  1833      },
  1834      "type": "object"
  1835    },
  1836    "LockDeploymentRequest": {
  1837      "description": "A request to lock a deployment passed to a 'LockDeployment' call.",
  1838      "id": "LockDeploymentRequest",
  1839      "properties": {},
  1840      "type": "object"
  1841    },
  1842    "LockInfo": {
  1843      "description": "Details about the lock which locked the deployment.",
  1844      "id": "LockInfo",
  1845      "properties": {
  1846        "createTime": {
  1847          "description": "Time that the lock was taken.",
  1848          "format": "google-datetime",
  1849          "type": "string"
  1850        },
  1851        "info": {
  1852          "description": "Extra information to store with the lock, provided by the caller.",
  1853          "type": "string"
  1854        },
  1855        "lockId": {
  1856          "description": "Unique ID for the lock to be overridden with generation ID in the backend.",
  1857          "format": "int64",
  1858          "type": "string"
  1859        },
  1860        "operation": {
  1861          "description": "Terraform operation, provided by the caller.",
  1862          "type": "string"
  1863        },
  1864        "version": {
  1865          "description": "Terraform version",
  1866          "type": "string"
  1867        },
  1868        "who": {
  1869          "description": "user@hostname when available",
  1870          "type": "string"
  1871        }
  1872      },
  1873      "type": "object"
  1874    },
  1875    "Operation": {
  1876      "description": "This resource represents a long-running operation that is the result of a network API call.",
  1877      "id": "Operation",
  1878      "properties": {
  1879        "done": {
  1880          "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.",
  1881          "type": "boolean"
  1882        },
  1883        "error": {
  1884          "$ref": "Status",
  1885          "description": "The error result of the operation in case of failure or cancellation."
  1886        },
  1887        "metadata": {
  1888          "additionalProperties": {
  1889            "description": "Properties of the object. Contains field @type with type URL.",
  1890            "type": "any"
  1891          },
  1892          "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.",
  1893          "type": "object"
  1894        },
  1895        "name": {
  1896          "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}`.",
  1897          "type": "string"
  1898        },
  1899        "response": {
  1900          "additionalProperties": {
  1901            "description": "Properties of the object. Contains field @type with type URL.",
  1902            "type": "any"
  1903          },
  1904          "description": "The normal, successful response of the operation. 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`.",
  1905          "type": "object"
  1906        }
  1907      },
  1908      "type": "object"
  1909    },
  1910    "OperationMetadata": {
  1911      "description": "Represents the metadata of the long-running operation.",
  1912      "id": "OperationMetadata",
  1913      "properties": {
  1914        "apiVersion": {
  1915          "description": "Output only. API version used to start the operation.",
  1916          "readOnly": true,
  1917          "type": "string"
  1918        },
  1919        "createTime": {
  1920          "description": "Output only. Time when the operation was created.",
  1921          "format": "google-datetime",
  1922          "readOnly": true,
  1923          "type": "string"
  1924        },
  1925        "deploymentMetadata": {
  1926          "$ref": "DeploymentOperationMetadata",
  1927          "description": "Output only. Metadata about the deployment operation state.",
  1928          "readOnly": true
  1929        },
  1930        "endTime": {
  1931          "description": "Output only. Time when the operation finished running.",
  1932          "format": "google-datetime",
  1933          "readOnly": true,
  1934          "type": "string"
  1935        },
  1936        "previewMetadata": {
  1937          "$ref": "PreviewOperationMetadata",
  1938          "description": "Output only. Metadata about the preview operation state.",
  1939          "readOnly": true
  1940        },
  1941        "requestedCancellation": {
  1942          "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`.",
  1943          "readOnly": true,
  1944          "type": "boolean"
  1945        },
  1946        "statusMessage": {
  1947          "description": "Output only. Human-readable status of the operation, if any.",
  1948          "readOnly": true,
  1949          "type": "string"
  1950        },
  1951        "target": {
  1952          "description": "Output only. Server-defined resource path for the target of the operation.",
  1953          "readOnly": true,
  1954          "type": "string"
  1955        },
  1956        "verb": {
  1957          "description": "Output only. Name of the verb executed by the operation.",
  1958          "readOnly": true,
  1959          "type": "string"
  1960        }
  1961      },
  1962      "type": "object"
  1963    },
  1964    "Policy": {
  1965      "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
  1966      "id": "Policy",
  1967      "properties": {
  1968        "auditConfigs": {
  1969          "description": "Specifies cloud audit logging configuration for this policy.",
  1970          "items": {
  1971            "$ref": "AuditConfig"
  1972          },
  1973          "type": "array"
  1974        },
  1975        "bindings": {
  1976          "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.",
  1977          "items": {
  1978            "$ref": "Binding"
  1979          },
  1980          "type": "array"
  1981        },
  1982        "etag": {
  1983          "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
  1984          "format": "byte",
  1985          "type": "string"
  1986        },
  1987        "version": {
  1988          "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
  1989          "format": "int32",
  1990          "type": "integer"
  1991        }
  1992      },
  1993      "type": "object"
  1994    },
  1995    "Preview": {
  1996      "description": "A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.",
  1997      "id": "Preview",
  1998      "properties": {
  1999        "annotations": {
  2000          "additionalProperties": {
  2001            "type": "string"
  2002          },
  2003          "description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.",
  2004          "type": "object"
  2005        },
  2006        "artifactsGcsBucket": {
  2007          "description": "Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.",
  2008          "type": "string"
  2009        },
  2010        "build": {
  2011          "description": "Output only. Cloud Build instance UUID associated with this preview.",
  2012          "readOnly": true,
  2013          "type": "string"
  2014        },
  2015        "createTime": {
  2016          "description": "Output only. Time the preview was created.",
  2017          "format": "google-datetime",
  2018          "readOnly": true,
  2019          "type": "string"
  2020        },
  2021        "deployment": {
  2022          "description": "Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request.",
  2023          "type": "string"
  2024        },
  2025        "errorCode": {
  2026          "description": "Output only. Code describing any errors that may have occurred.",
  2027          "enum": [
  2028            "ERROR_CODE_UNSPECIFIED",
  2029            "CLOUD_BUILD_PERMISSION_DENIED",
  2030            "BUCKET_CREATION_PERMISSION_DENIED",
  2031            "BUCKET_CREATION_FAILED",
  2032            "DEPLOYMENT_LOCK_ACQUIRE_FAILED",
  2033            "PREVIEW_BUILD_API_FAILED",
  2034            "PREVIEW_BUILD_RUN_FAILED"
  2035          ],
  2036          "enumDescriptions": [
  2037            "No error code was specified.",
  2038            "Cloud Build failed due to a permissions issue.",
  2039            "Cloud Storage bucket failed to create due to a permissions issue.",
  2040            "Cloud Storage bucket failed for a non-permissions-related issue.",
  2041            "Acquiring lock on provided deployment reference failed.",
  2042            "Preview encountered an error when trying to access Cloud Build API.",
  2043            "Preview created a build but build failed and logs were generated."
  2044          ],
  2045          "readOnly": true,
  2046          "type": "string"
  2047        },
  2048        "errorLogs": {
  2049          "description": "Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`.",
  2050          "readOnly": true,
  2051          "type": "string"
  2052        },
  2053        "errorStatus": {
  2054          "$ref": "Status",
  2055          "description": "Output only. Additional information regarding the current state.",
  2056          "readOnly": true
  2057        },
  2058        "labels": {
  2059          "additionalProperties": {
  2060            "type": "string"
  2061          },
  2062          "description": "Optional. User-defined labels for the preview.",
  2063          "type": "object"
  2064        },
  2065        "logs": {
  2066          "description": "Output only. Location of preview logs in `gs://{bucket}/{object}` format.",
  2067          "readOnly": true,
  2068          "type": "string"
  2069        },
  2070        "name": {
  2071          "description": "Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}`",
  2072          "type": "string"
  2073        },
  2074        "previewArtifacts": {
  2075          "$ref": "PreviewArtifacts",
  2076          "description": "Output only. Artifacts from preview.",
  2077          "readOnly": true
  2078        },
  2079        "previewMode": {
  2080          "description": "Optional. Current mode of preview.",
  2081          "enum": [
  2082            "PREVIEW_MODE_UNSPECIFIED",
  2083            "DEFAULT",
  2084            "DELETE"
  2085          ],
  2086          "enumDescriptions": [
  2087            "Unspecified policy, default mode will be used.",
  2088            "DEFAULT mode generates an execution plan for reconciling current resource state into expected resource state.",
  2089            "DELETE mode generates as execution plan for destroying current resources."
  2090          ],
  2091          "type": "string"
  2092        },
  2093        "serviceAccount": {
  2094          "description": "Optional. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`",
  2095          "type": "string"
  2096        },
  2097        "state": {
  2098          "description": "Output only. Current state of the preview.",
  2099          "enum": [
  2100            "STATE_UNSPECIFIED",
  2101            "CREATING",
  2102            "SUCCEEDED",
  2103            "APPLYING",
  2104            "STALE",
  2105            "DELETING",
  2106            "FAILED",
  2107            "DELETED"
  2108          ],
  2109          "enumDescriptions": [
  2110            "The default value. This value is used if the state is unknown.",
  2111            "The preview is being created.",
  2112            "The preview has succeeded.",
  2113            "The preview is being applied.",
  2114            "The preview is stale. A preview can become stale if a revision has been applied after this preview was created.",
  2115            "The preview is being deleted.",
  2116            "The preview has encountered an unexpected error.",
  2117            "The preview has been deleted."
  2118          ],
  2119          "readOnly": true,
  2120          "type": "string"
  2121        },
  2122        "terraformBlueprint": {
  2123          "$ref": "TerraformBlueprint",
  2124          "description": "The terraform blueprint to preview."
  2125        },
  2126        "tfErrors": {
  2127          "description": "Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.",
  2128          "items": {
  2129            "$ref": "TerraformError"
  2130          },
  2131          "readOnly": true,
  2132          "type": "array"
  2133        },
  2134        "tfVersion": {
  2135          "description": "Output only. The current Terraform version set on the preview. It is in the format of \"Major.Minor.Patch\", for example, \"1.3.10\".",
  2136          "readOnly": true,
  2137          "type": "string"
  2138        },
  2139        "tfVersionConstraint": {
  2140          "description": "Optional. The user-specified Terraform version constraint. Example: \"=1.3.10\".",
  2141          "type": "string"
  2142        },
  2143        "workerPool": {
  2144          "description": "Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.",
  2145          "type": "string"
  2146        }
  2147      },
  2148      "type": "object"
  2149    },
  2150    "PreviewArtifacts": {
  2151      "description": "Artifacts created by preview.",
  2152      "id": "PreviewArtifacts",
  2153      "properties": {
  2154        "artifacts": {
  2155          "description": "Output only. Location of artifacts in Google Cloud Storage. Format: `gs://{bucket}/{object}`",
  2156          "readOnly": true,
  2157          "type": "string"
  2158        },
  2159        "content": {
  2160          "description": "Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: `gs://{bucket}/{object}`",
  2161          "readOnly": true,
  2162          "type": "string"
  2163        }
  2164      },
  2165      "type": "object"
  2166    },
  2167    "PreviewOperationMetadata": {
  2168      "description": "Ephemeral metadata content describing the state of a preview operation.",
  2169      "id": "PreviewOperationMetadata",
  2170      "properties": {
  2171        "build": {
  2172          "description": "Output only. Cloud Build instance UUID associated with this preview.",
  2173          "readOnly": true,
  2174          "type": "string"
  2175        },
  2176        "logs": {
  2177          "description": "Output only. Location of preview logs in `gs://{bucket}/{object}` format.",
  2178          "readOnly": true,
  2179          "type": "string"
  2180        },
  2181        "previewArtifacts": {
  2182          "$ref": "PreviewArtifacts",
  2183          "description": "Artifacts from preview."
  2184        },
  2185        "step": {
  2186          "description": "The current step the preview operation is running.",
  2187          "enum": [
  2188            "PREVIEW_STEP_UNSPECIFIED",
  2189            "PREPARING_STORAGE_BUCKET",
  2190            "DOWNLOADING_BLUEPRINT",
  2191            "RUNNING_TF_INIT",
  2192            "RUNNING_TF_PLAN",
  2193            "FETCHING_DEPLOYMENT",
  2194            "LOCKING_DEPLOYMENT",
  2195            "UNLOCKING_DEPLOYMENT",
  2196            "SUCCEEDED",
  2197            "FAILED",
  2198            "VALIDATING_REPOSITORY"
  2199          ],
  2200          "enumDescriptions": [
  2201            "Unspecified preview step.",
  2202            "Infra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the preview.",
  2203            "Downloading the blueprint onto the Google Cloud Storage bucket.",
  2204            "Initializing Terraform using `terraform init`.",
  2205            "Running `terraform plan`.",
  2206            "Fetching a deployment.",
  2207            "Locking a deployment.",
  2208            "Unlocking a deployment.",
  2209            "Operation was successful.",
  2210            "Operation failed.",
  2211            "Validating the provided repository."
  2212          ],
  2213          "type": "string"
  2214        }
  2215      },
  2216      "type": "object"
  2217    },
  2218    "PreviewResult": {
  2219      "description": "Contains a signed Cloud Storage URLs.",
  2220      "id": "PreviewResult",
  2221      "properties": {
  2222        "binarySignedUri": {
  2223          "description": "Output only. Plan binary signed URL",
  2224          "readOnly": true,
  2225          "type": "string"
  2226        },
  2227        "jsonSignedUri": {
  2228          "description": "Output only. Plan JSON signed URL",
  2229          "readOnly": true,
  2230          "type": "string"
  2231        }
  2232      },
  2233      "type": "object"
  2234    },
  2235    "Resource": {
  2236      "description": "Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.",
  2237      "id": "Resource",
  2238      "properties": {
  2239        "caiAssets": {
  2240          "additionalProperties": {
  2241            "$ref": "ResourceCAIInfo"
  2242          },
  2243          "description": "Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types",
  2244          "readOnly": true,
  2245          "type": "object"
  2246        },
  2247        "intent": {
  2248          "description": "Output only. Intent of the resource.",
  2249          "enum": [
  2250            "INTENT_UNSPECIFIED",
  2251            "CREATE",
  2252            "UPDATE",
  2253            "DELETE",
  2254            "RECREATE",
  2255            "UNCHANGED"
  2256          ],
  2257          "enumDescriptions": [
  2258            "The default value. This value is used if the intent is omitted.",
  2259            "Infra Manager will create this Resource.",
  2260            "Infra Manager will update this Resource.",
  2261            "Infra Manager will delete this Resource.",
  2262            "Infra Manager will destroy and recreate this Resource.",
  2263            "Infra Manager will leave this Resource untouched."
  2264          ],
  2265          "readOnly": true,
  2266          "type": "string"
  2267        },
  2268        "name": {
  2269          "description": "Output only. Resource name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`",
  2270          "readOnly": true,
  2271          "type": "string"
  2272        },
  2273        "state": {
  2274          "description": "Output only. Current state of the resource.",
  2275          "enum": [
  2276            "STATE_UNSPECIFIED",
  2277            "PLANNED",
  2278            "IN_PROGRESS",
  2279            "RECONCILED",
  2280            "FAILED"
  2281          ],
  2282          "enumDescriptions": [
  2283            "The default value. This value is used if the state is omitted.",
  2284            "Resource has been planned for reconcile.",
  2285            "Resource is actively reconciling into the intended state.",
  2286            "Resource has reconciled to intended state.",
  2287            "Resource failed to reconcile."
  2288          ],
  2289          "readOnly": true,
  2290          "type": "string"
  2291        },
  2292        "terraformInfo": {
  2293          "$ref": "ResourceTerraformInfo",
  2294          "description": "Output only. Terraform-specific info if this resource was created using Terraform.",
  2295          "readOnly": true
  2296        }
  2297      },
  2298      "type": "object"
  2299    },
  2300    "ResourceCAIInfo": {
  2301      "description": "CAI info of a Resource.",
  2302      "id": "ResourceCAIInfo",
  2303      "properties": {
  2304        "fullResourceName": {
  2305          "description": "CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name",
  2306          "type": "string"
  2307        }
  2308      },
  2309      "type": "object"
  2310    },
  2311    "ResourceTerraformInfo": {
  2312      "description": "Terraform info of a Resource.",
  2313      "id": "ResourceTerraformInfo",
  2314      "properties": {
  2315        "address": {
  2316          "description": "TF resource address that uniquely identifies this resource within this deployment.",
  2317          "type": "string"
  2318        },
  2319        "id": {
  2320          "description": "ID attribute of the TF resource",
  2321          "type": "string"
  2322        },
  2323        "type": {
  2324          "description": "TF resource type",
  2325          "type": "string"
  2326        }
  2327      },
  2328      "type": "object"
  2329    },
  2330    "Revision": {
  2331      "description": "A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.",
  2332      "id": "Revision",
  2333      "properties": {
  2334        "action": {
  2335          "description": "Output only. The action which created this revision",
  2336          "enum": [
  2337            "ACTION_UNSPECIFIED",
  2338            "CREATE",
  2339            "UPDATE",
  2340            "DELETE"
  2341          ],
  2342          "enumDescriptions": [
  2343            "The default value. This value is used if the action is omitted.",
  2344            "The revision was generated by creating a deployment.",
  2345            "The revision was generated by updating a deployment.",
  2346            "The revision was deleted."
  2347          ],
  2348          "readOnly": true,
  2349          "type": "string"
  2350        },
  2351        "applyResults": {
  2352          "$ref": "ApplyResults",
  2353          "description": "Output only. Outputs and artifacts from applying a deployment.",
  2354          "readOnly": true
  2355        },
  2356        "build": {
  2357          "description": "Output only. Cloud Build instance UUID associated with this revision.",
  2358          "readOnly": true,
  2359          "type": "string"
  2360        },
  2361        "createTime": {
  2362          "description": "Output only. Time when the revision was created.",
  2363          "format": "google-datetime",
  2364          "readOnly": true,
  2365          "type": "string"
  2366        },
  2367        "errorCode": {
  2368          "description": "Output only. Code describing any errors that may have occurred.",
  2369          "enum": [
  2370            "ERROR_CODE_UNSPECIFIED",
  2371            "CLOUD_BUILD_PERMISSION_DENIED",
  2372            "APPLY_BUILD_API_FAILED",
  2373            "APPLY_BUILD_RUN_FAILED",
  2374            "QUOTA_VALIDATION_FAILED"
  2375          ],
  2376          "enumDescriptions": [
  2377            "No error code was specified.",
  2378            "Cloud Build failed due to a permission issue.",
  2379            "Cloud Build job associated with creating or updating a deployment could not be started.",
  2380            "Cloud Build job associated with creating or updating a deployment was started but failed.",
  2381            "quota validation failed for one or more resources in terraform configuration files."
  2382          ],
  2383          "readOnly": true,
  2384          "type": "string"
  2385        },
  2386        "errorLogs": {
  2387          "description": "Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.",
  2388          "readOnly": true,
  2389          "type": "string"
  2390        },
  2391        "importExistingResources": {
  2392          "description": "Output only. By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.",
  2393          "readOnly": true,
  2394          "type": "boolean"
  2395        },
  2396        "logs": {
  2397          "description": "Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format.",
  2398          "readOnly": true,
  2399          "type": "string"
  2400        },
  2401        "name": {
  2402          "description": "Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`",
  2403          "type": "string"
  2404        },
  2405        "quotaValidation": {
  2406          "description": "Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.",
  2407          "enum": [
  2408            "QUOTA_VALIDATION_UNSPECIFIED",
  2409            "ENABLED",
  2410            "ENFORCED"
  2411          ],
  2412          "enumDescriptions": [
  2413            "The default value. QuotaValidation on terraform configuration files will be disabled in this case.",
  2414            "Enable computing quotas for resources in terraform configuration files to get visibility on resources with insufficient quotas.",
  2415            "Enforce quota checks so deployment fails if there isn't sufficient quotas available to deploy resources in terraform configuration files."
  2416          ],
  2417          "type": "string"
  2418        },
  2419        "quotaValidationResults": {
  2420          "description": "Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: `gs://{bucket}/{object}`.",
  2421          "readOnly": true,
  2422          "type": "string"
  2423        },
  2424        "serviceAccount": {
  2425          "description": "Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`",
  2426          "readOnly": true,
  2427          "type": "string"
  2428        },
  2429        "state": {
  2430          "description": "Output only. Current state of the revision.",
  2431          "enum": [
  2432            "STATE_UNSPECIFIED",
  2433            "APPLYING",
  2434            "APPLIED",
  2435            "FAILED"
  2436          ],
  2437          "enumDescriptions": [
  2438            "The default value. This value is used if the state is omitted.",
  2439            "The revision is being applied.",
  2440            "The revision was applied successfully.",
  2441            "The revision could not be applied successfully."
  2442          ],
  2443          "readOnly": true,
  2444          "type": "string"
  2445        },
  2446        "stateDetail": {
  2447          "description": "Output only. Additional info regarding the current state.",
  2448          "readOnly": true,
  2449          "type": "string"
  2450        },
  2451        "terraformBlueprint": {
  2452          "$ref": "TerraformBlueprint",
  2453          "description": "Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.",
  2454          "readOnly": true
  2455        },
  2456        "tfErrors": {
  2457          "description": "Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.",
  2458          "items": {
  2459            "$ref": "TerraformError"
  2460          },
  2461          "readOnly": true,
  2462          "type": "array"
  2463        },
  2464        "tfVersion": {
  2465          "description": "Output only. The version of Terraform used to create the Revision. It is in the format of \"Major.Minor.Patch\", for example, \"1.3.10\".",
  2466          "readOnly": true,
  2467          "type": "string"
  2468        },
  2469        "tfVersionConstraint": {
  2470          "description": "Output only. The user-specified Terraform version constraint. Example: \"=1.3.10\".",
  2471          "readOnly": true,
  2472          "type": "string"
  2473        },
  2474        "updateTime": {
  2475          "description": "Output only. Time when the revision was last modified.",
  2476          "format": "google-datetime",
  2477          "readOnly": true,
  2478          "type": "string"
  2479        },
  2480        "workerPool": {
  2481          "description": "Output only. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.",
  2482          "readOnly": true,
  2483          "type": "string"
  2484        }
  2485      },
  2486      "type": "object"
  2487    },
  2488    "SetIamPolicyRequest": {
  2489      "description": "Request message for `SetIamPolicy` method.",
  2490      "id": "SetIamPolicyRequest",
  2491      "properties": {
  2492        "policy": {
  2493          "$ref": "Policy",
  2494          "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
  2495        },
  2496        "updateMask": {
  2497          "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
  2498          "format": "google-fieldmask",
  2499          "type": "string"
  2500        }
  2501      },
  2502      "type": "object"
  2503    },
  2504    "Statefile": {
  2505      "description": "Contains info about a Terraform state file",
  2506      "id": "Statefile",
  2507      "properties": {
  2508        "signedUri": {
  2509          "description": "Output only. Cloud Storage signed URI used for downloading or uploading the state file.",
  2510          "readOnly": true,
  2511          "type": "string"
  2512        }
  2513      },
  2514      "type": "object"
  2515    },
  2516    "Status": {
  2517      "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).",
  2518      "id": "Status",
  2519      "properties": {
  2520        "code": {
  2521          "description": "The status code, which should be an enum value of google.rpc.Code.",
  2522          "format": "int32",
  2523          "type": "integer"
  2524        },
  2525        "details": {
  2526          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
  2527          "items": {
  2528            "additionalProperties": {
  2529              "description": "Properties of the object. Contains field @type with type URL.",
  2530              "type": "any"
  2531            },
  2532            "type": "object"
  2533          },
  2534          "type": "array"
  2535        },
  2536        "message": {
  2537          "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.",
  2538          "type": "string"
  2539        }
  2540      },
  2541      "type": "object"
  2542    },
  2543    "TerraformBlueprint": {
  2544      "description": "TerraformBlueprint describes the source of a Terraform root module which describes the resources and configs to be deployed.",
  2545      "id": "TerraformBlueprint",
  2546      "properties": {
  2547        "gcsSource": {
  2548          "description": "Required. URI of an object in Google Cloud Storage. Format: `gs://{bucket}/{object}` URI may also specify an object version for zipped objects. Format: `gs://{bucket}/{object}#{version}`",
  2549          "type": "string"
  2550        },
  2551        "gitSource": {
  2552          "$ref": "GitSource",
  2553          "description": "Required. URI of a public Git repo."
  2554        },
  2555        "inputValues": {
  2556          "additionalProperties": {
  2557            "$ref": "TerraformVariable"
  2558          },
  2559          "description": "Input variable values for the Terraform blueprint.",
  2560          "type": "object"
  2561        }
  2562      },
  2563      "type": "object"
  2564    },
  2565    "TerraformError": {
  2566      "description": "Errors encountered during actuation using Terraform",
  2567      "id": "TerraformError",
  2568      "properties": {
  2569        "error": {
  2570          "$ref": "Status",
  2571          "description": "Original error response from underlying Google API, if available."
  2572        },
  2573        "errorDescription": {
  2574          "description": "A human-readable error description.",
  2575          "type": "string"
  2576        },
  2577        "httpResponseCode": {
  2578          "description": "HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform.",
  2579          "format": "int32",
  2580          "type": "integer"
  2581        },
  2582        "resourceAddress": {
  2583          "description": "Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`.",
  2584          "type": "string"
  2585        }
  2586      },
  2587      "type": "object"
  2588    },
  2589    "TerraformOutput": {
  2590      "description": "Describes a Terraform output.",
  2591      "id": "TerraformOutput",
  2592      "properties": {
  2593        "sensitive": {
  2594          "description": "Identifies whether Terraform has set this output as a potential sensitive value.",
  2595          "type": "boolean"
  2596        },
  2597        "value": {
  2598          "description": "Value of output.",
  2599          "type": "any"
  2600        }
  2601      },
  2602      "type": "object"
  2603    },
  2604    "TerraformVariable": {
  2605      "description": "A Terraform input variable.",
  2606      "id": "TerraformVariable",
  2607      "properties": {
  2608        "inputValue": {
  2609          "description": "Input variable value.",
  2610          "type": "any"
  2611        }
  2612      },
  2613      "type": "object"
  2614    },
  2615    "TerraformVersion": {
  2616      "description": "A TerraformVersion represents the support state the corresponding Terraform version.",
  2617      "id": "TerraformVersion",
  2618      "properties": {
  2619        "deprecateTime": {
  2620          "description": "Output only. When the version is deprecated.",
  2621          "format": "google-datetime",
  2622          "readOnly": true,
  2623          "type": "string"
  2624        },
  2625        "name": {
  2626          "description": "Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.",
  2627          "type": "string"
  2628        },
  2629        "obsoleteTime": {
  2630          "description": "Output only. When the version is obsolete.",
  2631          "format": "google-datetime",
  2632          "readOnly": true,
  2633          "type": "string"
  2634        },
  2635        "state": {
  2636          "description": "Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.",
  2637          "enum": [
  2638            "STATE_UNSPECIFIED",
  2639            "ACTIVE",
  2640            "DEPRECATED",
  2641            "OBSOLETE"
  2642          ],
  2643          "enumDescriptions": [
  2644            "The default value. This value is used if the state is omitted.",
  2645            "The version is actively supported.",
  2646            "The version is deprecated.",
  2647            "The version is obsolete."
  2648          ],
  2649          "readOnly": true,
  2650          "type": "string"
  2651        },
  2652        "supportTime": {
  2653          "description": "Output only. When the version is supported.",
  2654          "format": "google-datetime",
  2655          "readOnly": true,
  2656          "type": "string"
  2657        }
  2658      },
  2659      "type": "object"
  2660    },
  2661    "TestIamPermissionsRequest": {
  2662      "description": "Request message for `TestIamPermissions` method.",
  2663      "id": "TestIamPermissionsRequest",
  2664      "properties": {
  2665        "permissions": {
  2666          "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
  2667          "items": {
  2668            "type": "string"
  2669          },
  2670          "type": "array"
  2671        }
  2672      },
  2673      "type": "object"
  2674    },
  2675    "TestIamPermissionsResponse": {
  2676      "description": "Response message for `TestIamPermissions` method.",
  2677      "id": "TestIamPermissionsResponse",
  2678      "properties": {
  2679        "permissions": {
  2680          "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
  2681          "items": {
  2682            "type": "string"
  2683          },
  2684          "type": "array"
  2685        }
  2686      },
  2687      "type": "object"
  2688    },
  2689    "UnlockDeploymentRequest": {
  2690      "description": "A request to unlock a state file passed to a 'UnlockDeployment' call.",
  2691      "id": "UnlockDeploymentRequest",
  2692      "properties": {
  2693        "lockId": {
  2694          "description": "Required. Lock ID of the lock file to be unlocked.",
  2695          "format": "int64",
  2696          "type": "string"
  2697        }
  2698      },
  2699      "type": "object"
  2700    }
  2701  },
  2702  "servicePath": "",
  2703  "title": "Infrastructure Manager API",
  2704  "version": "v1",
  2705  "version_module": true
  2706}

View as plain text