1type: google.api.Service 2config_version: 3 3name: cloudbuild.googleapis.com 4title: Cloud Build API 5 6apis: 7- name: google.cloud.location.Locations 8- name: google.devtools.cloudbuild.v2.RepositoryManager 9- name: google.iam.v1.IAMPolicy 10- name: google.longrunning.Operations 11 12types: 13- name: google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse 14- name: google.devtools.cloudbuild.v2.OperationMetadata 15- name: google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata 16 17documentation: 18 summary: Creates and manages builds on Google Cloud Platform. 19 overview: |- 20 The Cloud Build API lets you to build an application or part of an 21 application from source code stored in Cloud Storage, Cloud Source 22 Repository, or GitHub, and package it into container images or artifacts. 23 The images are then stored in Container Registry and the artifacts are 24 stored in Cloud Storage. 25 rules: 26 - selector: google.iam.v1.IAMPolicy.GetIamPolicy 27 description: |- 28 Gets the access control policy for a resource. Returns an empty policy 29 if the resource exists and does not have a policy set. 30 31 - selector: google.iam.v1.IAMPolicy.SetIamPolicy 32 description: |- 33 Sets the access control policy on the specified resource. Replaces 34 any existing policy. 35 36 Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` 37 errors. 38 39 - selector: google.iam.v1.IAMPolicy.TestIamPermissions 40 description: |- 41 Returns permissions that a caller has on the specified resource. If the 42 resource does not exist, this will return an empty set of 43 permissions, not a `NOT_FOUND` error. 44 45 Note: This operation is designed to be used for building 46 permission-aware UIs and command-line tools, not for authorization 47 checking. This operation may "fail open" without warning. 48 49backend: 50 rules: 51 - selector: 'google.devtools.cloudbuild.v2.RepositoryManager.*' 52 deadline: 5.0 53 - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchGitRefs 54 deadline: 10.0 55 - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchLinkableRepositories 56 deadline: 10.0 57 - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadToken 58 deadline: 10.0 59 - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadWriteToken 60 deadline: 10.0 61 - selector: google.devtools.cloudbuild.v2.RepositoryManager.ProcessWebhook 62 deadline: 10.0 63 - selector: 'google.iam.v1.IAMPolicy.*' 64 deadline: 5.0 65 - selector: google.longrunning.Operations.CancelOperation 66 deadline: 5.0 67 - selector: google.longrunning.Operations.GetOperation 68 deadline: 5.0 69 70http: 71 rules: 72 - selector: google.iam.v1.IAMPolicy.GetIamPolicy 73 get: '/v2/{resource=projects/*/locations/*/connections/*}:getIamPolicy' 74 - selector: google.iam.v1.IAMPolicy.SetIamPolicy 75 post: '/v2/{resource=projects/*/locations/*/connections/*}:setIamPolicy' 76 body: '*' 77 - selector: google.iam.v1.IAMPolicy.TestIamPermissions 78 post: '/v2/{resource=projects/*/locations/*/connections/*}:testIamPermissions' 79 body: '*' 80 - selector: google.longrunning.Operations.CancelOperation 81 post: '/v2/{name=projects/*/locations/*/operations/*}:cancel' 82 body: '*' 83 - selector: google.longrunning.Operations.GetOperation 84 get: '/v2/{name=projects/*/locations/*/operations/*}' 85 86authentication: 87 rules: 88 - selector: 'google.devtools.cloudbuild.v2.RepositoryManager.*' 89 oauth: 90 canonical_scopes: |- 91 https://www.googleapis.com/auth/cloud-platform 92 - selector: 'google.iam.v1.IAMPolicy.*' 93 oauth: 94 canonical_scopes: |- 95 https://www.googleapis.com/auth/cloud-platform 96 - selector: google.longrunning.Operations.CancelOperation 97 oauth: 98 canonical_scopes: |- 99 https://www.googleapis.com/auth/cloud-platform 100 - selector: google.longrunning.Operations.GetOperation 101 oauth: 102 canonical_scopes: |- 103 https://www.googleapis.com/auth/cloud-platform 104