Index: discovery/googleapis/cloudbuild__v1.json |
diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json |
index 47aef3d54f3acbb6437a1619c711b87458b646bc..608cfa1249d736fb6eea0ceedda2b5be587ed49e 100644 |
--- a/discovery/googleapis/cloudbuild__v1.json |
+++ b/discovery/googleapis/cloudbuild__v1.json |
@@ -25,16 +25,37 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "key": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "quotaUser": { |
+ "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.", |
"location": "query", |
"type": "string" |
}, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
"oauth_token": { |
"description": "OAuth 2.0 token for the current user.", |
"location": "query", |
"type": "string" |
}, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -56,11 +77,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"$.xgafv": { |
"description": "V1 error format.", |
"enum": [ |
@@ -74,6 +90,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -89,27 +110,6 @@ |
], |
"location": "query", |
"type": "string" |
- }, |
- "key": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "access_token": { |
- "description": "OAuth access token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "quotaUser": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
} |
}, |
"protocol": "rest", |
@@ -144,15 +144,20 @@ |
] |
}, |
"list": { |
- "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", |
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", |
"httpMethod": "GET", |
"id": "cloudbuild.operations.list", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
+ "filter": { |
+ "description": "The standard list filter.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"name": { |
- "description": "The name of the operation collection.", |
+ "description": "The name of the operation's parent resource.", |
"location": "path", |
"pattern": "^operations$", |
"required": true, |
@@ -168,11 +173,6 @@ |
"format": "int32", |
"location": "query", |
"type": "integer" |
- }, |
- "filter": { |
- "description": "The standard list filter.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v1/{+name}", |
@@ -211,140 +211,34 @@ |
}, |
"projects": { |
"resources": { |
- "builds": { |
+ "triggers": { |
"methods": { |
- "cancel": { |
- "description": "Cancels a requested build in progress.", |
- "httpMethod": "POST", |
- "id": "cloudbuild.projects.builds.cancel", |
- "parameterOrder": [ |
- "projectId", |
- "id" |
- ], |
- "parameters": { |
- "id": { |
- "description": "ID of the build.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "projectId": { |
- "description": "ID of the project.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/projects/{projectId}/builds/{id}:cancel", |
- "request": { |
- "$ref": "CancelBuildRequest" |
- }, |
- "response": { |
- "$ref": "Build" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
- "get": { |
- "description": "Returns information about a previously requested build.\n\nThe Build that is returned includes its status (e.g., success or failure,\nor in-progress), and timing information.", |
- "httpMethod": "GET", |
- "id": "cloudbuild.projects.builds.get", |
- "parameterOrder": [ |
- "projectId", |
- "id" |
- ], |
- "parameters": { |
- "id": { |
- "description": "ID of the build.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "projectId": { |
- "description": "ID of the project.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/projects/{projectId}/builds/{id}", |
- "response": { |
- "$ref": "Build" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
- "list": { |
- "description": "Lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully.", |
- "httpMethod": "GET", |
- "id": "cloudbuild.projects.builds.list", |
- "parameterOrder": [ |
- "projectId" |
- ], |
- "parameters": { |
- "filter": { |
- "description": "The raw filter text to constrain the results.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageToken": { |
- "description": "Token to provide to skip to a particular spot in the list.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "Number of results to return in the list.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "projectId": { |
- "description": "ID of the project.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/projects/{projectId}/builds", |
- "response": { |
- "$ref": "ListBuildsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
"create": { |
- "description": "Starts a build with the specified configuration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e.g.,\nsuccess or failure).", |
+ "description": "Creates a new BuildTrigger.\n\nThis API is experimental.", |
"httpMethod": "POST", |
- "id": "cloudbuild.projects.builds.create", |
+ "id": "cloudbuild.projects.triggers.create", |
"parameterOrder": [ |
"projectId" |
], |
"parameters": { |
"projectId": { |
- "description": "ID of the project.", |
+ "description": "ID of the project for which to configure automatic builds.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/builds", |
+ "path": "v1/projects/{projectId}/triggers", |
"request": { |
- "$ref": "Build" |
+ "$ref": "BuildTrigger" |
}, |
"response": { |
- "$ref": "Operation" |
+ "$ref": "BuildTrigger" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
- } |
- } |
- }, |
- "triggers": { |
- "methods": { |
+ }, |
"delete": { |
"description": "Deletes an BuildTrigger by its project ID and trigger ID.\n\nThis API is experimental.", |
"httpMethod": "DELETE", |
@@ -460,148 +354,155 @@ |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
- }, |
- "create": { |
- "description": "Creates a new BuildTrigger.\n\nThis API is experimental.", |
+ } |
+ } |
+ }, |
+ "builds": { |
+ "methods": { |
+ "cancel": { |
+ "description": "Cancels a requested build in progress.", |
"httpMethod": "POST", |
- "id": "cloudbuild.projects.triggers.create", |
+ "id": "cloudbuild.projects.builds.cancel", |
"parameterOrder": [ |
- "projectId" |
+ "projectId", |
+ "id" |
], |
"parameters": { |
+ "id": { |
+ "description": "ID of the build.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
"projectId": { |
- "description": "ID of the project for which to configure automatic builds.", |
+ "description": "ID of the project.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/triggers", |
+ "path": "v1/projects/{projectId}/builds/{id}:cancel", |
"request": { |
- "$ref": "BuildTrigger" |
+ "$ref": "CancelBuildRequest" |
}, |
"response": { |
- "$ref": "BuildTrigger" |
+ "$ref": "Build" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
- } |
- } |
- } |
- } |
- } |
- }, |
- "revision": "20170522", |
- "rootUrl": "https://cloudbuild.googleapis.com/", |
- "schemas": { |
- "BuildOperationMetadata": { |
- "description": "Metadata for build operations.", |
- "id": "BuildOperationMetadata", |
- "properties": { |
- "build": { |
- "$ref": "Build", |
- "description": "The build that the operation is tracking." |
- } |
- }, |
- "type": "object" |
- }, |
- "SourceProvenance": { |
- "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.", |
- "id": "SourceProvenance", |
- "properties": { |
- "fileHashes": { |
- "additionalProperties": { |
- "$ref": "FileHashes" |
- }, |
- "description": "Hash(es) of the build source, which can be used to verify that the original\nsource integrity was maintained in the build. Note that FileHashes will\nonly be populated if BuildOptions has requested a SourceProvenanceHash.\n\nThe keys to this map are file paths used as build source and the values\ncontain the hash values for those files.\n\nIf the build source came in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will be for the single path to that file.\n@OutputOnly", |
- "type": "object" |
- }, |
- "resolvedRepoSource": { |
- "$ref": "RepoSource", |
- "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved." |
- }, |
- "resolvedStorageSource": { |
- "$ref": "StorageSource", |
- "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved." |
- } |
- }, |
- "type": "object" |
- }, |
- "CancelOperationRequest": { |
- "description": "The request message for Operations.CancelOperation.", |
- "id": "CancelOperationRequest", |
- "properties": {}, |
- "type": "object" |
- }, |
- "ListBuildTriggersResponse": { |
- "description": "Response containing existing BuildTriggers.", |
- "id": "ListBuildTriggersResponse", |
- "properties": { |
- "triggers": { |
- "description": "BuildTriggers for the project, sorted by create_time descending.", |
- "items": { |
- "$ref": "BuildTrigger" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "Operation": { |
- "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
- "id": "Operation", |
- "properties": { |
- "done": { |
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", |
- "type": "boolean" |
- }, |
- "response": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", |
- "type": "string" |
- }, |
- "error": { |
- "$ref": "Status", |
- "description": "The error result of the operation in case of failure or cancellation." |
- }, |
- "metadata": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", |
- "type": "object" |
- } |
- }, |
- "type": "object" |
- }, |
- "BuiltImage": { |
- "description": "BuiltImage describes an image built by the pipeline.", |
- "id": "BuiltImage", |
- "properties": { |
- "name": { |
- "description": "Name used to push the container image to Google Container Registry, as\npresented to `docker push`.", |
- "type": "string" |
- }, |
- "digest": { |
- "description": "Docker Registry 2.0 digest.", |
- "type": "string" |
+ }, |
+ "get": { |
+ "description": "Returns information about a previously requested build.\n\nThe Build that is returned includes its status (e.g., success or failure,\nor in-progress), and timing information.", |
+ "httpMethod": "GET", |
+ "id": "cloudbuild.projects.builds.get", |
+ "parameterOrder": [ |
+ "projectId", |
+ "id" |
+ ], |
+ "parameters": { |
+ "id": { |
+ "description": "ID of the build.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "projectId": { |
+ "description": "ID of the project.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/projects/{projectId}/builds/{id}", |
+ "response": { |
+ "$ref": "Build" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
+ "list": { |
+ "description": "Lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully.", |
+ "httpMethod": "GET", |
+ "id": "cloudbuild.projects.builds.list", |
+ "parameterOrder": [ |
+ "projectId" |
+ ], |
+ "parameters": { |
+ "filter": { |
+ "description": "The raw filter text to constrain the results.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageToken": { |
+ "description": "Token to provide to skip to a particular spot in the list.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageSize": { |
+ "description": "Number of results to return in the list.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
+ "projectId": { |
+ "description": "ID of the project.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/projects/{projectId}/builds", |
+ "response": { |
+ "$ref": "ListBuildsResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
+ "create": { |
+ "description": "Starts a build with the specified configuration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e.g.,\nsuccess or failure).", |
+ "httpMethod": "POST", |
+ "id": "cloudbuild.projects.builds.create", |
+ "parameterOrder": [ |
+ "projectId" |
+ ], |
+ "parameters": { |
+ "projectId": { |
+ "description": "ID of the project.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/projects/{projectId}/builds", |
+ "request": { |
+ "$ref": "Build" |
+ }, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ } |
+ } |
} |
- }, |
- "type": "object" |
- }, |
+ } |
+ } |
+ }, |
+ "revision": "20170612", |
+ "rootUrl": "https://cloudbuild.googleapis.com/", |
+ "schemas": { |
"BuildStep": { |
"description": "BuildStep describes a step to perform in the build pipeline.", |
"id": "BuildStep", |
"properties": { |
+ "dir": { |
+ "description": "Working directory (relative to project source root) to use when running\nthis operation's container.", |
+ "type": "string" |
+ }, |
"waitFor": { |
"description": "The ID(s) of the step(s) that this build step depends on.\nThis build step will not start until all the build steps in wait_for\nhave completed successfully. If wait_for is empty, this build step will\nstart when all previous build steps in the Build.Steps list have completed\nsuccessfully.", |
"items": { |
@@ -634,10 +535,6 @@ |
"id": { |
"description": "Optional unique identifier for this build step, used in wait_for to\nreference this build step as a dependency.", |
"type": "string" |
- }, |
- "dir": { |
- "description": "Working directory (relative to project source root) to use when running\nthis operation's container.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -744,6 +641,23 @@ |
"description": "Configuration for an automated build in response to source repository\nchanges.", |
"id": "BuildTrigger", |
"properties": { |
+ "disabled": { |
+ "description": "If true, the trigger will never result in a build.", |
+ "type": "boolean" |
+ }, |
+ "createTime": { |
+ "description": "Time when the trigger was created.\n\n@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "triggerTemplate": { |
+ "$ref": "RepoSource", |
+ "description": "Template describing the types of source changes to trigger a build.\n\nBranch and tag names in trigger templates are interpreted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build." |
+ }, |
+ "filename": { |
+ "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.", |
+ "type": "string" |
+ }, |
"id": { |
"description": "Unique identifier of the trigger.\n\n@OutputOnly", |
"type": "string" |
@@ -762,23 +676,6 @@ |
"description": { |
"description": "Human-readable description of this trigger.", |
"type": "string" |
- }, |
- "disabled": { |
- "description": "If true, the trigger will never result in a build.", |
- "type": "boolean" |
- }, |
- "createTime": { |
- "description": "Time when the trigger was created.\n\n@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "filename": { |
- "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.", |
- "type": "string" |
- }, |
- "triggerTemplate": { |
- "$ref": "RepoSource", |
- "description": "Template describing the types of source changes to trigger a build.\n\nBranch and tag names in trigger templates are interpreted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build." |
} |
}, |
"type": "object" |
@@ -787,33 +684,6 @@ |
"description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (for example, the builder image to run on the source), and what tag to\napply to the built image when it is pushed to Google Container Registry.\n\nFields can include the following variables which will be expanded when the\nbuild is created:\n\n- $PROJECT_ID: the project ID of the build.\n- $BUILD_ID: the autogenerated ID of the build.\n- $REPO_NAME: the source repository name specified by RepoSource.\n- $BRANCH_NAME: the branch name specified by RepoSource.\n- $TAG_NAME: the tag name specified by RepoSource.\n- $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or\n resolved from the specified branch or tag.", |
"id": "Build", |
"properties": { |
- "buildTriggerId": { |
- "description": "The ID of the BuildTrigger that triggered this build, if it was\ntriggered automatically.\n@OutputOnly", |
- "type": "string" |
- }, |
- "tags": { |
- "description": "Tags for annotation of a Build. These are not docker tags.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "id": { |
- "description": "Unique identifier of the build.\n@OutputOnly", |
- "type": "string" |
- }, |
- "substitutions": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "Substitutions data for Build resource.", |
- "type": "object" |
- }, |
- "startTime": { |
- "description": "Time at which execution of the build was started.\n@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
"createTime": { |
"description": "Time at which the request to create the build was received.\n@OutputOnly", |
"format": "google-datetime", |
@@ -834,25 +704,26 @@ |
"description": "ID of the project.\n@OutputOnly.", |
"type": "string" |
}, |
+ "logUrl": { |
+ "description": "URL to logs for this build in Google Cloud Logging.\n@OutputOnly", |
+ "type": "string" |
+ }, |
"finishTime": { |
"description": "Time at which execution of the build was finished.\n\nThe difference between finish_time and start_time is the duration of the\nbuild's execution.\n@OutputOnly", |
"format": "google-datetime", |
"type": "string" |
}, |
- "logUrl": { |
- "description": "URL to logs for this build in Google Cloud Logging.\n@OutputOnly", |
- "type": "string" |
+ "options": { |
+ "$ref": "BuildOptions", |
+ "description": "Special options for this build." |
}, |
"source": { |
"$ref": "Source", |
"description": "Describes where to find the source files to build." |
}, |
- "options": { |
- "$ref": "BuildOptions", |
- "description": "Special options for this build." |
- }, |
- "statusDetail": { |
- "description": "Customer-readable message about the current status.\n@OutputOnly", |
+ "timeout": { |
+ "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.", |
+ "format": "google-duration", |
"type": "string" |
}, |
"status": { |
@@ -879,9 +750,8 @@ |
], |
"type": "string" |
}, |
- "timeout": { |
- "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.", |
- "format": "google-duration", |
+ "statusDetail": { |
+ "description": "Customer-readable message about the current status.\n@OutputOnly", |
"type": "string" |
}, |
"results": { |
@@ -898,6 +768,33 @@ |
"$ref": "BuildStep" |
}, |
"type": "array" |
+ }, |
+ "buildTriggerId": { |
+ "description": "The ID of the BuildTrigger that triggered this build, if it was\ntriggered automatically.\n@OutputOnly", |
+ "type": "string" |
+ }, |
+ "id": { |
+ "description": "Unique identifier of the build.\n@OutputOnly", |
+ "type": "string" |
+ }, |
+ "tags": { |
+ "description": "Tags for annotation of a Build. These are not docker tags.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "startTime": { |
+ "description": "Time at which execution of the build was started.\n@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "substitutions": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "Substitutions data for Build resource.", |
+ "type": "object" |
} |
}, |
"type": "object" |
@@ -948,13 +845,13 @@ |
"description": "Source describes the location of the source in a supported storage\nservice.", |
"id": "Source", |
"properties": { |
- "storageSource": { |
- "$ref": "StorageSource", |
- "description": "If provided, get the source from this location in in Google Cloud\nStorage." |
- }, |
"repoSource": { |
"$ref": "RepoSource", |
"description": "If provided, get source from this location in a Cloud Repo." |
+ }, |
+ "storageSource": { |
+ "$ref": "StorageSource", |
+ "description": "If provided, get the source from this location in in Google Cloud\nStorage." |
} |
}, |
"type": "object" |
@@ -963,6 +860,18 @@ |
"description": "Optional arguments to enable specific features of builds.", |
"id": "BuildOptions", |
"properties": { |
+ "requestedVerifyOption": { |
+ "description": "Requested verifiability options.", |
+ "enum": [ |
+ "NOT_VERIFIED", |
+ "VERIFIED" |
+ ], |
+ "enumDescriptions": [ |
+ "Not a verifiable build. (default)", |
+ "Verified build." |
+ ], |
+ "type": "string" |
+ }, |
"sourceProvenanceHash": { |
"description": "Requested hash for SourceProvenance.", |
"enumDescriptions": [ |
@@ -977,18 +886,6 @@ |
"type": "string" |
}, |
"type": "array" |
- }, |
- "requestedVerifyOption": { |
- "description": "Requested verifiability options.", |
- "enum": [ |
- "NOT_VERIFIED", |
- "VERIFIED" |
- ], |
- "enumDescriptions": [ |
- "Not a verifiable build. (default)", |
- "Verified build." |
- ], |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -997,6 +894,11 @@ |
"description": "StorageSource describes the location of the source in an archive file in\nGoogle Cloud Storage.", |
"id": "StorageSource", |
"properties": { |
+ "generation": { |
+ "description": "Google Cloud Storage generation for the object. If the generation is\nomitted, the latest generation will be used.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
"bucket": { |
"description": "Google Cloud Storage bucket containing source (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", |
"type": "string" |
@@ -1004,11 +906,6 @@ |
"object": { |
"description": "Google Cloud Storage object containing source.\n\nThis object must be a gzipped archive file (.tar.gz) containing source to\nbuild.", |
"type": "string" |
- }, |
- "generation": { |
- "description": "Google Cloud Storage generation for the object. If the generation is\nomitted, the latest generation will be used.", |
- "format": "int64", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1017,22 +914,125 @@ |
"description": "Results describes the artifacts created by the build pipeline.", |
"id": "Results", |
"properties": { |
+ "images": { |
+ "description": "Images that were built as a part of the build.", |
+ "items": { |
+ "$ref": "BuiltImage" |
+ }, |
+ "type": "array" |
+ }, |
"buildStepImages": { |
"description": "List of build step digests, in order corresponding to build step indices.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "BuildOperationMetadata": { |
+ "description": "Metadata for build operations.", |
+ "id": "BuildOperationMetadata", |
+ "properties": { |
+ "build": { |
+ "$ref": "Build", |
+ "description": "The build that the operation is tracking." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "SourceProvenance": { |
+ "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.", |
+ "id": "SourceProvenance", |
+ "properties": { |
+ "fileHashes": { |
+ "additionalProperties": { |
+ "$ref": "FileHashes" |
+ }, |
+ "description": "Hash(es) of the build source, which can be used to verify that the original\nsource integrity was maintained in the build. Note that FileHashes will\nonly be populated if BuildOptions has requested a SourceProvenanceHash.\n\nThe keys to this map are file paths used as build source and the values\ncontain the hash values for those files.\n\nIf the build source came in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will be for the single path to that file.\n@OutputOnly", |
+ "type": "object" |
}, |
- "images": { |
- "description": "Images that were built as a part of the build.", |
+ "resolvedRepoSource": { |
+ "$ref": "RepoSource", |
+ "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved." |
+ }, |
+ "resolvedStorageSource": { |
+ "$ref": "StorageSource", |
+ "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CancelOperationRequest": { |
+ "description": "The request message for Operations.CancelOperation.", |
+ "id": "CancelOperationRequest", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "ListBuildTriggersResponse": { |
+ "description": "Response containing existing BuildTriggers.", |
+ "id": "ListBuildTriggersResponse", |
+ "properties": { |
+ "triggers": { |
+ "description": "BuildTriggers for the project, sorted by create_time descending.", |
"items": { |
- "$ref": "BuiltImage" |
+ "$ref": "BuildTrigger" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
+ }, |
+ "Operation": { |
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
+ "id": "Operation", |
+ "properties": { |
+ "response": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", |
+ "type": "object" |
+ }, |
+ "name": { |
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", |
+ "type": "string" |
+ }, |
+ "error": { |
+ "$ref": "Status", |
+ "description": "The error result of the operation in case of failure or cancellation." |
+ }, |
+ "metadata": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", |
+ "type": "object" |
+ }, |
+ "done": { |
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", |
+ "type": "boolean" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "BuiltImage": { |
+ "description": "BuiltImage describes an image built by the pipeline.", |
+ "id": "BuiltImage", |
+ "properties": { |
+ "name": { |
+ "description": "Name used to push the container image to Google Container Registry, as\npresented to `docker push`.", |
+ "type": "string" |
+ }, |
+ "digest": { |
+ "description": "Docker Registry 2.0 digest.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
} |
}, |
"servicePath": "", |