mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update all json files; make some fixes to make it work at all
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "See, edit, configure, and delete your Google Cloud Platform data"
|
||||
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -317,9 +317,60 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210329",
|
||||
"revision": "20220218",
|
||||
"rootUrl": "https://cloudbuild.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApprovalConfig": {
|
||||
"description": "ApprovalConfig describes configuration for manual approval of a build.",
|
||||
"id": "ApprovalConfig",
|
||||
"properties": {
|
||||
"approvalRequired": {
|
||||
"description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ApprovalResult": {
|
||||
"description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.",
|
||||
"id": "ApprovalResult",
|
||||
"properties": {
|
||||
"approvalTime": {
|
||||
"description": "Output only. The time when the approval decision was made.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"approverAccount": {
|
||||
"description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"description": "Optional. An optional comment for this manual approval result.",
|
||||
"type": "string"
|
||||
},
|
||||
"decision": {
|
||||
"description": "Required. The decision of this manual approval.",
|
||||
"enum": [
|
||||
"DECISION_UNSPECIFIED",
|
||||
"APPROVED",
|
||||
"REJECTED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default enum type. This should not be used.",
|
||||
"Build is approved.",
|
||||
"Build is rejected."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ArtifactObjects": {
|
||||
"description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.",
|
||||
"id": "ArtifactObjects",
|
||||
@@ -379,10 +430,91 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BatchCreateBitbucketServerConnectedRepositoriesResponse": {
|
||||
"description": "Response of BatchCreateBitbucketServerConnectedRepositories RPC method including all successfully connected Bitbucket Server repositories.",
|
||||
"id": "BatchCreateBitbucketServerConnectedRepositoriesResponse",
|
||||
"properties": {
|
||||
"bitbucketServerConnectedRepositories": {
|
||||
"description": "The connected Bitbucket Server repositories.",
|
||||
"items": {
|
||||
"$ref": "BitbucketServerConnectedRepository"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata": {
|
||||
"description": "Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.",
|
||||
"id": "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"config": {
|
||||
"description": "The name of the `BitbucketServerConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BitbucketServerConnectedRepository": {
|
||||
"description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.",
|
||||
"id": "BitbucketServerConnectedRepository",
|
||||
"properties": {
|
||||
"parent": {
|
||||
"description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"$ref": "BitbucketServerRepositoryId",
|
||||
"description": "The Bitbucket Server repositories to connect."
|
||||
},
|
||||
"status": {
|
||||
"$ref": "Status",
|
||||
"description": "Output only. The status of the repo connection request.",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BitbucketServerRepositoryId": {
|
||||
"description": "BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.",
|
||||
"id": "BitbucketServerRepositoryId",
|
||||
"properties": {
|
||||
"projectKey": {
|
||||
"description": "Required. Identifier for the project storing the repository.",
|
||||
"type": "string"
|
||||
},
|
||||
"repoSlug": {
|
||||
"description": "Required. Identifier for the repository.",
|
||||
"type": "string"
|
||||
},
|
||||
"webhookId": {
|
||||
"description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.",
|
||||
"format": "int32",
|
||||
"readOnly": true,
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Build": {
|
||||
"description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.",
|
||||
"description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.",
|
||||
"id": "Build",
|
||||
"properties": {
|
||||
"approval": {
|
||||
"$ref": "BuildApproval",
|
||||
"description": "Output only. Describes this build's approval configuration, status, and result.",
|
||||
"readOnly": true
|
||||
},
|
||||
"artifacts": {
|
||||
"$ref": "Artifacts",
|
||||
"description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps."
|
||||
@@ -402,6 +534,11 @@
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"failureInfo": {
|
||||
"$ref": "FailureInfo",
|
||||
"description": "Output only. Contains information about the build when status=FAILURE.",
|
||||
"readOnly": true
|
||||
},
|
||||
"finishTime": {
|
||||
"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.",
|
||||
"format": "google-datetime",
|
||||
@@ -461,7 +598,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. This field is in beta.",
|
||||
"description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ",
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
@@ -483,6 +620,7 @@
|
||||
"description": "Output only. Status of the build.",
|
||||
"enum": [
|
||||
"STATUS_UNKNOWN",
|
||||
"PENDING",
|
||||
"QUEUED",
|
||||
"WORKING",
|
||||
"SUCCESS",
|
||||
@@ -494,6 +632,7 @@
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Status of the build is unknown.",
|
||||
"Build has been created and is pending execution and queuing. It has not been queued.",
|
||||
"Build or step is queued; work has not yet begun.",
|
||||
"Build or step is being executed.",
|
||||
"Build or step finished successfully.",
|
||||
@@ -541,9 +680,53 @@
|
||||
"additionalProperties": {
|
||||
"$ref": "TimeSpan"
|
||||
},
|
||||
"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.",
|
||||
"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.",
|
||||
"readOnly": true,
|
||||
"type": "object"
|
||||
},
|
||||
"warnings": {
|
||||
"description": "Output only. Non-fatal problems encountered during the execution of the build.",
|
||||
"items": {
|
||||
"$ref": "Warning"
|
||||
},
|
||||
"readOnly": true,
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BuildApproval": {
|
||||
"description": "BuildApproval describes a build's approval configuration, state, and result.",
|
||||
"id": "BuildApproval",
|
||||
"properties": {
|
||||
"config": {
|
||||
"$ref": "ApprovalConfig",
|
||||
"description": "Output only. Configuration for manual approval of this build.",
|
||||
"readOnly": true
|
||||
},
|
||||
"result": {
|
||||
"$ref": "ApprovalResult",
|
||||
"description": "Output only. Result of manual approval for this Build.",
|
||||
"readOnly": true
|
||||
},
|
||||
"state": {
|
||||
"description": "Output only. The state of this build's approval.",
|
||||
"enum": [
|
||||
"STATE_UNSPECIFIED",
|
||||
"PENDING",
|
||||
"APPROVED",
|
||||
"REJECTED",
|
||||
"CANCELLED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default enum type. This should not be used.",
|
||||
"Build approval is pending.",
|
||||
"Build approval has been approved.",
|
||||
"Build approval has been rejected.",
|
||||
"Build was cancelled while it was still pending approval."
|
||||
],
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -605,10 +788,10 @@
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.",
|
||||
"Cloud Logging and Cloud Storage logging are enabled.",
|
||||
"Only Cloud Storage logging is enabled.",
|
||||
"Build logs are stored in Cloud Logging and Cloud Storage.",
|
||||
"Build logs are stored in Cloud Storage.",
|
||||
"This option is the same as CLOUD_LOGGING_ONLY.",
|
||||
"Only Cloud Logging is enabled. Note that logs for both the Cloud Console UI and Cloud SDK are based on Cloud Storage logs, so neither will provide logs if this option is chosen.",
|
||||
"Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).",
|
||||
"Turn off all logging. No build logs will be captured."
|
||||
],
|
||||
"type": "string"
|
||||
@@ -631,6 +814,10 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"pool": {
|
||||
"$ref": "PoolOption",
|
||||
"description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information."
|
||||
},
|
||||
"requestedVerifyOption": {
|
||||
"description": "Requested verifiability options.",
|
||||
"enum": [
|
||||
@@ -687,7 +874,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"workerPool": {
|
||||
"description": "Option to specify a `WorkerPool` for the build. Format: projects/{project}/locations/{location}/workerPools/{workerPool} This field is in beta and is available only to restricted users.",
|
||||
"description": "This field deprecated; please use `pool.name` instead.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -732,6 +919,10 @@
|
||||
"description": "Output only. Stores timing information for pulling this build step's builder image only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"script": {
|
||||
"description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.",
|
||||
"type": "string"
|
||||
},
|
||||
"secretEnv": {
|
||||
"description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.",
|
||||
"items": {
|
||||
@@ -743,6 +934,7 @@
|
||||
"description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.",
|
||||
"enum": [
|
||||
"STATUS_UNKNOWN",
|
||||
"PENDING",
|
||||
"QUEUED",
|
||||
"WORKING",
|
||||
"SUCCESS",
|
||||
@@ -754,6 +946,7 @@
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Status of the build is unknown.",
|
||||
"Build has been created and is pending execution and queuing. It has not been queued.",
|
||||
"Build or step is queued; work has not yet begun.",
|
||||
"Build or step is being executed.",
|
||||
"Build or step finished successfully.",
|
||||
@@ -819,12 +1012,213 @@
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateBitbucketServerConfigOperationMetadata": {
|
||||
"description": "Metadata for `CreateBitbucketServerConfig` operation.",
|
||||
"id": "CreateBitbucketServerConfigOperationMetadata",
|
||||
"properties": {
|
||||
"bitbucketServerConfig": {
|
||||
"description": "The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.",
|
||||
"type": "string"
|
||||
},
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateGitHubEnterpriseConfigOperationMetadata": {
|
||||
"description": "Metadata for `CreateGithubEnterpriseConfig` operation.",
|
||||
"id": "CreateGitHubEnterpriseConfigOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"githubEnterpriseConfig": {
|
||||
"description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateGitLabConfigOperationMetadata": {
|
||||
"description": "Metadata for `CreateGitLabConfig` operation.",
|
||||
"id": "CreateGitLabConfigOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"gitlabConfig": {
|
||||
"description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateWorkerPoolOperationMetadata": {
|
||||
"description": "Metadata for the `CreateWorkerPool` operation.",
|
||||
"id": "CreateWorkerPoolOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"workerPool": {
|
||||
"description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeleteBitbucketServerConfigOperationMetadata": {
|
||||
"description": "Metadata for `DeleteBitbucketServerConfig` operation.",
|
||||
"id": "DeleteBitbucketServerConfigOperationMetadata",
|
||||
"properties": {
|
||||
"bitbucketServerConfig": {
|
||||
"description": "The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.",
|
||||
"type": "string"
|
||||
},
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeleteGitHubEnterpriseConfigOperationMetadata": {
|
||||
"description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.",
|
||||
"id": "DeleteGitHubEnterpriseConfigOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"githubEnterpriseConfig": {
|
||||
"description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeleteGitLabConfigOperationMetadata": {
|
||||
"description": "Metadata for `DeleteGitLabConfig` operation.",
|
||||
"id": "DeleteGitLabConfigOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"gitlabConfig": {
|
||||
"description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeleteWorkerPoolOperationMetadata": {
|
||||
"description": "Metadata for the `DeleteWorkerPool` operation.",
|
||||
"id": "DeleteWorkerPoolOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"workerPool": {
|
||||
"description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Empty": {
|
||||
"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); } The JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"id": "Empty",
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"FailureInfo": {
|
||||
"description": "A fatal problem encountered during the execution of the build.",
|
||||
"id": "FailureInfo",
|
||||
"properties": {
|
||||
"detail": {
|
||||
"description": "Explains the failure issue in more detail using hard-coded text.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The name of the failure.",
|
||||
"enum": [
|
||||
"FAILURE_TYPE_UNSPECIFIED",
|
||||
"PUSH_FAILED",
|
||||
"PUSH_IMAGE_NOT_FOUND",
|
||||
"PUSH_NOT_AUTHORIZED",
|
||||
"LOGGING_FAILURE",
|
||||
"USER_BUILD_STEP",
|
||||
"FETCH_SOURCE_FAILED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Type unspecified",
|
||||
"Unable to push the image to the repository.",
|
||||
"Final image not found.",
|
||||
"Unauthorized push of the final image.",
|
||||
"Backend logging failures. Should retry.",
|
||||
"A build step has failed.",
|
||||
"The source fetching has failed."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"FileHashes": {
|
||||
"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.",
|
||||
"id": "FileHashes",
|
||||
@@ -839,6 +1233,50 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleDevtoolsCloudbuildV2OperationMetadata": {
|
||||
"description": "Represents the metadata of the long-running operation.",
|
||||
"id": "GoogleDevtoolsCloudbuildV2OperationMetadata",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"description": "Output only. API version used to start the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Output only. The time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Output only. The time the operation finished running.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"requestedCancellation": {
|
||||
"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`.",
|
||||
"readOnly": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusMessage": {
|
||||
"description": "Output only. Human-readable status of the operation, if any.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"description": "Output only. Server-defined resource path for the target of the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"verb": {
|
||||
"description": "Output only. Name of the verb executed by the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"HTTPDelivery": {
|
||||
"description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
|
||||
"id": "HTTPDelivery",
|
||||
@@ -1068,6 +1506,82 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OperationMetadata": {
|
||||
"description": "Represents the metadata of the long-running operation.",
|
||||
"id": "OperationMetadata",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"description": "Output only. API version used to start the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"cancelRequested": {
|
||||
"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`.",
|
||||
"readOnly": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Output only. The time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Output only. The time the operation finished running.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"statusDetail": {
|
||||
"description": "Output only. Human-readable status of the operation, if any.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"description": "Output only. Server-defined resource path for the target of the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"verb": {
|
||||
"description": "Output only. Name of the verb executed by the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PoolOption": {
|
||||
"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.",
|
||||
"id": "PoolOption",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ProcessAppManifestCallbackOperationMetadata": {
|
||||
"description": "Metadata for `ProcessAppManifestCallback` operation.",
|
||||
"id": "ProcessAppManifestCallbackOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"githubEnterpriseConfig": {
|
||||
"description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"RepoSource": {
|
||||
"description": "Location of the source in a Google Cloud Source Repository.",
|
||||
"id": "RepoSource",
|
||||
@@ -1152,6 +1666,50 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"RunWorkflowCustomOperationMetadata": {
|
||||
"description": "Represents the custom metadata of the RunWorkflow long-running operation.",
|
||||
"id": "RunWorkflowCustomOperationMetadata",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"description": "Output only. API version used to start the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Output only. The time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Output only. The time the operation finished running.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pipelineRunId": {
|
||||
"description": "Output only. ID of the pipeline run created by RunWorkflow.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"requestedCancellation": {
|
||||
"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`.",
|
||||
"readOnly": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"target": {
|
||||
"description": "Output only. Server-defined resource path for the target of the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"verb": {
|
||||
"description": "Output only. Name of the verb executed by the operation.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SMTPDelivery": {
|
||||
"description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
|
||||
"id": "SMTPDelivery",
|
||||
@@ -1266,7 +1824,7 @@
|
||||
},
|
||||
"storageSourceManifest": {
|
||||
"$ref": "StorageSourceManifest",
|
||||
"description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview."
|
||||
"description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1339,14 +1897,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"object": {
|
||||
"description": "Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.",
|
||||
"description": "Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"StorageSourceManifest": {
|
||||
"description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview.",
|
||||
"description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).",
|
||||
"id": "StorageSourceManifest",
|
||||
"properties": {
|
||||
"bucket": {
|
||||
@@ -1382,6 +1940,90 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateBitbucketServerConfigOperationMetadata": {
|
||||
"description": "Metadata for `UpdateBitbucketServerConfig` operation.",
|
||||
"id": "UpdateBitbucketServerConfigOperationMetadata",
|
||||
"properties": {
|
||||
"bitbucketServerConfig": {
|
||||
"description": "The resource name of the BitbucketServerConfig to be updated. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.",
|
||||
"type": "string"
|
||||
},
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateGitHubEnterpriseConfigOperationMetadata": {
|
||||
"description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.",
|
||||
"id": "UpdateGitHubEnterpriseConfigOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"githubEnterpriseConfig": {
|
||||
"description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateGitLabConfigOperationMetadata": {
|
||||
"description": "Metadata for `UpdateGitLabConfig` operation.",
|
||||
"id": "UpdateGitLabConfigOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"gitlabConfig": {
|
||||
"description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateWorkerPoolOperationMetadata": {
|
||||
"description": "Metadata for the `UpdateWorkerPool` operation.",
|
||||
"id": "UpdateWorkerPoolOperationMetadata",
|
||||
"properties": {
|
||||
"completeTime": {
|
||||
"description": "Time the operation was completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"workerPool": {
|
||||
"description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Volume": {
|
||||
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
|
||||
"id": "Volume",
|
||||
@@ -1397,6 +2039,33 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Warning": {
|
||||
"description": "A non-fatal problem encountered during the execution of the build.",
|
||||
"id": "Warning",
|
||||
"properties": {
|
||||
"priority": {
|
||||
"description": "The priority for this warning.",
|
||||
"enum": [
|
||||
"PRIORITY_UNSPECIFIED",
|
||||
"INFO",
|
||||
"WARNING",
|
||||
"ALERT"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Should not be used.",
|
||||
"e.g. deprecation warnings and alternative feature highlights.",
|
||||
"e.g. automated detection of possible issues with the build.",
|
||||
"e.g. alerts that a feature used in the build is pending removal"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"description": "Explanation of the warning generated.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"WorkerConfig": {
|
||||
"description": "WorkerConfig defines the configuration to be used for a creating workers in the pool.",
|
||||
"id": "WorkerConfig",
|
||||
|
||||
Reference in New Issue
Block a user