cloudbuild/v2 library
Cloud Build API - v2
Creates and manages builds on Google Cloud Platform.
For more information, see cloud.google.com/cloud-build/docs/
Create an instance of CloudBuildApi to access these resources:
Classes
- AuditConfig
- Specifies the audit configuration for a service.
- BatchCreateRepositoriesRequest
- Message for creating repositoritories in batch.
- Binding
-
Associates
members
, or principals, with arole
. - BitbucketCloudConfig
- Configuration for connections to Bitbucket Cloud.
- BitbucketDataCenterConfig
- Configuration for connections to Bitbucket Data Center.
- CloudBuildApi
- Creates and manages builds on Google Cloud Platform.
- Connection
- A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.
- CreateRepositoryRequest
- Message for creating a Repository.
- FetchLinkableRepositoriesResponse
- Response message for FetchLinkableRepositories.
- GitHubConfig
- Configuration for connections to github.com.
- GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
- Configuration for connections to an instance of GitHub Enterprise.
- GoogleDevtoolsCloudbuildV2GitLabConfig
- Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
- GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
- ServiceDirectoryConfig represents Service Directory configuration for a connection.
- ListConnectionsResponse
- Message for response to listing Connections.
- ListLocationsResponse
- The response message for Locations.ListLocations.
- ListRepositoriesResponse
- Message for response to listing Repositories.
- OAuthCredential
- Represents an OAuth token of the account that authorized the Connection, and associated metadata.
- Operation
- This resource represents a long-running operation that is the result of a network API call.
- Policy
- An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
- ProjectsLocationsConnectionsRepositoriesResource
- ProjectsLocationsConnectionsResource
- ProjectsLocationsOperationsResource
- ProjectsLocationsResource
- ProjectsResource
- Repository
- A repository associated to a parent connection.
- SetIamPolicyRequest
-
Request message for
SetIamPolicy
method. - UserCredential
- Represents a personal access token that authorized the Connection, and associated metadata.
Typedefs
- AuditLogConfig = $AuditLogConfig
- Provides the configuration for logging a type of permissions.
- CancelOperationRequest = $Empty
- The request message for Operations.CancelOperation.
- Empty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- Expr = $Expr
- Represents a textual expression in the Common Expression Language (CEL) syntax.
- FetchGitRefsResponse = $FetchGitRefsResponse
- Response for fetching git refs
- FetchReadTokenRequest = $Empty
- Message for fetching SCM read token.
- FetchReadTokenResponse = $TokenResponse00
- Message for responding to get read token.
- FetchReadWriteTokenRequest = $Empty
- Message for fetching SCM read/write token.
- FetchReadWriteTokenResponse = $TokenResponse00
- Message for responding to get read/write token.
- HttpBody = $HttpBody
- Message that represents an arbitrary HTTP body.
- InstallationState = $InstallationState
- Describes stage and necessary actions to be taken by the user to complete the installation.
- Location = $Location00
- A resource that represents a Google Cloud location.
- Status = $Status
-
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. - TestIamPermissionsRequest = $TestIamPermissionsRequest00
-
Request message for
TestIamPermissions
method. - TestIamPermissionsResponse = $PermissionsResponse
-
Response message for
TestIamPermissions
method.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.