Index: discovery/googleapis/cloudbuild__v1.json |
diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json |
index f3877c8fc15022c67e2d5f47c8cdbbe154cfc700..d4cd20823a3798891529cb4c344301798c17cc4e 100644 |
--- a/discovery/googleapis/cloudbuild__v1.json |
+++ b/discovery/googleapis/cloudbuild__v1.json |
@@ -334,6 +334,11 @@ |
"location": "query", |
"type": "integer" |
}, |
+ "filter": { |
+ "description": "The raw filter text to constrain the results.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"projectId": { |
"description": "ID of the project.", |
"location": "path", |
@@ -404,7 +409,7 @@ |
"name": { |
"description": "The name of the operation resource.", |
"location": "path", |
- "pattern": "^operations/.*$", |
+ "pattern": "^operations/.+$", |
"required": true, |
"type": "string" |
} |
@@ -460,7 +465,7 @@ |
} |
} |
}, |
- "revision": "20160825", |
+ "revision": "20161107", |
"rootUrl": "https://cloudbuild.googleapis.com/", |
"schemas": { |
"Status": { |
@@ -544,7 +549,7 @@ |
"properties": { |
"error": { |
"$ref": "Status", |
- "description": "The error result of the operation in case of failure." |
+ "description": "The error result of the operation in case of failure or cancellation." |
}, |
"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.", |
@@ -577,26 +582,34 @@ |
"description": "Configuration for an automated build in response to source repository\nchanges.", |
"id": "BuildTrigger", |
"properties": { |
- "filename": { |
- "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.", |
+ "id": { |
+ "description": "Unique identifier of the trigger.\n\n@OutputOnly", |
+ "type": "string" |
+ }, |
+ "description": { |
+ "description": "Human-readable description of this trigger.", |
"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." |
}, |
- "build": { |
- "$ref": "Build", |
- "description": "Contents of the build template." |
+ "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" |
}, |
- "id": { |
- "description": "Unique identifier of the trigger.\n\n@OutputOnly", |
+ "filename": { |
+ "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.", |
"type": "string" |
+ }, |
+ "build": { |
+ "$ref": "Build", |
+ "description": "Contents of the build template." |
} |
}, |
"type": "object" |
@@ -682,7 +695,7 @@ |
"type": "object" |
}, |
"Build": { |
- "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.", |
+ "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": { |
"id": { |
@@ -762,7 +775,7 @@ |
"type": "string" |
}, |
"images": { |
- "description": "List of images expected to be built and pushed to Google Container\nRegistry. If an image is listed here and the image is not produced by\none of the build steps, the build will fail. Any images present when\nthe build steps are complete will be pushed to Container Registry.", |
+ "description": "A list of images to be pushed upon the successful completion of all build\nsteps.\n\nThe images will be pushed using the builder\nservice account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE.", |
"items": { |
"type": "string" |
}, |
@@ -773,6 +786,10 @@ |
"format": "google-datetime", |
"type": "string" |
}, |
+ "buildTriggerId": { |
+ "description": "The ID of the BuildTrigger that triggered this build, if it was\ntriggered automatically.\n@OutputOnly", |
+ "type": "string" |
+ }, |
"logsBucket": { |
"description": "Google Cloud Storage bucket where logs should be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).\nLogs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", |
"type": "string" |
@@ -872,7 +889,7 @@ |
"type": "string" |
}, |
"env": { |
- "description": "Additional environment variables to set for this step's container.", |
+ "description": "A list of environment variable definitions to be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".", |
"items": { |
"type": "string" |
}, |
@@ -886,14 +903,14 @@ |
"type": "array" |
}, |
"args": { |
- "description": "Command-line arguments to use when running this step's container.", |
+ "description": "A list of arguments that will be presented to the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
}, |
"name": { |
- "description": "Name of the container image to use for creating this stage in the\npipeline, as presented to `docker pull`.", |
+ "description": "The name of the container image that will run this particular build step.\n\nIf the image is already available in the host's\nDocker daemon's cache, it will be run directly. If not, the host will\nattempt to pull the image first, using the builder service account's\ncredentials if necessary.\n\nThe Docker daemon's cache will already have the latest versions of all of\nthe officially supported build steps\n(https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon\nwill also have cached many of the layers for some popular images, like\n\"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to\nuse them.\n\nIf you built an image in a previous build step, it will be stored in the\nhost's Docker daemon's cache and is available to use as the name for a\nlater build step.", |
"type": "string" |
}, |
"dir": { |
@@ -929,7 +946,7 @@ |
"type": "array" |
}, |
"requestedVerifyOption": { |
- "description": "Options for a verifiable build with details uploaded to the Analysis API.", |
+ "description": "Requested verifiability options.", |
"enum": [ |
"NOT_VERIFIED", |
"VERIFIED" |