...

Text file src/google.golang.org/api/cloudbuild/v2/cloudbuild-api.json

Documentation: google.golang.org/api/cloudbuild/v2

     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://cloudbuild.googleapis.com/",
    13  "batchPath": "batch",
    14  "canonicalName": "Cloud Build",
    15  "description": "Creates and manages builds on Google Cloud Platform.",
    16  "discoveryVersion": "v1",
    17  "documentationLink": "https://cloud.google.com/cloud-build/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": "cloudbuild:v2",
    24  "kind": "discovery#restDescription",
    25  "mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/",
    26  "name": "cloudbuild",
    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": "v2/projects/{projectsId}/locations/{locationsId}",
   115              "httpMethod": "GET",
   116              "id": "cloudbuild.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": "v2/{+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": "v2/projects/{projectsId}/locations",
   140              "httpMethod": "GET",
   141              "id": "cloudbuild.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": "v2/{+name}/locations",
   171              "response": {
   172                "$ref": "ListLocationsResponse"
   173              },
   174              "scopes": [
   175                "https://www.googleapis.com/auth/cloud-platform"
   176              ]
   177            }
   178          },
   179          "resources": {
   180            "connections": {
   181              "methods": {
   182                "create": {
   183                  "description": "Creates a Connection.",
   184                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections",
   185                  "httpMethod": "POST",
   186                  "id": "cloudbuild.projects.locations.connections.create",
   187                  "parameterOrder": [
   188                    "parent"
   189                  ],
   190                  "parameters": {
   191                    "connectionId": {
   192                      "description": "Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$\u0026'()*+,;=@.",
   193                      "location": "query",
   194                      "type": "string"
   195                    },
   196                    "parent": {
   197                      "description": "Required. Project and location where the connection will be created. Format: `projects/*/locations/*`.",
   198                      "location": "path",
   199                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   200                      "required": true,
   201                      "type": "string"
   202                    }
   203                  },
   204                  "path": "v2/{+parent}/connections",
   205                  "request": {
   206                    "$ref": "Connection"
   207                  },
   208                  "response": {
   209                    "$ref": "Operation"
   210                  },
   211                  "scopes": [
   212                    "https://www.googleapis.com/auth/cloud-platform"
   213                  ]
   214                },
   215                "delete": {
   216                  "description": "Deletes a single connection.",
   217                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}",
   218                  "httpMethod": "DELETE",
   219                  "id": "cloudbuild.projects.locations.connections.delete",
   220                  "parameterOrder": [
   221                    "name"
   222                  ],
   223                  "parameters": {
   224                    "etag": {
   225                      "description": "The current etag of the connection. If an etag is provided and does not match the current etag of the connection, deletion will be blocked and an ABORTED error will be returned.",
   226                      "location": "query",
   227                      "type": "string"
   228                    },
   229                    "name": {
   230                      "description": "Required. The name of the Connection to delete. Format: `projects/*/locations/*/connections/*`.",
   231                      "location": "path",
   232                      "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   233                      "required": true,
   234                      "type": "string"
   235                    },
   236                    "validateOnly": {
   237                      "description": "If set, validate the request, but do not actually post it.",
   238                      "location": "query",
   239                      "type": "boolean"
   240                    }
   241                  },
   242                  "path": "v2/{+name}",
   243                  "response": {
   244                    "$ref": "Operation"
   245                  },
   246                  "scopes": [
   247                    "https://www.googleapis.com/auth/cloud-platform"
   248                  ]
   249                },
   250                "fetchLinkableRepositories": {
   251                  "description": "FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.",
   252                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:fetchLinkableRepositories",
   253                  "httpMethod": "GET",
   254                  "id": "cloudbuild.projects.locations.connections.fetchLinkableRepositories",
   255                  "parameterOrder": [
   256                    "connection"
   257                  ],
   258                  "parameters": {
   259                    "connection": {
   260                      "description": "Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`.",
   261                      "location": "path",
   262                      "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   263                      "required": true,
   264                      "type": "string"
   265                    },
   266                    "pageSize": {
   267                      "description": "Number of results to return in the list. Default to 20.",
   268                      "format": "int32",
   269                      "location": "query",
   270                      "type": "integer"
   271                    },
   272                    "pageToken": {
   273                      "description": "Page start.",
   274                      "location": "query",
   275                      "type": "string"
   276                    }
   277                  },
   278                  "path": "v2/{+connection}:fetchLinkableRepositories",
   279                  "response": {
   280                    "$ref": "FetchLinkableRepositoriesResponse"
   281                  },
   282                  "scopes": [
   283                    "https://www.googleapis.com/auth/cloud-platform"
   284                  ]
   285                },
   286                "get": {
   287                  "description": "Gets details of a single connection.",
   288                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}",
   289                  "httpMethod": "GET",
   290                  "id": "cloudbuild.projects.locations.connections.get",
   291                  "parameterOrder": [
   292                    "name"
   293                  ],
   294                  "parameters": {
   295                    "name": {
   296                      "description": "Required. The name of the Connection to retrieve. Format: `projects/*/locations/*/connections/*`.",
   297                      "location": "path",
   298                      "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   299                      "required": true,
   300                      "type": "string"
   301                    }
   302                  },
   303                  "path": "v2/{+name}",
   304                  "response": {
   305                    "$ref": "Connection"
   306                  },
   307                  "scopes": [
   308                    "https://www.googleapis.com/auth/cloud-platform"
   309                  ]
   310                },
   311                "getIamPolicy": {
   312                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
   313                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:getIamPolicy",
   314                  "httpMethod": "GET",
   315                  "id": "cloudbuild.projects.locations.connections.getIamPolicy",
   316                  "parameterOrder": [
   317                    "resource"
   318                  ],
   319                  "parameters": {
   320                    "options.requestedPolicyVersion": {
   321                      "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).",
   322                      "format": "int32",
   323                      "location": "query",
   324                      "type": "integer"
   325                    },
   326                    "resource": {
   327                      "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.",
   328                      "location": "path",
   329                      "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   330                      "required": true,
   331                      "type": "string"
   332                    }
   333                  },
   334                  "path": "v2/{+resource}:getIamPolicy",
   335                  "response": {
   336                    "$ref": "Policy"
   337                  },
   338                  "scopes": [
   339                    "https://www.googleapis.com/auth/cloud-platform"
   340                  ]
   341                },
   342                "list": {
   343                  "description": "Lists Connections in a given project and location.",
   344                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections",
   345                  "httpMethod": "GET",
   346                  "id": "cloudbuild.projects.locations.connections.list",
   347                  "parameterOrder": [
   348                    "parent"
   349                  ],
   350                  "parameters": {
   351                    "pageSize": {
   352                      "description": "Number of results to return in the list.",
   353                      "format": "int32",
   354                      "location": "query",
   355                      "type": "integer"
   356                    },
   357                    "pageToken": {
   358                      "description": "Page start.",
   359                      "location": "query",
   360                      "type": "string"
   361                    },
   362                    "parent": {
   363                      "description": "Required. The parent, which owns this collection of Connections. Format: `projects/*/locations/*`.",
   364                      "location": "path",
   365                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   366                      "required": true,
   367                      "type": "string"
   368                    }
   369                  },
   370                  "path": "v2/{+parent}/connections",
   371                  "response": {
   372                    "$ref": "ListConnectionsResponse"
   373                  },
   374                  "scopes": [
   375                    "https://www.googleapis.com/auth/cloud-platform"
   376                  ]
   377                },
   378                "patch": {
   379                  "description": "Updates a single connection.",
   380                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}",
   381                  "httpMethod": "PATCH",
   382                  "id": "cloudbuild.projects.locations.connections.patch",
   383                  "parameterOrder": [
   384                    "name"
   385                  ],
   386                  "parameters": {
   387                    "allowMissing": {
   388                      "description": "If set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).",
   389                      "location": "query",
   390                      "type": "boolean"
   391                    },
   392                    "etag": {
   393                      "description": "The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.",
   394                      "location": "query",
   395                      "type": "string"
   396                    },
   397                    "name": {
   398                      "description": "Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.",
   399                      "location": "path",
   400                      "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   401                      "required": true,
   402                      "type": "string"
   403                    },
   404                    "updateMask": {
   405                      "description": "The list of fields to be updated.",
   406                      "format": "google-fieldmask",
   407                      "location": "query",
   408                      "type": "string"
   409                    }
   410                  },
   411                  "path": "v2/{+name}",
   412                  "request": {
   413                    "$ref": "Connection"
   414                  },
   415                  "response": {
   416                    "$ref": "Operation"
   417                  },
   418                  "scopes": [
   419                    "https://www.googleapis.com/auth/cloud-platform"
   420                  ]
   421                },
   422                "processWebhook": {
   423                  "description": "ProcessWebhook is called by the external SCM for notifying of events.",
   424                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections:processWebhook",
   425                  "httpMethod": "POST",
   426                  "id": "cloudbuild.projects.locations.connections.processWebhook",
   427                  "parameterOrder": [
   428                    "parent"
   429                  ],
   430                  "parameters": {
   431                    "parent": {
   432                      "description": "Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`.",
   433                      "location": "path",
   434                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   435                      "required": true,
   436                      "type": "string"
   437                    },
   438                    "webhookKey": {
   439                      "description": "Arbitrary additional key to find the maching repository for a webhook event if needed.",
   440                      "location": "query",
   441                      "type": "string"
   442                    }
   443                  },
   444                  "path": "v2/{+parent}/connections:processWebhook",
   445                  "request": {
   446                    "$ref": "HttpBody"
   447                  },
   448                  "response": {
   449                    "$ref": "Empty"
   450                  }
   451                },
   452                "setIamPolicy": {
   453                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
   454                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:setIamPolicy",
   455                  "httpMethod": "POST",
   456                  "id": "cloudbuild.projects.locations.connections.setIamPolicy",
   457                  "parameterOrder": [
   458                    "resource"
   459                  ],
   460                  "parameters": {
   461                    "resource": {
   462                      "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.",
   463                      "location": "path",
   464                      "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   465                      "required": true,
   466                      "type": "string"
   467                    }
   468                  },
   469                  "path": "v2/{+resource}:setIamPolicy",
   470                  "request": {
   471                    "$ref": "SetIamPolicyRequest"
   472                  },
   473                  "response": {
   474                    "$ref": "Policy"
   475                  },
   476                  "scopes": [
   477                    "https://www.googleapis.com/auth/cloud-platform"
   478                  ]
   479                },
   480                "testIamPermissions": {
   481                  "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.",
   482                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:testIamPermissions",
   483                  "httpMethod": "POST",
   484                  "id": "cloudbuild.projects.locations.connections.testIamPermissions",
   485                  "parameterOrder": [
   486                    "resource"
   487                  ],
   488                  "parameters": {
   489                    "resource": {
   490                      "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.",
   491                      "location": "path",
   492                      "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   493                      "required": true,
   494                      "type": "string"
   495                    }
   496                  },
   497                  "path": "v2/{+resource}:testIamPermissions",
   498                  "request": {
   499                    "$ref": "TestIamPermissionsRequest"
   500                  },
   501                  "response": {
   502                    "$ref": "TestIamPermissionsResponse"
   503                  },
   504                  "scopes": [
   505                    "https://www.googleapis.com/auth/cloud-platform"
   506                  ]
   507                }
   508              },
   509              "resources": {
   510                "repositories": {
   511                  "methods": {
   512                    "accessReadToken": {
   513                      "description": "Fetches read token of a given repository.",
   514                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:accessReadToken",
   515                      "httpMethod": "POST",
   516                      "id": "cloudbuild.projects.locations.connections.repositories.accessReadToken",
   517                      "parameterOrder": [
   518                        "repository"
   519                      ],
   520                      "parameters": {
   521                        "repository": {
   522                          "description": "Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.",
   523                          "location": "path",
   524                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$",
   525                          "required": true,
   526                          "type": "string"
   527                        }
   528                      },
   529                      "path": "v2/{+repository}:accessReadToken",
   530                      "request": {
   531                        "$ref": "FetchReadTokenRequest"
   532                      },
   533                      "response": {
   534                        "$ref": "FetchReadTokenResponse"
   535                      },
   536                      "scopes": [
   537                        "https://www.googleapis.com/auth/cloud-platform"
   538                      ]
   539                    },
   540                    "accessReadWriteToken": {
   541                      "description": "Fetches read/write token of a given repository.",
   542                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:accessReadWriteToken",
   543                      "httpMethod": "POST",
   544                      "id": "cloudbuild.projects.locations.connections.repositories.accessReadWriteToken",
   545                      "parameterOrder": [
   546                        "repository"
   547                      ],
   548                      "parameters": {
   549                        "repository": {
   550                          "description": "Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.",
   551                          "location": "path",
   552                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$",
   553                          "required": true,
   554                          "type": "string"
   555                        }
   556                      },
   557                      "path": "v2/{+repository}:accessReadWriteToken",
   558                      "request": {
   559                        "$ref": "FetchReadWriteTokenRequest"
   560                      },
   561                      "response": {
   562                        "$ref": "FetchReadWriteTokenResponse"
   563                      },
   564                      "scopes": [
   565                        "https://www.googleapis.com/auth/cloud-platform"
   566                      ]
   567                    },
   568                    "batchCreate": {
   569                      "description": "Creates multiple repositories inside a connection.",
   570                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories:batchCreate",
   571                      "httpMethod": "POST",
   572                      "id": "cloudbuild.projects.locations.connections.repositories.batchCreate",
   573                      "parameterOrder": [
   574                        "parent"
   575                      ],
   576                      "parameters": {
   577                        "parent": {
   578                          "description": "Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.",
   579                          "location": "path",
   580                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   581                          "required": true,
   582                          "type": "string"
   583                        }
   584                      },
   585                      "path": "v2/{+parent}/repositories:batchCreate",
   586                      "request": {
   587                        "$ref": "BatchCreateRepositoriesRequest"
   588                      },
   589                      "response": {
   590                        "$ref": "Operation"
   591                      },
   592                      "scopes": [
   593                        "https://www.googleapis.com/auth/cloud-platform"
   594                      ]
   595                    },
   596                    "create": {
   597                      "description": "Creates a Repository.",
   598                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories",
   599                      "httpMethod": "POST",
   600                      "id": "cloudbuild.projects.locations.connections.repositories.create",
   601                      "parameterOrder": [
   602                        "parent"
   603                      ],
   604                      "parameters": {
   605                        "parent": {
   606                          "description": "Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.",
   607                          "location": "path",
   608                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   609                          "required": true,
   610                          "type": "string"
   611                        },
   612                        "repositoryId": {
   613                          "description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$\u0026'()*+,;=@.",
   614                          "location": "query",
   615                          "type": "string"
   616                        }
   617                      },
   618                      "path": "v2/{+parent}/repositories",
   619                      "request": {
   620                        "$ref": "Repository"
   621                      },
   622                      "response": {
   623                        "$ref": "Operation"
   624                      },
   625                      "scopes": [
   626                        "https://www.googleapis.com/auth/cloud-platform"
   627                      ]
   628                    },
   629                    "delete": {
   630                      "description": "Deletes a single repository.",
   631                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}",
   632                      "httpMethod": "DELETE",
   633                      "id": "cloudbuild.projects.locations.connections.repositories.delete",
   634                      "parameterOrder": [
   635                        "name"
   636                      ],
   637                      "parameters": {
   638                        "etag": {
   639                          "description": "The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.",
   640                          "location": "query",
   641                          "type": "string"
   642                        },
   643                        "name": {
   644                          "description": "Required. The name of the Repository to delete. Format: `projects/*/locations/*/connections/*/repositories/*`.",
   645                          "location": "path",
   646                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$",
   647                          "required": true,
   648                          "type": "string"
   649                        },
   650                        "validateOnly": {
   651                          "description": "If set, validate the request, but do not actually post it.",
   652                          "location": "query",
   653                          "type": "boolean"
   654                        }
   655                      },
   656                      "path": "v2/{+name}",
   657                      "response": {
   658                        "$ref": "Operation"
   659                      },
   660                      "scopes": [
   661                        "https://www.googleapis.com/auth/cloud-platform"
   662                      ]
   663                    },
   664                    "fetchGitRefs": {
   665                      "description": "Fetch the list of branches or tags for a given repository.",
   666                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:fetchGitRefs",
   667                      "httpMethod": "GET",
   668                      "id": "cloudbuild.projects.locations.connections.repositories.fetchGitRefs",
   669                      "parameterOrder": [
   670                        "repository"
   671                      ],
   672                      "parameters": {
   673                        "pageSize": {
   674                          "description": "Optional. Number of results to return in the list. Default to 20.",
   675                          "format": "int32",
   676                          "location": "query",
   677                          "type": "integer"
   678                        },
   679                        "pageToken": {
   680                          "description": "Optional. Page start.",
   681                          "location": "query",
   682                          "type": "string"
   683                        },
   684                        "refType": {
   685                          "description": "Type of refs to fetch",
   686                          "enum": [
   687                            "REF_TYPE_UNSPECIFIED",
   688                            "TAG",
   689                            "BRANCH"
   690                          ],
   691                          "enumDescriptions": [
   692                            "No type specified.",
   693                            "To fetch tags.",
   694                            "To fetch branches."
   695                          ],
   696                          "location": "query",
   697                          "type": "string"
   698                        },
   699                        "repository": {
   700                          "description": "Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.",
   701                          "location": "path",
   702                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$",
   703                          "required": true,
   704                          "type": "string"
   705                        }
   706                      },
   707                      "path": "v2/{+repository}:fetchGitRefs",
   708                      "response": {
   709                        "$ref": "FetchGitRefsResponse"
   710                      },
   711                      "scopes": [
   712                        "https://www.googleapis.com/auth/cloud-platform"
   713                      ]
   714                    },
   715                    "get": {
   716                      "description": "Gets details of a single repository.",
   717                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}",
   718                      "httpMethod": "GET",
   719                      "id": "cloudbuild.projects.locations.connections.repositories.get",
   720                      "parameterOrder": [
   721                        "name"
   722                      ],
   723                      "parameters": {
   724                        "name": {
   725                          "description": "Required. The name of the Repository to retrieve. Format: `projects/*/locations/*/connections/*/repositories/*`.",
   726                          "location": "path",
   727                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$",
   728                          "required": true,
   729                          "type": "string"
   730                        }
   731                      },
   732                      "path": "v2/{+name}",
   733                      "response": {
   734                        "$ref": "Repository"
   735                      },
   736                      "scopes": [
   737                        "https://www.googleapis.com/auth/cloud-platform"
   738                      ]
   739                    },
   740                    "list": {
   741                      "description": "Lists Repositories in a given connection.",
   742                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories",
   743                      "httpMethod": "GET",
   744                      "id": "cloudbuild.projects.locations.connections.repositories.list",
   745                      "parameterOrder": [
   746                        "parent"
   747                      ],
   748                      "parameters": {
   749                        "filter": {
   750                          "description": "A filter expression that filters resources listed in the response. Expressions must follow API improvement proposal [AIP-160](https://google.aip.dev/160). e.g. `remote_uri:\"https://github.com*\"`.",
   751                          "location": "query",
   752                          "type": "string"
   753                        },
   754                        "pageSize": {
   755                          "description": "Number of results to return in the list.",
   756                          "format": "int32",
   757                          "location": "query",
   758                          "type": "integer"
   759                        },
   760                        "pageToken": {
   761                          "description": "Page start.",
   762                          "location": "query",
   763                          "type": "string"
   764                        },
   765                        "parent": {
   766                          "description": "Required. The parent, which owns this collection of Repositories. Format: `projects/*/locations/*/connections/*`.",
   767                          "location": "path",
   768                          "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
   769                          "required": true,
   770                          "type": "string"
   771                        }
   772                      },
   773                      "path": "v2/{+parent}/repositories",
   774                      "response": {
   775                        "$ref": "ListRepositoriesResponse"
   776                      },
   777                      "scopes": [
   778                        "https://www.googleapis.com/auth/cloud-platform"
   779                      ]
   780                    }
   781                  }
   782                }
   783              }
   784            },
   785            "operations": {
   786              "methods": {
   787                "cancel": {
   788                  "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`.",
   789                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
   790                  "httpMethod": "POST",
   791                  "id": "cloudbuild.projects.locations.operations.cancel",
   792                  "parameterOrder": [
   793                    "name"
   794                  ],
   795                  "parameters": {
   796                    "name": {
   797                      "description": "The name of the operation resource to be cancelled.",
   798                      "location": "path",
   799                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   800                      "required": true,
   801                      "type": "string"
   802                    }
   803                  },
   804                  "path": "v2/{+name}:cancel",
   805                  "request": {
   806                    "$ref": "CancelOperationRequest"
   807                  },
   808                  "response": {
   809                    "$ref": "Empty"
   810                  },
   811                  "scopes": [
   812                    "https://www.googleapis.com/auth/cloud-platform"
   813                  ]
   814                },
   815                "get": {
   816                  "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.",
   817                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
   818                  "httpMethod": "GET",
   819                  "id": "cloudbuild.projects.locations.operations.get",
   820                  "parameterOrder": [
   821                    "name"
   822                  ],
   823                  "parameters": {
   824                    "name": {
   825                      "description": "The name of the operation resource.",
   826                      "location": "path",
   827                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   828                      "required": true,
   829                      "type": "string"
   830                    }
   831                  },
   832                  "path": "v2/{+name}",
   833                  "response": {
   834                    "$ref": "Operation"
   835                  },
   836                  "scopes": [
   837                    "https://www.googleapis.com/auth/cloud-platform"
   838                  ]
   839                }
   840              }
   841            }
   842          }
   843        }
   844      }
   845    }
   846  },
   847  "revision": "20240427",
   848  "rootUrl": "https://cloudbuild.googleapis.com/",
   849  "schemas": {
   850    "AuditConfig": {
   851      "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.",
   852      "id": "AuditConfig",
   853      "properties": {
   854        "auditLogConfigs": {
   855          "description": "The configuration for logging of each type of permission.",
   856          "items": {
   857            "$ref": "AuditLogConfig"
   858          },
   859          "type": "array"
   860        },
   861        "service": {
   862          "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.",
   863          "type": "string"
   864        }
   865      },
   866      "type": "object"
   867    },
   868    "AuditLogConfig": {
   869      "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.",
   870      "id": "AuditLogConfig",
   871      "properties": {
   872        "exemptedMembers": {
   873          "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.",
   874          "items": {
   875            "type": "string"
   876          },
   877          "type": "array"
   878        },
   879        "logType": {
   880          "description": "The log type that this config enables.",
   881          "enum": [
   882            "LOG_TYPE_UNSPECIFIED",
   883            "ADMIN_READ",
   884            "DATA_WRITE",
   885            "DATA_READ"
   886          ],
   887          "enumDescriptions": [
   888            "Default case. Should never be this.",
   889            "Admin reads. Example: CloudIAM getIamPolicy",
   890            "Data writes. Example: CloudSQL Users create",
   891            "Data reads. Example: CloudSQL Users list"
   892          ],
   893          "type": "string"
   894        }
   895      },
   896      "type": "object"
   897    },
   898    "BatchCreateRepositoriesRequest": {
   899      "description": "Message for creating repositoritories in batch.",
   900      "id": "BatchCreateRepositoriesRequest",
   901      "properties": {
   902        "requests": {
   903          "description": "Required. The request messages specifying the repositories to create.",
   904          "items": {
   905            "$ref": "CreateRepositoryRequest"
   906          },
   907          "type": "array"
   908        }
   909      },
   910      "type": "object"
   911    },
   912    "BatchCreateRepositoriesResponse": {
   913      "description": "Message for response of creating repositories in batch.",
   914      "id": "BatchCreateRepositoriesResponse",
   915      "properties": {
   916        "repositories": {
   917          "description": "Repository resources created.",
   918          "items": {
   919            "$ref": "Repository"
   920          },
   921          "type": "array"
   922        }
   923      },
   924      "type": "object"
   925    },
   926    "Binding": {
   927      "description": "Associates `members`, or principals, with a `role`.",
   928      "id": "Binding",
   929      "properties": {
   930        "condition": {
   931          "$ref": "Expr",
   932          "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)."
   933        },
   934        "members": {
   935          "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`.",
   936          "items": {
   937            "type": "string"
   938          },
   939          "type": "array"
   940        },
   941        "role": {
   942          "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).",
   943          "type": "string"
   944        }
   945      },
   946      "type": "object"
   947    },
   948    "BitbucketCloudConfig": {
   949      "description": "Configuration for connections to Bitbucket Cloud.",
   950      "id": "BitbucketCloudConfig",
   951      "properties": {
   952        "authorizerCredential": {
   953          "$ref": "UserCredential",
   954          "description": "Required. An access token with the `webhook`, `repository`, `repository:admin` and `pullrequest` scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials."
   955        },
   956        "readAuthorizerCredential": {
   957          "$ref": "UserCredential",
   958          "description": "Required. An access token with the `repository` access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials."
   959        },
   960        "webhookSecretSecretVersion": {
   961          "description": "Required. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.",
   962          "type": "string"
   963        },
   964        "workspace": {
   965          "description": "Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.",
   966          "type": "string"
   967        }
   968      },
   969      "type": "object"
   970    },
   971    "BitbucketDataCenterConfig": {
   972      "description": "Configuration for connections to Bitbucket Data Center.",
   973      "id": "BitbucketDataCenterConfig",
   974      "properties": {
   975        "authorizerCredential": {
   976          "$ref": "UserCredential",
   977          "description": "Required. A http access token with the `REPO_ADMIN` scope access."
   978        },
   979        "hostUri": {
   980          "description": "Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.",
   981          "type": "string"
   982        },
   983        "readAuthorizerCredential": {
   984          "$ref": "UserCredential",
   985          "description": "Required. A http access token with the `REPO_READ` access."
   986        },
   987        "serverVersion": {
   988          "description": "Output only. Version of the Bitbucket Data Center running on the `host_uri`.",
   989          "readOnly": true,
   990          "type": "string"
   991        },
   992        "serviceDirectoryConfig": {
   993          "$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig",
   994          "description": "Optional. Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet."
   995        },
   996        "sslCa": {
   997          "description": "Optional. SSL certificate to use for requests to the Bitbucket Data Center.",
   998          "type": "string"
   999        },
  1000        "webhookSecretSecretVersion": {
  1001          "description": "Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.",
  1002          "type": "string"
  1003        }
  1004      },
  1005      "type": "object"
  1006    },
  1007    "CancelOperationRequest": {
  1008      "description": "The request message for Operations.CancelOperation.",
  1009      "id": "CancelOperationRequest",
  1010      "properties": {},
  1011      "type": "object"
  1012    },
  1013    "Capabilities": {
  1014      "description": "Capabilities adds and removes POSIX capabilities from running containers.",
  1015      "id": "Capabilities",
  1016      "properties": {
  1017        "add": {
  1018          "description": "Optional. Added capabilities +optional",
  1019          "items": {
  1020            "type": "string"
  1021          },
  1022          "type": "array"
  1023        },
  1024        "drop": {
  1025          "description": "Optional. Removed capabilities +optional",
  1026          "items": {
  1027            "type": "string"
  1028          },
  1029          "type": "array"
  1030        }
  1031      },
  1032      "type": "object"
  1033    },
  1034    "ChildStatusReference": {
  1035      "description": "ChildStatusReference is used to point to the statuses of individual TaskRuns and Runs within this PipelineRun.",
  1036      "id": "ChildStatusReference",
  1037      "properties": {
  1038        "name": {
  1039          "description": "Name is the name of the TaskRun or Run this is referencing.",
  1040          "type": "string"
  1041        },
  1042        "pipelineTaskName": {
  1043          "description": "PipelineTaskName is the name of the PipelineTask this is referencing.",
  1044          "type": "string"
  1045        },
  1046        "type": {
  1047          "description": "Output only. Type of the child reference.",
  1048          "enum": [
  1049            "TYPE_UNSPECIFIED",
  1050            "TASK_RUN"
  1051          ],
  1052          "enumDescriptions": [
  1053            "Default enum type; should not be used.",
  1054            "TaskRun."
  1055          ],
  1056          "readOnly": true,
  1057          "type": "string"
  1058        },
  1059        "whenExpressions": {
  1060          "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask",
  1061          "items": {
  1062            "$ref": "WhenExpression"
  1063          },
  1064          "type": "array"
  1065        }
  1066      },
  1067      "type": "object"
  1068    },
  1069    "Connection": {
  1070      "description": "A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.",
  1071      "id": "Connection",
  1072      "properties": {
  1073        "annotations": {
  1074          "additionalProperties": {
  1075            "type": "string"
  1076          },
  1077          "description": "Allows clients to store small amounts of arbitrary data.",
  1078          "type": "object"
  1079        },
  1080        "bitbucketCloudConfig": {
  1081          "$ref": "BitbucketCloudConfig",
  1082          "description": "Configuration for connections to Bitbucket Cloud."
  1083        },
  1084        "bitbucketDataCenterConfig": {
  1085          "$ref": "BitbucketDataCenterConfig",
  1086          "description": "Configuration for connections to Bitbucket Data Center."
  1087        },
  1088        "createTime": {
  1089          "description": "Output only. Server assigned timestamp for when the connection was created.",
  1090          "format": "google-datetime",
  1091          "readOnly": true,
  1092          "type": "string"
  1093        },
  1094        "disabled": {
  1095          "description": "If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.",
  1096          "type": "boolean"
  1097        },
  1098        "etag": {
  1099          "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
  1100          "type": "string"
  1101        },
  1102        "githubConfig": {
  1103          "$ref": "GitHubConfig",
  1104          "description": "Configuration for connections to github.com."
  1105        },
  1106        "githubEnterpriseConfig": {
  1107          "$ref": "GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig",
  1108          "description": "Configuration for connections to an instance of GitHub Enterprise."
  1109        },
  1110        "gitlabConfig": {
  1111          "$ref": "GoogleDevtoolsCloudbuildV2GitLabConfig",
  1112          "description": "Configuration for connections to gitlab.com or an instance of GitLab Enterprise."
  1113        },
  1114        "installationState": {
  1115          "$ref": "InstallationState",
  1116          "description": "Output only. Installation state of the Connection.",
  1117          "readOnly": true
  1118        },
  1119        "name": {
  1120          "description": "Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.",
  1121          "type": "string"
  1122        },
  1123        "reconciling": {
  1124          "description": "Output only. Set to true when the connection is being set up or updated in the background.",
  1125          "readOnly": true,
  1126          "type": "boolean"
  1127        },
  1128        "updateTime": {
  1129          "description": "Output only. Server assigned timestamp for when the connection was updated.",
  1130          "format": "google-datetime",
  1131          "readOnly": true,
  1132          "type": "string"
  1133        }
  1134      },
  1135      "type": "object"
  1136    },
  1137    "CreateRepositoryRequest": {
  1138      "description": "Message for creating a Repository.",
  1139      "id": "CreateRepositoryRequest",
  1140      "properties": {
  1141        "parent": {
  1142          "description": "Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.",
  1143          "type": "string"
  1144        },
  1145        "repository": {
  1146          "$ref": "Repository",
  1147          "description": "Required. The repository to create."
  1148        },
  1149        "repositoryId": {
  1150          "description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$\u0026'()*+,;=@.",
  1151          "type": "string"
  1152        }
  1153      },
  1154      "type": "object"
  1155    },
  1156    "EmbeddedTask": {
  1157      "description": "EmbeddedTask defines a Task that is embedded in a Pipeline.",
  1158      "id": "EmbeddedTask",
  1159      "properties": {
  1160        "annotations": {
  1161          "additionalProperties": {
  1162            "type": "string"
  1163          },
  1164          "description": "User annotations. See https://google.aip.dev/128#annotations",
  1165          "type": "object"
  1166        },
  1167        "taskSpec": {
  1168          "$ref": "TaskSpec",
  1169          "description": "Spec to instantiate this TaskRun."
  1170        }
  1171      },
  1172      "type": "object"
  1173    },
  1174    "Empty": {
  1175      "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); }",
  1176      "id": "Empty",
  1177      "properties": {},
  1178      "type": "object"
  1179    },
  1180    "EmptyDirVolumeSource": {
  1181      "description": "Represents an empty Volume source.",
  1182      "id": "EmptyDirVolumeSource",
  1183      "properties": {},
  1184      "type": "object"
  1185    },
  1186    "EnvVar": {
  1187      "description": "Environment variable.",
  1188      "id": "EnvVar",
  1189      "properties": {
  1190        "name": {
  1191          "description": "Name of the environment variable.",
  1192          "type": "string"
  1193        },
  1194        "value": {
  1195          "description": "Value of the environment variable.",
  1196          "type": "string"
  1197        }
  1198      },
  1199      "type": "object"
  1200    },
  1201    "ExecAction": {
  1202      "description": "ExecAction describes a \"run in container\" action.",
  1203      "id": "ExecAction",
  1204      "properties": {
  1205        "command": {
  1206          "description": "Optional. Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. +optional",
  1207          "items": {
  1208            "type": "string"
  1209          },
  1210          "type": "array"
  1211        }
  1212      },
  1213      "type": "object"
  1214    },
  1215    "Expr": {
  1216      "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.",
  1217      "id": "Expr",
  1218      "properties": {
  1219        "description": {
  1220          "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
  1221          "type": "string"
  1222        },
  1223        "expression": {
  1224          "description": "Textual representation of an expression in Common Expression Language syntax.",
  1225          "type": "string"
  1226        },
  1227        "location": {
  1228          "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
  1229          "type": "string"
  1230        },
  1231        "title": {
  1232          "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.",
  1233          "type": "string"
  1234        }
  1235      },
  1236      "type": "object"
  1237    },
  1238    "FetchGitRefsResponse": {
  1239      "description": "Response for fetching git refs",
  1240      "id": "FetchGitRefsResponse",
  1241      "properties": {
  1242        "nextPageToken": {
  1243          "description": "A token identifying a page of results the server should return.",
  1244          "type": "string"
  1245        },
  1246        "refNames": {
  1247          "description": "Name of the refs fetched.",
  1248          "items": {
  1249            "type": "string"
  1250          },
  1251          "type": "array"
  1252        }
  1253      },
  1254      "type": "object"
  1255    },
  1256    "FetchLinkableRepositoriesResponse": {
  1257      "description": "Response message for FetchLinkableRepositories.",
  1258      "id": "FetchLinkableRepositoriesResponse",
  1259      "properties": {
  1260        "nextPageToken": {
  1261          "description": "A token identifying a page of results the server should return.",
  1262          "type": "string"
  1263        },
  1264        "repositories": {
  1265          "description": "repositories ready to be created.",
  1266          "items": {
  1267            "$ref": "Repository"
  1268          },
  1269          "type": "array"
  1270        }
  1271      },
  1272      "type": "object"
  1273    },
  1274    "FetchReadTokenRequest": {
  1275      "description": "Message for fetching SCM read token.",
  1276      "id": "FetchReadTokenRequest",
  1277      "properties": {},
  1278      "type": "object"
  1279    },
  1280    "FetchReadTokenResponse": {
  1281      "description": "Message for responding to get read token.",
  1282      "id": "FetchReadTokenResponse",
  1283      "properties": {
  1284        "expirationTime": {
  1285          "description": "Expiration timestamp. Can be empty if unknown or non-expiring.",
  1286          "format": "google-datetime",
  1287          "type": "string"
  1288        },
  1289        "token": {
  1290          "description": "The token content.",
  1291          "type": "string"
  1292        }
  1293      },
  1294      "type": "object"
  1295    },
  1296    "FetchReadWriteTokenRequest": {
  1297      "description": "Message for fetching SCM read/write token.",
  1298      "id": "FetchReadWriteTokenRequest",
  1299      "properties": {},
  1300      "type": "object"
  1301    },
  1302    "FetchReadWriteTokenResponse": {
  1303      "description": "Message for responding to get read/write token.",
  1304      "id": "FetchReadWriteTokenResponse",
  1305      "properties": {
  1306        "expirationTime": {
  1307          "description": "Expiration timestamp. Can be empty if unknown or non-expiring.",
  1308          "format": "google-datetime",
  1309          "type": "string"
  1310        },
  1311        "token": {
  1312          "description": "The token content.",
  1313          "type": "string"
  1314        }
  1315      },
  1316      "type": "object"
  1317    },
  1318    "GitHubConfig": {
  1319      "description": "Configuration for connections to github.com.",
  1320      "id": "GitHubConfig",
  1321      "properties": {
  1322        "appInstallationId": {
  1323          "description": "GitHub App installation id.",
  1324          "format": "int64",
  1325          "type": "string"
  1326        },
  1327        "authorizerCredential": {
  1328          "$ref": "OAuthCredential",
  1329          "description": "OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App."
  1330        }
  1331      },
  1332      "type": "object"
  1333    },
  1334    "GoogleDevtoolsCloudbuildV2Condition": {
  1335      "description": "Conditions defines a readiness condition for a Knative resource.",
  1336      "id": "GoogleDevtoolsCloudbuildV2Condition",
  1337      "properties": {
  1338        "lastTransitionTime": {
  1339          "description": "LastTransitionTime is the last time the condition transitioned from one status to another.",
  1340          "format": "google-datetime",
  1341          "type": "string"
  1342        },
  1343        "message": {
  1344          "description": "A human readable message indicating details about the transition.",
  1345          "type": "string"
  1346        },
  1347        "reason": {
  1348          "description": "The reason for the condition's last transition.",
  1349          "type": "string"
  1350        },
  1351        "severity": {
  1352          "description": "Severity with which to treat failures of this type of condition.",
  1353          "enum": [
  1354            "SEVERITY_UNSPECIFIED",
  1355            "WARNING",
  1356            "INFO"
  1357          ],
  1358          "enumDescriptions": [
  1359            "Default enum type; should not be used.",
  1360            "Severity is warning.",
  1361            "Severity is informational only."
  1362          ],
  1363          "type": "string"
  1364        },
  1365        "status": {
  1366          "description": "Status of the condition.",
  1367          "enum": [
  1368            "UNKNOWN",
  1369            "TRUE",
  1370            "FALSE"
  1371          ],
  1372          "enumDescriptions": [
  1373            "Default enum type indicating execution is still ongoing.",
  1374            "Success",
  1375            "Failure"
  1376          ],
  1377          "type": "string"
  1378        },
  1379        "type": {
  1380          "description": "Type of condition.",
  1381          "type": "string"
  1382        }
  1383      },
  1384      "type": "object"
  1385    },
  1386    "GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig": {
  1387      "description": "Configuration for connections to an instance of GitHub Enterprise.",
  1388      "id": "GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig",
  1389      "properties": {
  1390        "apiKey": {
  1391          "description": "Required. API Key used for authentication of webhook events.",
  1392          "type": "string"
  1393        },
  1394        "appId": {
  1395          "description": "Id of the GitHub App created from the manifest.",
  1396          "format": "int64",
  1397          "type": "string"
  1398        },
  1399        "appInstallationId": {
  1400          "description": "ID of the installation of the GitHub App.",
  1401          "format": "int64",
  1402          "type": "string"
  1403        },
  1404        "appSlug": {
  1405          "description": "The URL-friendly name of the GitHub App.",
  1406          "type": "string"
  1407        },
  1408        "hostUri": {
  1409          "description": "Required. The URI of the GitHub Enterprise host this connection is for.",
  1410          "type": "string"
  1411        },
  1412        "privateKeySecretVersion": {
  1413          "description": "SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.",
  1414          "type": "string"
  1415        },
  1416        "serverVersion": {
  1417          "description": "Output only. GitHub Enterprise version installed at the host_uri.",
  1418          "readOnly": true,
  1419          "type": "string"
  1420        },
  1421        "serviceDirectoryConfig": {
  1422          "$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig",
  1423          "description": "Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet."
  1424        },
  1425        "sslCa": {
  1426          "description": "SSL certificate to use for requests to GitHub Enterprise.",
  1427          "type": "string"
  1428        },
  1429        "webhookSecretSecretVersion": {
  1430          "description": "SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.",
  1431          "type": "string"
  1432        }
  1433      },
  1434      "type": "object"
  1435    },
  1436    "GoogleDevtoolsCloudbuildV2GitLabConfig": {
  1437      "description": "Configuration for connections to gitlab.com or an instance of GitLab Enterprise.",
  1438      "id": "GoogleDevtoolsCloudbuildV2GitLabConfig",
  1439      "properties": {
  1440        "authorizerCredential": {
  1441          "$ref": "UserCredential",
  1442          "description": "Required. A GitLab personal access token with the `api` scope access."
  1443        },
  1444        "hostUri": {
  1445          "description": "The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.",
  1446          "type": "string"
  1447        },
  1448        "readAuthorizerCredential": {
  1449          "$ref": "UserCredential",
  1450          "description": "Required. A GitLab personal access token with the minimum `read_api` scope access."
  1451        },
  1452        "serverVersion": {
  1453          "description": "Output only. Version of the GitLab Enterprise server running on the `host_uri`.",
  1454          "readOnly": true,
  1455          "type": "string"
  1456        },
  1457        "serviceDirectoryConfig": {
  1458          "$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig",
  1459          "description": "Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet."
  1460        },
  1461        "sslCa": {
  1462          "description": "SSL certificate to use for requests to GitLab Enterprise.",
  1463          "type": "string"
  1464        },
  1465        "webhookSecretSecretVersion": {
  1466          "description": "Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as `projects/*/secrets/*/versions/*`.",
  1467          "type": "string"
  1468        }
  1469      },
  1470      "type": "object"
  1471    },
  1472    "GoogleDevtoolsCloudbuildV2OperationMetadata": {
  1473      "description": "Represents the metadata of the long-running operation.",
  1474      "id": "GoogleDevtoolsCloudbuildV2OperationMetadata",
  1475      "properties": {
  1476        "apiVersion": {
  1477          "description": "Output only. API version used to start the operation.",
  1478          "readOnly": true,
  1479          "type": "string"
  1480        },
  1481        "createTime": {
  1482          "description": "Output only. The time the operation was created.",
  1483          "format": "google-datetime",
  1484          "readOnly": true,
  1485          "type": "string"
  1486        },
  1487        "endTime": {
  1488          "description": "Output only. The time the operation finished running.",
  1489          "format": "google-datetime",
  1490          "readOnly": true,
  1491          "type": "string"
  1492        },
  1493        "requestedCancellation": {
  1494          "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`.",
  1495          "readOnly": true,
  1496          "type": "boolean"
  1497        },
  1498        "statusMessage": {
  1499          "description": "Output only. Human-readable status of the operation, if any.",
  1500          "readOnly": true,
  1501          "type": "string"
  1502        },
  1503        "target": {
  1504          "description": "Output only. Server-defined resource path for the target of the operation.",
  1505          "readOnly": true,
  1506          "type": "string"
  1507        },
  1508        "verb": {
  1509          "description": "Output only. Name of the verb executed by the operation.",
  1510          "readOnly": true,
  1511          "type": "string"
  1512        }
  1513      },
  1514      "type": "object"
  1515    },
  1516    "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig": {
  1517      "description": "ServiceDirectoryConfig represents Service Directory configuration for a connection.",
  1518      "id": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig",
  1519      "properties": {
  1520        "service": {
  1521          "description": "Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.",
  1522          "type": "string"
  1523        }
  1524      },
  1525      "type": "object"
  1526    },
  1527    "HttpBody": {
  1528      "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.",
  1529      "id": "HttpBody",
  1530      "properties": {
  1531        "contentType": {
  1532          "description": "The HTTP Content-Type header value specifying the content type of the body.",
  1533          "type": "string"
  1534        },
  1535        "data": {
  1536          "description": "The HTTP request/response body as raw binary.",
  1537          "format": "byte",
  1538          "type": "string"
  1539        },
  1540        "extensions": {
  1541          "description": "Application specific response metadata. Must be set in the first response for streaming APIs.",
  1542          "items": {
  1543            "additionalProperties": {
  1544              "description": "Properties of the object. Contains field @type with type URL.",
  1545              "type": "any"
  1546            },
  1547            "type": "object"
  1548          },
  1549          "type": "array"
  1550        }
  1551      },
  1552      "type": "object"
  1553    },
  1554    "InstallationState": {
  1555      "description": "Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.",
  1556      "id": "InstallationState",
  1557      "properties": {
  1558        "actionUri": {
  1559          "description": "Output only. Link to follow for next action. Empty string if the installation is already complete.",
  1560          "readOnly": true,
  1561          "type": "string"
  1562        },
  1563        "message": {
  1564          "description": "Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.",
  1565          "readOnly": true,
  1566          "type": "string"
  1567        },
  1568        "stage": {
  1569          "description": "Output only. Current step of the installation process.",
  1570          "enum": [
  1571            "STAGE_UNSPECIFIED",
  1572            "PENDING_CREATE_APP",
  1573            "PENDING_USER_OAUTH",
  1574            "PENDING_INSTALL_APP",
  1575            "COMPLETE"
  1576          ],
  1577          "enumDescriptions": [
  1578            "No stage specified.",
  1579            "Only for GitHub Enterprise. An App creation has been requested. The user needs to confirm the creation in their GitHub enterprise host.",
  1580            "User needs to authorize the GitHub (or Enterprise) App via OAuth.",
  1581            "User needs to follow the link to install the GitHub (or Enterprise) App.",
  1582            "Installation process has been completed."
  1583          ],
  1584          "readOnly": true,
  1585          "type": "string"
  1586        }
  1587      },
  1588      "type": "object"
  1589    },
  1590    "ListConnectionsResponse": {
  1591      "description": "Message for response to listing Connections.",
  1592      "id": "ListConnectionsResponse",
  1593      "properties": {
  1594        "connections": {
  1595          "description": "The list of Connections.",
  1596          "items": {
  1597            "$ref": "Connection"
  1598          },
  1599          "type": "array"
  1600        },
  1601        "nextPageToken": {
  1602          "description": "A token identifying a page of results the server should return.",
  1603          "type": "string"
  1604        }
  1605      },
  1606      "type": "object"
  1607    },
  1608    "ListLocationsResponse": {
  1609      "description": "The response message for Locations.ListLocations.",
  1610      "id": "ListLocationsResponse",
  1611      "properties": {
  1612        "locations": {
  1613          "description": "A list of locations that matches the specified filter in the request.",
  1614          "items": {
  1615            "$ref": "Location"
  1616          },
  1617          "type": "array"
  1618        },
  1619        "nextPageToken": {
  1620          "description": "The standard List next-page token.",
  1621          "type": "string"
  1622        }
  1623      },
  1624      "type": "object"
  1625    },
  1626    "ListRepositoriesResponse": {
  1627      "description": "Message for response to listing Repositories.",
  1628      "id": "ListRepositoriesResponse",
  1629      "properties": {
  1630        "nextPageToken": {
  1631          "description": "A token identifying a page of results the server should return.",
  1632          "type": "string"
  1633        },
  1634        "repositories": {
  1635          "description": "The list of Repositories.",
  1636          "items": {
  1637            "$ref": "Repository"
  1638          },
  1639          "type": "array"
  1640        }
  1641      },
  1642      "type": "object"
  1643    },
  1644    "Location": {
  1645      "description": "A resource that represents a Google Cloud location.",
  1646      "id": "Location",
  1647      "properties": {
  1648        "displayName": {
  1649          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
  1650          "type": "string"
  1651        },
  1652        "labels": {
  1653          "additionalProperties": {
  1654            "type": "string"
  1655          },
  1656          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
  1657          "type": "object"
  1658        },
  1659        "locationId": {
  1660          "description": "The canonical id for this location. For example: `\"us-east1\"`.",
  1661          "type": "string"
  1662        },
  1663        "metadata": {
  1664          "additionalProperties": {
  1665            "description": "Properties of the object. Contains field @type with type URL.",
  1666            "type": "any"
  1667          },
  1668          "description": "Service-specific metadata. For example the available capacity at the given location.",
  1669          "type": "object"
  1670        },
  1671        "name": {
  1672          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
  1673          "type": "string"
  1674        }
  1675      },
  1676      "type": "object"
  1677    },
  1678    "OAuthCredential": {
  1679      "description": "Represents an OAuth token of the account that authorized the Connection, and associated metadata.",
  1680      "id": "OAuthCredential",
  1681      "properties": {
  1682        "oauthTokenSecretVersion": {
  1683          "description": "A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.",
  1684          "type": "string"
  1685        },
  1686        "username": {
  1687          "description": "Output only. The username associated to this token.",
  1688          "readOnly": true,
  1689          "type": "string"
  1690        }
  1691      },
  1692      "type": "object"
  1693    },
  1694    "Operation": {
  1695      "description": "This resource represents a long-running operation that is the result of a network API call.",
  1696      "id": "Operation",
  1697      "properties": {
  1698        "done": {
  1699          "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.",
  1700          "type": "boolean"
  1701        },
  1702        "error": {
  1703          "$ref": "Status",
  1704          "description": "The error result of the operation in case of failure or cancellation."
  1705        },
  1706        "metadata": {
  1707          "additionalProperties": {
  1708            "description": "Properties of the object. Contains field @type with type URL.",
  1709            "type": "any"
  1710          },
  1711          "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.",
  1712          "type": "object"
  1713        },
  1714        "name": {
  1715          "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}`.",
  1716          "type": "string"
  1717        },
  1718        "response": {
  1719          "additionalProperties": {
  1720            "description": "Properties of the object. Contains field @type with type URL.",
  1721            "type": "any"
  1722          },
  1723          "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`.",
  1724          "type": "object"
  1725        }
  1726      },
  1727      "type": "object"
  1728    },
  1729    "OperationMetadata": {
  1730      "description": "Represents the metadata of the long-running operation.",
  1731      "id": "OperationMetadata",
  1732      "properties": {
  1733        "apiVersion": {
  1734          "description": "Output only. API version used to start the operation.",
  1735          "readOnly": true,
  1736          "type": "string"
  1737        },
  1738        "cancelRequested": {
  1739          "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
  1740          "readOnly": true,
  1741          "type": "boolean"
  1742        },
  1743        "createTime": {
  1744          "description": "Output only. The time the operation was created.",
  1745          "format": "google-datetime",
  1746          "readOnly": true,
  1747          "type": "string"
  1748        },
  1749        "endTime": {
  1750          "description": "Output only. The time the operation finished running.",
  1751          "format": "google-datetime",
  1752          "readOnly": true,
  1753          "type": "string"
  1754        },
  1755        "statusDetail": {
  1756          "description": "Output only. Human-readable status of the operation, if any.",
  1757          "readOnly": true,
  1758          "type": "string"
  1759        },
  1760        "target": {
  1761          "description": "Output only. Server-defined resource path for the target of the operation.",
  1762          "readOnly": true,
  1763          "type": "string"
  1764        },
  1765        "verb": {
  1766          "description": "Output only. Name of the verb executed by the operation.",
  1767          "readOnly": true,
  1768          "type": "string"
  1769        }
  1770      },
  1771      "type": "object"
  1772    },
  1773    "Param": {
  1774      "description": "Param defined with name and value. PipelineRef can be used to refer to a specific instance of a Pipeline.",
  1775      "id": "Param",
  1776      "properties": {
  1777        "name": {
  1778          "description": "Name of the parameter.",
  1779          "type": "string"
  1780        },
  1781        "value": {
  1782          "$ref": "ParamValue",
  1783          "description": "Value of the parameter."
  1784        }
  1785      },
  1786      "type": "object"
  1787    },
  1788    "ParamSpec": {
  1789      "description": "ParamSpec defines parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.",
  1790      "id": "ParamSpec",
  1791      "properties": {
  1792        "default": {
  1793          "$ref": "ParamValue",
  1794          "description": "The default value a parameter takes if no input value is supplied"
  1795        },
  1796        "description": {
  1797          "description": "Description of the ParamSpec",
  1798          "type": "string"
  1799        },
  1800        "name": {
  1801          "description": "Name of the ParamSpec",
  1802          "type": "string"
  1803        },
  1804        "type": {
  1805          "description": "Type of ParamSpec",
  1806          "enum": [
  1807            "TYPE_UNSPECIFIED",
  1808            "STRING",
  1809            "ARRAY"
  1810          ],
  1811          "enumDescriptions": [
  1812            "Default enum type; should not be used.",
  1813            "Default",
  1814            "Arrary type."
  1815          ],
  1816          "type": "string"
  1817        }
  1818      },
  1819      "type": "object"
  1820    },
  1821    "ParamValue": {
  1822      "description": "Parameter value.",
  1823      "id": "ParamValue",
  1824      "properties": {
  1825        "arrayVal": {
  1826          "description": "Value of the parameter if type is array.",
  1827          "items": {
  1828            "type": "string"
  1829          },
  1830          "type": "array"
  1831        },
  1832        "stringVal": {
  1833          "description": "Value of the parameter if type is string.",
  1834          "type": "string"
  1835        },
  1836        "type": {
  1837          "description": "Type of parameter.",
  1838          "enum": [
  1839            "TYPE_UNSPECIFIED",
  1840            "STRING",
  1841            "ARRAY"
  1842          ],
  1843          "enumDescriptions": [
  1844            "Default enum type; should not be used.",
  1845            "Default",
  1846            "Array type"
  1847          ],
  1848          "type": "string"
  1849        }
  1850      },
  1851      "type": "object"
  1852    },
  1853    "PipelineRef": {
  1854      "description": "PipelineRef can be used to refer to a specific instance of a Pipeline.",
  1855      "id": "PipelineRef",
  1856      "properties": {
  1857        "name": {
  1858          "deprecated": true,
  1859          "description": "Name of the Pipeline.",
  1860          "type": "string"
  1861        },
  1862        "params": {
  1863          "description": "Params contains the parameters used to identify the referenced Tekton resource. Example entries might include \"repo\" or \"path\" but the set of params ultimately depends on the chosen resolver.",
  1864          "items": {
  1865            "$ref": "Param"
  1866          },
  1867          "type": "array"
  1868        },
  1869        "resolver": {
  1870          "description": "Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource.",
  1871          "enum": [
  1872            "RESOLVER_NAME_UNSPECIFIED",
  1873            "BUNDLES",
  1874            "GCB_REPO",
  1875            "GIT",
  1876            "DEVELOPER_CONNECT"
  1877          ],
  1878          "enumDescriptions": [
  1879            "Default enum type; should not be used.",
  1880            "Bundles resolver. https://tekton.dev/docs/pipelines/bundle-resolver/",
  1881            "GCB repo resolver.",
  1882            "Simple Git resolver. https://tekton.dev/docs/pipelines/git-resolver/",
  1883            "Developer Connect resolver."
  1884          ],
  1885          "type": "string"
  1886        }
  1887      },
  1888      "type": "object"
  1889    },
  1890    "PipelineResult": {
  1891      "description": "A value produced by a Pipeline.",
  1892      "id": "PipelineResult",
  1893      "properties": {
  1894        "description": {
  1895          "description": "Output only. Description of the result.",
  1896          "readOnly": true,
  1897          "type": "string"
  1898        },
  1899        "name": {
  1900          "description": "Output only. Name of the result.",
  1901          "readOnly": true,
  1902          "type": "string"
  1903        },
  1904        "type": {
  1905          "description": "Output only. The type of data that the result holds.",
  1906          "enum": [
  1907            "TYPE_UNSPECIFIED",
  1908            "STRING",
  1909            "ARRAY",
  1910            "OBJECT"
  1911          ],
  1912          "enumDescriptions": [
  1913            "Default enum type; should not be used.",
  1914            "Default",
  1915            "Array type",
  1916            "Object type"
  1917          ],
  1918          "readOnly": true,
  1919          "type": "string"
  1920        },
  1921        "value": {
  1922          "$ref": "ResultValue",
  1923          "description": "Output only. Value of the result.",
  1924          "readOnly": true
  1925        }
  1926      },
  1927      "type": "object"
  1928    },
  1929    "PipelineRun": {
  1930      "description": "Message describing PipelineRun object",
  1931      "id": "PipelineRun",
  1932      "properties": {
  1933        "annotations": {
  1934          "additionalProperties": {
  1935            "type": "string"
  1936          },
  1937          "description": "User annotations. See https://google.aip.dev/128#annotations",
  1938          "type": "object"
  1939        },
  1940        "childReferences": {
  1941          "description": "Output only. List of TaskRun and Run names and PipelineTask names for children of this PipelineRun.",
  1942          "items": {
  1943            "$ref": "ChildStatusReference"
  1944          },
  1945          "readOnly": true,
  1946          "type": "array"
  1947        },
  1948        "completionTime": {
  1949          "description": "Output only. Time the pipeline completed.",
  1950          "format": "google-datetime",
  1951          "readOnly": true,
  1952          "type": "string"
  1953        },
  1954        "conditions": {
  1955          "description": "Output only. Kubernetes Conditions convention for PipelineRun status and error.",
  1956          "items": {
  1957            "$ref": "GoogleDevtoolsCloudbuildV2Condition"
  1958          },
  1959          "readOnly": true,
  1960          "type": "array"
  1961        },
  1962        "createTime": {
  1963          "description": "Output only. Time at which the request to create the `PipelineRun` was received.",
  1964          "format": "google-datetime",
  1965          "readOnly": true,
  1966          "type": "string"
  1967        },
  1968        "etag": {
  1969          "description": "Needed for declarative-friendly resources.",
  1970          "type": "string"
  1971        },
  1972        "finallyStartTime": {
  1973          "description": "Output only. FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed. +optional",
  1974          "format": "google-datetime",
  1975          "readOnly": true,
  1976          "type": "string"
  1977        },
  1978        "gcbParams": {
  1979          "additionalProperties": {
  1980            "type": "string"
  1981          },
  1982          "description": "Output only. GCB default params.",
  1983          "readOnly": true,
  1984          "type": "object"
  1985        },
  1986        "name": {
  1987          "description": "Output only. The `PipelineRun` name with format `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}`",
  1988          "readOnly": true,
  1989          "type": "string"
  1990        },
  1991        "params": {
  1992          "description": "Params is a list of parameter names and values.",
  1993          "items": {
  1994            "$ref": "Param"
  1995          },
  1996          "type": "array"
  1997        },
  1998        "pipelineRef": {
  1999          "$ref": "PipelineRef",
  2000          "description": "PipelineRef refer to a specific instance of a Pipeline."
  2001        },
  2002        "pipelineRunStatus": {
  2003          "description": "Pipelinerun status the user can provide. Used for cancellation.",
  2004          "enum": [
  2005            "PIPELINE_RUN_STATUS_UNSPECIFIED",
  2006            "PIPELINE_RUN_CANCELLED"
  2007          ],
  2008          "enumDescriptions": [
  2009            "Default enum type; should not be used.",
  2010            "Cancelled status."
  2011          ],
  2012          "type": "string"
  2013        },
  2014        "pipelineSpec": {
  2015          "$ref": "PipelineSpec",
  2016          "description": "PipelineSpec defines the desired state of Pipeline."
  2017        },
  2018        "pipelineSpecYaml": {
  2019          "description": "Output only. Inline pipelineSpec yaml string, used by workflow run requests.",
  2020          "readOnly": true,
  2021          "type": "string"
  2022        },
  2023        "provenance": {
  2024          "$ref": "Provenance",
  2025          "description": "Optional. Provenance configuration."
  2026        },
  2027        "record": {
  2028          "description": "Output only. The `Record` of this `PipelineRun`. Format: `projects/{project}/locations/{location}/results/{result_id}/records/{record_id}`",
  2029          "readOnly": true,
  2030          "type": "string"
  2031        },
  2032        "resolvedPipelineSpec": {
  2033          "$ref": "PipelineSpec",
  2034          "description": "Output only. The exact PipelineSpec used to instantiate the run.",
  2035          "readOnly": true
  2036        },
  2037        "results": {
  2038          "description": "Optional. Output only. List of results written out by the pipeline's containers",
  2039          "items": {
  2040            "$ref": "PipelineRunResult"
  2041          },
  2042          "readOnly": true,
  2043          "type": "array"
  2044        },
  2045        "security": {
  2046          "$ref": "Security",
  2047          "description": "Optional. Security configuration."
  2048        },
  2049        "serviceAccount": {
  2050          "deprecated": true,
  2051          "description": "Service account used in the Pipeline. Deprecated; please use security.service_account instead.",
  2052          "type": "string"
  2053        },
  2054        "skippedTasks": {
  2055          "description": "Output only. List of tasks that were skipped due to when expressions evaluating to false.",
  2056          "items": {
  2057            "$ref": "SkippedTask"
  2058          },
  2059          "readOnly": true,
  2060          "type": "array"
  2061        },
  2062        "startTime": {
  2063          "description": "Output only. Time the pipeline is actually started.",
  2064          "format": "google-datetime",
  2065          "readOnly": true,
  2066          "type": "string"
  2067        },
  2068        "timeouts": {
  2069          "$ref": "TimeoutFields",
  2070          "description": "Time after which the Pipeline times out. Currently three keys are accepted in the map pipeline, tasks and finally with Timeouts.pipeline \u003e= Timeouts.tasks + Timeouts.finally"
  2071        },
  2072        "uid": {
  2073          "description": "Output only. A unique identifier for the `PipelineRun`.",
  2074          "readOnly": true,
  2075          "type": "string"
  2076        },
  2077        "updateTime": {
  2078          "description": "Output only. Time at which the request to update the `PipelineRun` was received.",
  2079          "format": "google-datetime",
  2080          "readOnly": true,
  2081          "type": "string"
  2082        },
  2083        "worker": {
  2084          "$ref": "Worker",
  2085          "description": "Optional. Worker configuration."
  2086        },
  2087        "workerPool": {
  2088          "description": "Output only. The WorkerPool used to run this PipelineRun.",
  2089          "readOnly": true,
  2090          "type": "string"
  2091        },
  2092        "workflow": {
  2093          "description": "Output only. The Workflow used to create this PipelineRun.",
  2094          "readOnly": true,
  2095          "type": "string"
  2096        },
  2097        "workspaces": {
  2098          "description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.",
  2099          "items": {
  2100            "$ref": "WorkspaceBinding"
  2101          },
  2102          "type": "array"
  2103        }
  2104      },
  2105      "type": "object"
  2106    },
  2107    "PipelineRunResult": {
  2108      "description": "PipelineRunResult used to describe the results of a pipeline",
  2109      "id": "PipelineRunResult",
  2110      "properties": {
  2111        "name": {
  2112          "description": "Output only. Name of the TaskRun",
  2113          "readOnly": true,
  2114          "type": "string"
  2115        },
  2116        "value": {
  2117          "$ref": "ResultValue",
  2118          "description": "Output only. Value of the result.",
  2119          "readOnly": true
  2120        }
  2121      },
  2122      "type": "object"
  2123    },
  2124    "PipelineSpec": {
  2125      "description": "PipelineSpec defines the desired state of Pipeline.",
  2126      "id": "PipelineSpec",
  2127      "properties": {
  2128        "finallyTasks": {
  2129          "description": "List of Tasks that execute just before leaving the Pipeline i.e. either after all Tasks are finished executing successfully or after a failure which would result in ending the Pipeline.",
  2130          "items": {
  2131            "$ref": "PipelineTask"
  2132          },
  2133          "type": "array"
  2134        },
  2135        "generatedYaml": {
  2136          "description": "Output only. auto-generated yaml that is output only for display purpose for workflows using pipeline_spec, used by UI/gcloud cli for Workflows.",
  2137          "readOnly": true,
  2138          "type": "string"
  2139        },
  2140        "params": {
  2141          "description": "List of parameters.",
  2142          "items": {
  2143            "$ref": "ParamSpec"
  2144          },
  2145          "type": "array"
  2146        },
  2147        "results": {
  2148          "description": "Optional. Output only. List of results written out by the pipeline's containers",
  2149          "items": {
  2150            "$ref": "PipelineResult"
  2151          },
  2152          "readOnly": true,
  2153          "type": "array"
  2154        },
  2155        "tasks": {
  2156          "description": "List of Tasks that execute when this Pipeline is run.",
  2157          "items": {
  2158            "$ref": "PipelineTask"
  2159          },
  2160          "type": "array"
  2161        },
  2162        "workspaces": {
  2163          "description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.",
  2164          "items": {
  2165            "$ref": "PipelineWorkspaceDeclaration"
  2166          },
  2167          "type": "array"
  2168        }
  2169      },
  2170      "type": "object"
  2171    },
  2172    "PipelineTask": {
  2173      "description": "PipelineTask defines a task in a Pipeline.",
  2174      "id": "PipelineTask",
  2175      "properties": {
  2176        "name": {
  2177          "description": "Name of the task.",
  2178          "type": "string"
  2179        },
  2180        "params": {
  2181          "description": "Params is a list of parameter names and values.",
  2182          "items": {
  2183            "$ref": "Param"
  2184          },
  2185          "type": "array"
  2186        },
  2187        "retries": {
  2188          "description": "Retries represents how many times this task should be retried in case of task failure.",
  2189          "format": "int32",
  2190          "type": "integer"
  2191        },
  2192        "runAfter": {
  2193          "description": "RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)",
  2194          "items": {
  2195            "type": "string"
  2196          },
  2197          "type": "array"
  2198        },
  2199        "taskRef": {
  2200          "$ref": "TaskRef",
  2201          "description": "Reference to a specific instance of a task."
  2202        },
  2203        "taskSpec": {
  2204          "$ref": "EmbeddedTask",
  2205          "description": "Spec to instantiate this TaskRun."
  2206        },
  2207        "timeout": {
  2208          "description": "Time after which the TaskRun times out. Defaults to 1 hour. Specified TaskRun timeout should be less than 24h.",
  2209          "format": "google-duration",
  2210          "type": "string"
  2211        },
  2212        "whenExpressions": {
  2213          "description": "Conditions that need to be true for the task to run.",
  2214          "items": {
  2215            "$ref": "WhenExpression"
  2216          },
  2217          "type": "array"
  2218        },
  2219        "workspaces": {
  2220          "description": "Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.",
  2221          "items": {
  2222            "$ref": "WorkspacePipelineTaskBinding"
  2223          },
  2224          "type": "array"
  2225        }
  2226      },
  2227      "type": "object"
  2228    },
  2229    "PipelineWorkspaceDeclaration": {
  2230      "description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.",
  2231      "id": "PipelineWorkspaceDeclaration",
  2232      "properties": {
  2233        "description": {
  2234          "description": "Description is a human readable string describing how the workspace will be used in the Pipeline.",
  2235          "type": "string"
  2236        },
  2237        "name": {
  2238          "description": "Name is the name of a workspace to be provided by a PipelineRun.",
  2239          "type": "string"
  2240        },
  2241        "optional": {
  2242          "description": "Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.",
  2243          "type": "boolean"
  2244        }
  2245      },
  2246      "type": "object"
  2247    },
  2248    "Policy": {
  2249      "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/).",
  2250      "id": "Policy",
  2251      "properties": {
  2252        "auditConfigs": {
  2253          "description": "Specifies cloud audit logging configuration for this policy.",
  2254          "items": {
  2255            "$ref": "AuditConfig"
  2256          },
  2257          "type": "array"
  2258        },
  2259        "bindings": {
  2260          "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`.",
  2261          "items": {
  2262            "$ref": "Binding"
  2263          },
  2264          "type": "array"
  2265        },
  2266        "etag": {
  2267          "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.",
  2268          "format": "byte",
  2269          "type": "string"
  2270        },
  2271        "version": {
  2272          "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).",
  2273          "format": "int32",
  2274          "type": "integer"
  2275        }
  2276      },
  2277      "type": "object"
  2278    },
  2279    "Probe": {
  2280      "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.",
  2281      "id": "Probe",
  2282      "properties": {
  2283        "exec": {
  2284          "$ref": "ExecAction",
  2285          "description": "Optional. Exec specifies the action to take. +optional"
  2286        },
  2287        "periodSeconds": {
  2288          "description": "Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. +optional",
  2289          "format": "int32",
  2290          "type": "integer"
  2291        }
  2292      },
  2293      "type": "object"
  2294    },
  2295    "PropertySpec": {
  2296      "description": "PropertySpec holds information about a property in an object.",
  2297      "id": "PropertySpec",
  2298      "properties": {
  2299        "type": {
  2300          "description": "A type for the object.",
  2301          "enum": [
  2302            "TYPE_UNSPECIFIED",
  2303            "STRING"
  2304          ],
  2305          "enumDescriptions": [
  2306            "Default enum type; should not be used.",
  2307            "Default"
  2308          ],
  2309          "type": "string"
  2310        }
  2311      },
  2312      "type": "object"
  2313    },
  2314    "Provenance": {
  2315      "description": "Provenance configuration.",
  2316      "id": "Provenance",
  2317      "properties": {
  2318        "enabled": {
  2319          "description": "Optional. Provenance push mode.",
  2320          "enum": [
  2321            "ENABLED_UNSPECIFIED",
  2322            "REQUIRED",
  2323            "OPTIMISTIC",
  2324            "DISABLED"
  2325          ],
  2326          "enumDescriptions": [
  2327            "Default to disabled (before AA regionalization), optimistic after",
  2328            "Provenance failures would fail the run",
  2329            "GCB will attempt to push to artifact analaysis and build state would not be impacted by the push failures.",
  2330            "Disable the provenance push entirely."
  2331          ],
  2332          "type": "string"
  2333        },
  2334        "region": {
  2335          "description": "Optional. Provenance region.",
  2336          "enum": [
  2337            "REGION_UNSPECIFIED",
  2338            "GLOBAL"
  2339          ],
  2340          "enumDescriptions": [
  2341            "The PipelineRun/TaskRun/Workflow will be rejected. Update this comment to push to the same region as the run in Artifact Analysis when it's regionalized.",
  2342            "Push provenance to Artifact Analysis in global region."
  2343          ],
  2344          "type": "string"
  2345        },
  2346        "storage": {
  2347          "description": "Optional. Where provenance is stored.",
  2348          "enum": [
  2349            "STORAGE_UNSPECIFIED",
  2350            "PREFER_ARTIFACT_PROJECT",
  2351            "ARTIFACT_PROJECT_ONLY",
  2352            "BUILD_PROJECT_ONLY"
  2353          ],
  2354          "enumDescriptions": [
  2355            "Default PREFER_ARTIFACT_PROJECT.",
  2356            "GCB will attempt to push provenance to the artifact project. If it is not available, fallback to build project.",
  2357            "Only push to artifact project.",
  2358            "Only push to build project."
  2359          ],
  2360          "type": "string"
  2361        }
  2362      },
  2363      "type": "object"
  2364    },
  2365    "Repository": {
  2366      "description": "A repository associated to a parent connection.",
  2367      "id": "Repository",
  2368      "properties": {
  2369        "annotations": {
  2370          "additionalProperties": {
  2371            "type": "string"
  2372          },
  2373          "description": "Allows clients to store small amounts of arbitrary data.",
  2374          "type": "object"
  2375        },
  2376        "createTime": {
  2377          "description": "Output only. Server assigned timestamp for when the connection was created.",
  2378          "format": "google-datetime",
  2379          "readOnly": true,
  2380          "type": "string"
  2381        },
  2382        "etag": {
  2383          "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
  2384          "type": "string"
  2385        },
  2386        "name": {
  2387          "description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.",
  2388          "type": "string"
  2389        },
  2390        "remoteUri": {
  2391          "description": "Required. Git Clone HTTPS URI.",
  2392          "type": "string"
  2393        },
  2394        "updateTime": {
  2395          "description": "Output only. Server assigned timestamp for when the connection was updated.",
  2396          "format": "google-datetime",
  2397          "readOnly": true,
  2398          "type": "string"
  2399        },
  2400        "webhookId": {
  2401          "description": "Output only. External ID of the webhook created for the repository.",
  2402          "readOnly": true,
  2403          "type": "string"
  2404        }
  2405      },
  2406      "type": "object"
  2407    },
  2408    "ResultValue": {
  2409      "description": "ResultValue holds different types of data for a single result.",
  2410      "id": "ResultValue",
  2411      "properties": {
  2412        "arrayVal": {
  2413          "description": "Value of the result if type is array.",
  2414          "items": {
  2415            "type": "string"
  2416          },
  2417          "type": "array"
  2418        },
  2419        "objectVal": {
  2420          "additionalProperties": {
  2421            "type": "string"
  2422          },
  2423          "description": "Value of the result if type is object.",
  2424          "type": "object"
  2425        },
  2426        "stringVal": {
  2427          "description": "Value of the result if type is string.",
  2428          "type": "string"
  2429        },
  2430        "type": {
  2431          "description": "Output only. The type of data that the result holds.",
  2432          "enum": [
  2433            "TYPE_UNSPECIFIED",
  2434            "STRING",
  2435            "ARRAY",
  2436            "OBJECT"
  2437          ],
  2438          "enumDescriptions": [
  2439            "Default enum type; should not be used.",
  2440            "Default",
  2441            "Array type",
  2442            "Object type"
  2443          ],
  2444          "readOnly": true,
  2445          "type": "string"
  2446        }
  2447      },
  2448      "type": "object"
  2449    },
  2450    "RunWorkflowCustomOperationMetadata": {
  2451      "description": "Represents the custom metadata of the RunWorkflow long-running operation.",
  2452      "id": "RunWorkflowCustomOperationMetadata",
  2453      "properties": {
  2454        "apiVersion": {
  2455          "description": "Output only. API version used to start the operation.",
  2456          "readOnly": true,
  2457          "type": "string"
  2458        },
  2459        "createTime": {
  2460          "description": "Output only. The time the operation was created.",
  2461          "format": "google-datetime",
  2462          "readOnly": true,
  2463          "type": "string"
  2464        },
  2465        "endTime": {
  2466          "description": "Output only. The time the operation finished running.",
  2467          "format": "google-datetime",
  2468          "readOnly": true,
  2469          "type": "string"
  2470        },
  2471        "pipelineRunId": {
  2472          "description": "Output only. ID of the pipeline run created by RunWorkflow.",
  2473          "readOnly": true,
  2474          "type": "string"
  2475        },
  2476        "requestedCancellation": {
  2477          "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`.",
  2478          "readOnly": true,
  2479          "type": "boolean"
  2480        },
  2481        "target": {
  2482          "description": "Output only. Server-defined resource path for the target of the operation.",
  2483          "readOnly": true,
  2484          "type": "string"
  2485        },
  2486        "verb": {
  2487          "description": "Output only. Name of the verb executed by the operation.",
  2488          "readOnly": true,
  2489          "type": "string"
  2490        }
  2491      },
  2492      "type": "object"
  2493    },
  2494    "SecretVolumeSource": {
  2495      "description": "Secret Volume Source.",
  2496      "id": "SecretVolumeSource",
  2497      "properties": {
  2498        "secretName": {
  2499          "description": "Name of the secret referenced by the WorkspaceBinding.",
  2500          "type": "string"
  2501        },
  2502        "secretVersion": {
  2503          "description": "Output only. Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*",
  2504          "readOnly": true,
  2505          "type": "string"
  2506        }
  2507      },
  2508      "type": "object"
  2509    },
  2510    "Security": {
  2511      "description": "Security configuration.",
  2512      "id": "Security",
  2513      "properties": {
  2514        "privilegeMode": {
  2515          "description": "Optional. Privilege mode.",
  2516          "enum": [
  2517            "PRIVILEGE_MODE_UNSPECIFIED",
  2518            "PRIVILEGED",
  2519            "UNPRIVILEGED"
  2520          ],
  2521          "enumDescriptions": [
  2522            "Default to PRIVILEGED.",
  2523            "Privileged mode.",
  2524            "Unprivileged mode."
  2525          ],
  2526          "type": "string"
  2527        },
  2528        "serviceAccount": {
  2529          "description": "IAM service account whose credentials will be used at runtime.",
  2530          "type": "string"
  2531        }
  2532      },
  2533      "type": "object"
  2534    },
  2535    "SecurityContext": {
  2536      "description": "Security options the container should be run with.",
  2537      "id": "SecurityContext",
  2538      "properties": {
  2539        "allowPrivilegeEscalation": {
  2540          "description": "Optional. AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. +optional",
  2541          "type": "boolean"
  2542        },
  2543        "capabilities": {
  2544          "$ref": "Capabilities",
  2545          "description": "Optional. Adds and removes POSIX capabilities from running containers."
  2546        },
  2547        "privileged": {
  2548          "description": "Run container in privileged mode.",
  2549          "type": "boolean"
  2550        },
  2551        "runAsGroup": {
  2552          "description": "Optional. The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. +optional",
  2553          "format": "int64",
  2554          "type": "string"
  2555        },
  2556        "runAsNonRoot": {
  2557          "description": "Optional. Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional",
  2558          "type": "boolean"
  2559        },
  2560        "runAsUser": {
  2561          "description": "Optional. The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. +optional",
  2562          "format": "int64",
  2563          "type": "string"
  2564        }
  2565      },
  2566      "type": "object"
  2567    },
  2568    "SetIamPolicyRequest": {
  2569      "description": "Request message for `SetIamPolicy` method.",
  2570      "id": "SetIamPolicyRequest",
  2571      "properties": {
  2572        "policy": {
  2573          "$ref": "Policy",
  2574          "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."
  2575        },
  2576        "updateMask": {
  2577          "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\"`",
  2578          "format": "google-fieldmask",
  2579          "type": "string"
  2580        }
  2581      },
  2582      "type": "object"
  2583    },
  2584    "Sidecar": {
  2585      "description": "Sidecars run alongside the Task's step containers.",
  2586      "id": "Sidecar",
  2587      "properties": {
  2588        "args": {
  2589          "description": "Arguments to the entrypoint.",
  2590          "items": {
  2591            "type": "string"
  2592          },
  2593          "type": "array"
  2594        },
  2595        "command": {
  2596          "description": "Entrypoint array.",
  2597          "items": {
  2598            "type": "string"
  2599          },
  2600          "type": "array"
  2601        },
  2602        "env": {
  2603          "description": "List of environment variables to set in the container.",
  2604          "items": {
  2605            "$ref": "EnvVar"
  2606          },
  2607          "type": "array"
  2608        },
  2609        "image": {
  2610          "description": "Docker image name.",
  2611          "type": "string"
  2612        },
  2613        "name": {
  2614          "description": "Name of the Sidecar.",
  2615          "type": "string"
  2616        },
  2617        "readinessProbe": {
  2618          "$ref": "Probe",
  2619          "description": "Optional. Periodic probe of Sidecar service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional"
  2620        },
  2621        "script": {
  2622          "description": "The contents of an executable file to execute.",
  2623          "type": "string"
  2624        },
  2625        "securityContext": {
  2626          "$ref": "SecurityContext",
  2627          "description": "Optional. Security options the container should be run with."
  2628        },
  2629        "volumeMounts": {
  2630          "description": "Pod volumes to mount into the container's filesystem.",
  2631          "items": {
  2632            "$ref": "VolumeMount"
  2633          },
  2634          "type": "array"
  2635        },
  2636        "workingDir": {
  2637          "description": "Container's working directory.",
  2638          "type": "string"
  2639        }
  2640      },
  2641      "type": "object"
  2642    },
  2643    "SkippedTask": {
  2644      "description": "SkippedTask is used to describe the Tasks that were skipped due to their When Expressions evaluating to False.",
  2645      "id": "SkippedTask",
  2646      "properties": {
  2647        "name": {
  2648          "description": "Name is the Pipeline Task name",
  2649          "type": "string"
  2650        },
  2651        "reason": {
  2652          "description": "Output only. Reason is the cause of the PipelineTask being skipped.",
  2653          "readOnly": true,
  2654          "type": "string"
  2655        },
  2656        "whenExpressions": {
  2657          "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask",
  2658          "items": {
  2659            "$ref": "WhenExpression"
  2660          },
  2661          "type": "array"
  2662        }
  2663      },
  2664      "type": "object"
  2665    },
  2666    "Status": {
  2667      "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).",
  2668      "id": "Status",
  2669      "properties": {
  2670        "code": {
  2671          "description": "The status code, which should be an enum value of google.rpc.Code.",
  2672          "format": "int32",
  2673          "type": "integer"
  2674        },
  2675        "details": {
  2676          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
  2677          "items": {
  2678            "additionalProperties": {
  2679              "description": "Properties of the object. Contains field @type with type URL.",
  2680              "type": "any"
  2681            },
  2682            "type": "object"
  2683          },
  2684          "type": "array"
  2685        },
  2686        "message": {
  2687          "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.",
  2688          "type": "string"
  2689        }
  2690      },
  2691      "type": "object"
  2692    },
  2693    "Step": {
  2694      "description": "Step embeds the Container type, which allows it to include fields not provided by Container.",
  2695      "id": "Step",
  2696      "properties": {
  2697        "args": {
  2698          "description": "Arguments to the entrypoint.",
  2699          "items": {
  2700            "type": "string"
  2701          },
  2702          "type": "array"
  2703        },
  2704        "command": {
  2705          "description": "Entrypoint array.",
  2706          "items": {
  2707            "type": "string"
  2708          },
  2709          "type": "array"
  2710        },
  2711        "env": {
  2712          "description": "List of environment variables to set in the container.",
  2713          "items": {
  2714            "$ref": "EnvVar"
  2715          },
  2716          "type": "array"
  2717        },
  2718        "image": {
  2719          "description": "Docker image name.",
  2720          "type": "string"
  2721        },
  2722        "name": {
  2723          "description": "Name of the container specified as a DNS_LABEL.",
  2724          "type": "string"
  2725        },
  2726        "params": {
  2727          "description": "Optional. Optional parameters passed to the StepAction.",
  2728          "items": {
  2729            "$ref": "Param"
  2730          },
  2731          "type": "array"
  2732        },
  2733        "ref": {
  2734          "$ref": "StepRef",
  2735          "description": "Optional. Optional reference to a remote StepAction."
  2736        },
  2737        "script": {
  2738          "description": "The contents of an executable file to execute.",
  2739          "type": "string"
  2740        },
  2741        "securityContext": {
  2742          "$ref": "SecurityContext",
  2743          "description": "Optional. SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional"
  2744        },
  2745        "timeout": {
  2746          "description": "Time after which the Step times out. Defaults to never.",
  2747          "format": "google-duration",
  2748          "type": "string"
  2749        },
  2750        "volumeMounts": {
  2751          "description": "Pod volumes to mount into the container's filesystem.",
  2752          "items": {
  2753            "$ref": "VolumeMount"
  2754          },
  2755          "type": "array"
  2756        },
  2757        "workingDir": {
  2758          "description": "Container's working directory.",
  2759          "type": "string"
  2760        }
  2761      },
  2762      "type": "object"
  2763    },
  2764    "StepRef": {
  2765      "description": "A reference to a remote Step, i.e. a StepAction.",
  2766      "id": "StepRef",
  2767      "properties": {
  2768        "name": {
  2769          "description": "Optional. Name of the step.",
  2770          "type": "string"
  2771        },
  2772        "params": {
  2773          "description": "Optional. Parameters used to control the resolution.",
  2774          "items": {
  2775            "$ref": "Param"
  2776          },
  2777          "type": "array"
  2778        },
  2779        "resolver": {
  2780          "description": "Optional. Type of the resolver.",
  2781          "enum": [
  2782            "RESOLVER_NAME_UNSPECIFIED",
  2783            "BUNDLES",
  2784            "GCB_REPO",
  2785            "GIT",
  2786            "DEVELOPER_CONNECT"
  2787          ],
  2788          "enumDescriptions": [
  2789            "Default enum type; should not be used.",
  2790            "Bundles resolver. https://tekton.dev/docs/pipelines/bundle-resolver/",
  2791            "GCB repo resolver.",
  2792            "Simple Git resolver. https://tekton.dev/docs/pipelines/git-resolver/",
  2793            "Developer Connect resolver."
  2794          ],
  2795          "type": "string"
  2796        }
  2797      },
  2798      "type": "object"
  2799    },
  2800    "StepTemplate": {
  2801      "description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.",
  2802      "id": "StepTemplate",
  2803      "properties": {
  2804        "env": {
  2805          "description": "Optional. List of environment variables to set in the Step. Cannot be updated.",
  2806          "items": {
  2807            "$ref": "EnvVar"
  2808          },
  2809          "type": "array"
  2810        },
  2811        "volumeMounts": {
  2812          "description": "Optional. Pod volumes to mount into the container's filesystem.",
  2813          "items": {
  2814            "$ref": "VolumeMount"
  2815          },
  2816          "type": "array"
  2817        }
  2818      },
  2819      "type": "object"
  2820    },
  2821    "TaskRef": {
  2822      "description": "TaskRef can be used to refer to a specific instance of a task. PipelineRef can be used to refer to a specific instance of a Pipeline.",
  2823      "id": "TaskRef",
  2824      "properties": {
  2825        "name": {
  2826          "deprecated": true,
  2827          "description": "Name of the task.",
  2828          "type": "string"
  2829        },
  2830        "params": {
  2831          "description": "Params contains the parameters used to identify the referenced Tekton resource. Example entries might include \"repo\" or \"path\" but the set of params ultimately depends on the chosen resolver.",
  2832          "items": {
  2833            "$ref": "Param"
  2834          },
  2835          "type": "array"
  2836        },
  2837        "resolver": {
  2838          "description": "Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource.",
  2839          "enum": [
  2840            "RESOLVER_NAME_UNSPECIFIED",
  2841            "BUNDLES",
  2842            "GCB_REPO",
  2843            "GIT",
  2844            "DEVELOPER_CONNECT"
  2845          ],
  2846          "enumDescriptions": [
  2847            "Default enum type; should not be used.",
  2848            "Bundles resolver. https://tekton.dev/docs/pipelines/bundle-resolver/",
  2849            "GCB repo resolver.",
  2850            "Simple Git resolver. https://tekton.dev/docs/pipelines/git-resolver/",
  2851            "Developer Connect resolver."
  2852          ],
  2853          "type": "string"
  2854        }
  2855      },
  2856      "type": "object"
  2857    },
  2858    "TaskResult": {
  2859      "description": "TaskResult is used to describe the results of a task.",
  2860      "id": "TaskResult",
  2861      "properties": {
  2862        "description": {
  2863          "description": "Description of the result.",
  2864          "type": "string"
  2865        },
  2866        "name": {
  2867          "description": "Name of the result.",
  2868          "type": "string"
  2869        },
  2870        "properties": {
  2871          "additionalProperties": {
  2872            "$ref": "PropertySpec"
  2873          },
  2874          "description": "When type is OBJECT, this map holds the names of fields inside that object along with the type of data each field holds.",
  2875          "type": "object"
  2876        },
  2877        "type": {
  2878          "description": "The type of data that the result holds.",
  2879          "enum": [
  2880            "TYPE_UNSPECIFIED",
  2881            "STRING",
  2882            "ARRAY",
  2883            "OBJECT"
  2884          ],
  2885          "enumDescriptions": [
  2886            "Default enum type; should not be used.",
  2887            "Default",
  2888            "Array type",
  2889            "Object type"
  2890          ],
  2891          "type": "string"
  2892        },
  2893        "value": {
  2894          "$ref": "ParamValue",
  2895          "description": "Optional. Optionally used to initialize a Task's result with a Step's result."
  2896        }
  2897      },
  2898      "type": "object"
  2899    },
  2900    "TaskSpec": {
  2901      "description": "TaskSpec contains the Spec to instantiate a TaskRun.",
  2902      "id": "TaskSpec",
  2903      "properties": {
  2904        "description": {
  2905          "description": "Description of the task.",
  2906          "type": "string"
  2907        },
  2908        "managedSidecars": {
  2909          "description": "Sidecars that run alongside the Task’s step containers that should be added to this Task.",
  2910          "items": {
  2911            "enum": [
  2912              "MANAGED_SIDECAR_UNSPECIFIED",
  2913              "PRIVILEGED_DOCKER_DAEMON"
  2914            ],
  2915            "enumDescriptions": [
  2916              "Default enum type; should not be used.",
  2917              "Sidecar for a privileged docker daemon."
  2918            ],
  2919            "type": "string"
  2920          },
  2921          "type": "array"
  2922        },
  2923        "params": {
  2924          "description": "List of parameters.",
  2925          "items": {
  2926            "$ref": "ParamSpec"
  2927          },
  2928          "type": "array"
  2929        },
  2930        "results": {
  2931          "description": "Values that this Task can output.",
  2932          "items": {
  2933            "$ref": "TaskResult"
  2934          },
  2935          "type": "array"
  2936        },
  2937        "sidecars": {
  2938          "description": "Sidecars that run alongside the Task's step containers.",
  2939          "items": {
  2940            "$ref": "Sidecar"
  2941          },
  2942          "type": "array"
  2943        },
  2944        "stepTemplate": {
  2945          "$ref": "StepTemplate",
  2946          "description": "Optional. StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container."
  2947        },
  2948        "steps": {
  2949          "description": "Steps of the task.",
  2950          "items": {
  2951            "$ref": "Step"
  2952          },
  2953          "type": "array"
  2954        },
  2955        "volumes": {
  2956          "description": "A collection of volumes that are available to mount into steps.",
  2957          "items": {
  2958            "$ref": "VolumeSource"
  2959          },
  2960          "type": "array"
  2961        },
  2962        "workspaces": {
  2963          "description": "The volumes that this Task requires.",
  2964          "items": {
  2965            "$ref": "WorkspaceDeclaration"
  2966          },
  2967          "type": "array"
  2968        }
  2969      },
  2970      "type": "object"
  2971    },
  2972    "TestIamPermissionsRequest": {
  2973      "description": "Request message for `TestIamPermissions` method.",
  2974      "id": "TestIamPermissionsRequest",
  2975      "properties": {
  2976        "permissions": {
  2977          "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).",
  2978          "items": {
  2979            "type": "string"
  2980          },
  2981          "type": "array"
  2982        }
  2983      },
  2984      "type": "object"
  2985    },
  2986    "TestIamPermissionsResponse": {
  2987      "description": "Response message for `TestIamPermissions` method.",
  2988      "id": "TestIamPermissionsResponse",
  2989      "properties": {
  2990        "permissions": {
  2991          "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
  2992          "items": {
  2993            "type": "string"
  2994          },
  2995          "type": "array"
  2996        }
  2997      },
  2998      "type": "object"
  2999    },
  3000    "TimeoutFields": {
  3001      "description": "TimeoutFields allows granular specification of pipeline, task, and finally timeouts",
  3002      "id": "TimeoutFields",
  3003      "properties": {
  3004        "finally": {
  3005          "description": "Finally sets the maximum allowed duration of this pipeline's finally",
  3006          "format": "google-duration",
  3007          "type": "string"
  3008        },
  3009        "pipeline": {
  3010          "description": "Pipeline sets the maximum allowed duration for execution of the entire pipeline. The sum of individual timeouts for tasks and finally must not exceed this value.",
  3011          "format": "google-duration",
  3012          "type": "string"
  3013        },
  3014        "tasks": {
  3015          "description": "Tasks sets the maximum allowed duration of this pipeline's tasks",
  3016          "format": "google-duration",
  3017          "type": "string"
  3018        }
  3019      },
  3020      "type": "object"
  3021    },
  3022    "UserCredential": {
  3023      "description": "Represents a personal access token that authorized the Connection, and associated metadata.",
  3024      "id": "UserCredential",
  3025      "properties": {
  3026        "userTokenSecretVersion": {
  3027          "description": "Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.",
  3028          "type": "string"
  3029        },
  3030        "username": {
  3031          "description": "Output only. The username associated to this token.",
  3032          "readOnly": true,
  3033          "type": "string"
  3034        }
  3035      },
  3036      "type": "object"
  3037    },
  3038    "VolumeMount": {
  3039      "description": "Pod volumes to mount into the container's filesystem.",
  3040      "id": "VolumeMount",
  3041      "properties": {
  3042        "mountPath": {
  3043          "description": "Path within the container at which the volume should be mounted. Must not contain ':'.",
  3044          "type": "string"
  3045        },
  3046        "name": {
  3047          "description": "Name of the volume.",
  3048          "type": "string"
  3049        },
  3050        "readOnly": {
  3051          "description": "Mounted read-only if true, read-write otherwise (false or unspecified).",
  3052          "type": "boolean"
  3053        },
  3054        "subPath": {
  3055          "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
  3056          "type": "string"
  3057        },
  3058        "subPathExpr": {
  3059          "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root).",
  3060          "type": "string"
  3061        }
  3062      },
  3063      "type": "object"
  3064    },
  3065    "VolumeSource": {
  3066      "description": "Volumes available to mount.",
  3067      "id": "VolumeSource",
  3068      "properties": {
  3069        "emptyDir": {
  3070          "$ref": "EmptyDirVolumeSource",
  3071          "description": "A temporary directory that shares a pod's lifetime."
  3072        },
  3073        "name": {
  3074          "description": "Name of the Volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
  3075          "type": "string"
  3076        }
  3077      },
  3078      "type": "object"
  3079    },
  3080    "WhenExpression": {
  3081      "description": "Conditions that need to be true for the task to run.",
  3082      "id": "WhenExpression",
  3083      "properties": {
  3084        "expressionOperator": {
  3085          "description": "Operator that represents an Input's relationship to the values",
  3086          "enum": [
  3087            "EXPRESSION_OPERATOR_UNSPECIFIED",
  3088            "IN",
  3089            "NOT_IN"
  3090          ],
  3091          "enumDescriptions": [
  3092            "Default enum type; should not be used.",
  3093            "Input is in values.",
  3094            "Input is not in values."
  3095          ],
  3096          "type": "string"
  3097        },
  3098        "input": {
  3099          "description": "Input is the string for guard checking which can be a static input or an output from a parent Task.",
  3100          "type": "string"
  3101        },
  3102        "values": {
  3103          "description": "Values is an array of strings, which is compared against the input, for guard checking.",
  3104          "items": {
  3105            "type": "string"
  3106          },
  3107          "type": "array"
  3108        }
  3109      },
  3110      "type": "object"
  3111    },
  3112    "Worker": {
  3113      "description": "Configuration for the worker.",
  3114      "id": "Worker",
  3115      "properties": {
  3116        "machineType": {
  3117          "description": "Optional. Machine type of a worker, default is \"e2-standard-2\".",
  3118          "type": "string"
  3119        }
  3120      },
  3121      "type": "object"
  3122    },
  3123    "WorkspaceBinding": {
  3124      "description": "WorkspaceBinding maps a workspace to a Volume. PipelineRef can be used to refer to a specific instance of a Pipeline.",
  3125      "id": "WorkspaceBinding",
  3126      "properties": {
  3127        "name": {
  3128          "description": "Name of the workspace.",
  3129          "type": "string"
  3130        },
  3131        "secret": {
  3132          "$ref": "SecretVolumeSource",
  3133          "description": "Secret Volume Source."
  3134        },
  3135        "subPath": {
  3136          "description": "Optional. SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory). +optional",
  3137          "type": "string"
  3138        }
  3139      },
  3140      "type": "object"
  3141    },
  3142    "WorkspaceDeclaration": {
  3143      "description": "WorkspaceDeclaration is a declaration of a volume that a Task requires.",
  3144      "id": "WorkspaceDeclaration",
  3145      "properties": {
  3146        "description": {
  3147          "description": "Description is a human readable description of this volume.",
  3148          "type": "string"
  3149        },
  3150        "mountPath": {
  3151          "description": "MountPath overrides the directory that the volume will be made available at.",
  3152          "type": "string"
  3153        },
  3154        "name": {
  3155          "description": "Name is the name by which you can bind the volume at runtime.",
  3156          "type": "string"
  3157        },
  3158        "optional": {
  3159          "description": "Optional. Optional marks a Workspace as not being required in TaskRuns. By default this field is false and so declared workspaces are required.",
  3160          "type": "boolean"
  3161        },
  3162        "readOnly": {
  3163          "description": "ReadOnly dictates whether a mounted volume is writable.",
  3164          "type": "boolean"
  3165        }
  3166      },
  3167      "type": "object"
  3168    },
  3169    "WorkspacePipelineTaskBinding": {
  3170      "description": "WorkspacePipelineTaskBinding maps workspaces from the PipelineSpec to the workspaces declared in the Task.",
  3171      "id": "WorkspacePipelineTaskBinding",
  3172      "properties": {
  3173        "name": {
  3174          "description": "Name of the workspace as declared by the task.",
  3175          "type": "string"
  3176        },
  3177        "subPath": {
  3178          "description": "Optional. SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory). +optional",
  3179          "type": "string"
  3180        },
  3181        "workspace": {
  3182          "description": "Name of the workspace declared by the pipeline.",
  3183          "type": "string"
  3184        }
  3185      },
  3186      "type": "object"
  3187    }
  3188  },
  3189  "servicePath": "",
  3190  "title": "Cloud Build API",
  3191  "version": "v2",
  3192  "version_module": true
  3193}

View as plain text