Package @google-cloud/cloudbuild (3.1.2)


Represents a CustomHttpPattern.

Represents a Http.

Represents a HttpBody.

Represents a HttpRule.

Represents a ResourceDescriptor.

Represents a ResourceReference.

Represents an ApprovalConfig.

Represents an ApprovalResult.

Represents an ApproveBuildRequest.

Represents an ArtifactResult.

Represents an Artifacts.

Represents an ArtifactObjects.

Represents a Build.

Represents a FailureInfo.

Represents a Warning.

Represents a BuildApproval.

Represents a BuildOperationMetadata.

Represents a BuildOptions.

Represents a PoolOption.

Represents a BuildStep.

Represents a BuildTrigger.

Represents a BuiltImage.

Represents a CancelBuildRequest.

Represents a CloudBuild

Represents a CreateBuildRequest.

Represents a CreateBuildTriggerRequest.

Represents a CreateWorkerPoolOperationMetadata.

Represents a CreateWorkerPoolRequest.

Represents a DeleteBuildTriggerRequest.

Represents a DeleteWorkerPoolOperationMetadata.

Represents a DeleteWorkerPoolRequest.

Represents a FileHashes.

Represents a GetBuildRequest.

Represents a GetBuildTriggerRequest.

Represents a GetWorkerPoolRequest.

Represents a GitHubEventsConfig.

Represents a Hash.

Represents an InlineSecret.

Represents a ListBuildsRequest.

Represents a ListBuildsResponse.

Represents a ListBuildTriggersRequest.

Represents a ListBuildTriggersResponse.

Represents a ListWorkerPoolsRequest.

Represents a ListWorkerPoolsResponse.

Represents a PrivatePoolV1Config.

Represents a NetworkConfig.

Represents a WorkerConfig.

Represents a PubsubConfig.

Represents a PullRequestFilter.

Represents a PushFilter.

Represents a ReceiveTriggerWebhookRequest.

Represents a ReceiveTriggerWebhookResponse.

Represents a RepoSource.

Represents a Results.

Represents a RetryBuildRequest.

Represents a RunBuildTriggerRequest.

Represents a Secret.

Represents a SecretManagerSecret.

Represents a Secrets.

Represents a Source.

Represents a SourceProvenance.

Represents a StorageSource.

Represents a StorageSourceManifest.

Represents a TimeSpan.

Represents an UpdateBuildTriggerRequest.

Represents an UpdateWorkerPoolOperationMetadata.

Represents an UpdateWorkerPoolRequest.

Represents a Volume.

Represents a WebhookConfig.

Represents a WorkerPool.

Represents a CancelOperationRequest.

Represents a DeleteOperationRequest.

Represents a GetOperationRequest.

Represents a ListOperationsRequest.

Represents a ListOperationsResponse.

Represents an Operation.

Represents an OperationInfo.

Represents an Operations

Represents a WaitOperationRequest.

Represents an Any.

Represents a DescriptorProto.

Represents an ExtensionRange.

Represents a ReservedRange.

Represents a Duration.

Represents an Empty.

Represents an EnumDescriptorProto.

Represents an EnumReservedRange.

Represents an EnumOptions.

Represents an EnumValueDescriptorProto.

Represents an EnumValueOptions.

Represents an ExtensionRangeOptions.

Represents a FieldDescriptorProto.

Represents a FieldMask.

Represents a FieldOptions.

Represents a FileDescriptorProto.

Represents a FileDescriptorSet.

Represents a FileOptions.

Represents a GeneratedCodeInfo.

Represents an Annotation.

Represents a MessageOptions.

Represents a MethodDescriptorProto.

Represents a MethodOptions.

Represents an OneofDescriptorProto.

Represents an OneofOptions.

Represents a ServiceDescriptorProto.

Represents a ServiceOptions.

Represents a SourceCodeInfo.

Represents a Location.

Represents a Timestamp.

Represents an UninterpretedOption.

Represents a NamePart.

Represents a Status.


Creates and manages builds on Google Cloud Platform.

The main concept used by this API is a Build, which describes the location of the source to build, how to build the source, and where to store the built artifacts, if any.

A user can list previously-requested builds or get builds by their ID to determine the status of the build. v1


Properties of a CustomHttpPattern.

Properties of a Http.

Properties of a HttpBody.

Properties of a HttpRule.

Properties of a ResourceDescriptor.

Properties of a ResourceReference.

Properties of an ArtifactObjects.

Properties of a FailureInfo.

Properties of a Warning.

Properties of a PoolOption.

Properties of an ApprovalConfig.

Properties of an ApprovalResult.

Properties of an ApproveBuildRequest.

Properties of an ArtifactResult.

Properties of an Artifacts.

Properties of a Build.

Properties of a BuildApproval.

Properties of a BuildOperationMetadata.

Properties of a BuildOptions.

Properties of a BuildStep.

Properties of a BuildTrigger.

Properties of a BuiltImage.

Properties of a CancelBuildRequest.

Properties of a CreateBuildRequest.

Properties of a CreateBuildTriggerRequest.

Properties of a CreateWorkerPoolOperationMetadata.

Properties of a CreateWorkerPoolRequest.

Properties of a DeleteBuildTriggerRequest.

Properties of a DeleteWorkerPoolOperationMetadata.

Properties of a DeleteWorkerPoolRequest.

Properties of a FileHashes.

Properties of a GetBuildRequest.

Properties of a GetBuildTriggerRequest.

Properties of a GetWorkerPoolRequest.

Properties of a GitHubEventsConfig.

Properties of a Hash.

Properties of an InlineSecret.

Properties of a ListBuildsRequest.

Properties of a ListBuildsResponse.

Properties of a ListBuildTriggersRequest.

Properties of a ListBuildTriggersResponse.

Properties of a ListWorkerPoolsRequest.

Properties of a ListWorkerPoolsResponse.

Properties of a PrivatePoolV1Config.

Properties of a PubsubConfig.

Properties of a PullRequestFilter.

Properties of a PushFilter.

Properties of a ReceiveTriggerWebhookRequest.

Properties of a ReceiveTriggerWebhookResponse.

Properties of a RepoSource.

Properties of a Results.

Properties of a RetryBuildRequest.

Properties of a RunBuildTriggerRequest.

Properties of a Secret.

Properties of a SecretManagerSecret.

Properties of a Secrets.

Properties of a Source.

Properties of a SourceProvenance.

Properties of a StorageSource.

Properties of a StorageSourceManifest.

Properties of a TimeSpan.

Properties of an UpdateBuildTriggerRequest.

Properties of an UpdateWorkerPoolOperationMetadata.

Properties of an UpdateWorkerPoolRequest.

Properties of a Volume.

Properties of a WebhookConfig.

Properties of a WorkerPool.

Properties of a NetworkConfig.

Properties of a WorkerConfig.

Properties of a CancelOperationRequest.

Properties of a DeleteOperationRequest.

Properties of a GetOperationRequest.

Properties of a ListOperationsRequest.

Properties of a ListOperationsResponse.

Properties of an Operation.

Properties of an OperationInfo.

Properties of a WaitOperationRequest.

Properties of an ExtensionRange.

Properties of a ReservedRange.

Properties of an EnumReservedRange.

Properties of an Annotation.

Properties of an Any.

Properties of a DescriptorProto.

Properties of a Duration.

Properties of an Empty.

Properties of an EnumDescriptorProto.

Properties of an EnumOptions.

Properties of an EnumValueDescriptorProto.

Properties of an EnumValueOptions.

Properties of an ExtensionRangeOptions.

Properties of a FieldDescriptorProto.

Properties of a FieldMask.

Properties of a FieldOptions.

Properties of a FileDescriptorProto.

Properties of a FileDescriptorSet.

Properties of a FileOptions.

Properties of a GeneratedCodeInfo.

Properties of a MessageOptions.

Properties of a MethodDescriptorProto.

Properties of a MethodOptions.

Properties of an OneofDescriptorProto.

Properties of an OneofOptions.

Properties of a ServiceDescriptorProto.

Properties of a ServiceOptions.

Properties of a SourceCodeInfo.

Properties of a Timestamp.

Properties of an UninterpretedOption.

Properties of a Location.

Properties of a NamePart.

Properties of a Status.


FieldBehavior enum.

History enum.

Style enum.

Decision enum.

FailureType enum.

Status enum.

Priority enum.

State enum.

LoggingMode enum.

LogStreamingOption enum.

MachineType enum.

SubstitutionOption enum.

VerifyOption enum.

HashType enum.

EgressOption enum.

State enum.

CommentControl enum.

State enum.

State enum.

Label enum.

Type enum.

CType enum.

JSType enum.

OptimizeMode enum.

Semantic enum.

IdempotencyLevel enum.



_default: {
    v1: typeof v1;
    CloudBuildClient: typeof v1.CloudBuildClient;


CloudBuildClient: typeof v1.CloudBuildClient

Type Aliases


declare type CloudBuildClient = v1.CloudBuildClient;

type ApproveBuildCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type CancelBuildCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.Build) => void;

Callback as used by .

type CreateBuildCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type CreateBuildTriggerCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.BuildTrigger) => void;

Callback as used by .

type CreateWorkerPoolCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type DeleteBuildTriggerCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;

Callback as used by .

type DeleteWorkerPoolCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type GetBuildCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.Build) => void;

Callback as used by .

type GetBuildTriggerCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.BuildTrigger) => void;

Callback as used by .

type GetWorkerPoolCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.WorkerPool) => void;

Callback as used by .

type ListBuildsCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.ListBuildsResponse) => void;

Callback as used by .

type ListBuildTriggersCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.ListBuildTriggersResponse) => void;

Callback as used by .

type ListWorkerPoolsCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.ListWorkerPoolsResponse) => void;

Callback as used by .

type ReceiveTriggerWebhookCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.ReceiveTriggerWebhookResponse) => void;

Callback as used by .

type RetryBuildCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type RunBuildTriggerCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type UpdateBuildTriggerCallback = (error: (Error|null), response?: google.devtools.cloudbuild.v1.BuildTrigger) => void;

Callback as used by .

type UpdateWorkerPoolCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;

Callback as used by .

type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;

Callback as used by .

type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .

type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;

Callback as used by .

type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;

Callback as used by .