Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: discovery/googleapis/cloudbuild__v1.json

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/classroom__v1.json ('k') | discovery/googleapis/clouddebugger__v2.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/cloudbuild__v1.json
diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json
index e16cd659612ac2ec522a23a38f3df335c79c7dd4..f3877c8fc15022c67e2d5f47c8cdbbe154cfc700 100644
--- a/discovery/googleapis/cloudbuild__v1.json
+++ b/discovery/googleapis/cloudbuild__v1.json
@@ -116,6 +116,152 @@
"resources": {
"projects": {
"resources": {
+ "triggers": {
+ "methods": {
+ "create": {
+ "description": "Creates a new BuildTrigger.\n\nThis API is experimental.",
+ "httpMethod": "POST",
+ "id": "cloudbuild.projects.triggers.create",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project for which to configure automatic builds.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/triggers",
+ "request": {
+ "$ref": "BuildTrigger"
+ },
+ "response": {
+ "$ref": "BuildTrigger"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets information about a BuildTrigger.\n\nThis API is experimental.",
+ "httpMethod": "GET",
+ "id": "cloudbuild.projects.triggers.get",
+ "parameterOrder": [
+ "projectId",
+ "triggerId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project that owns the trigger.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "triggerId": {
+ "description": "ID of the BuildTrigger to get.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/triggers/{triggerId}",
+ "response": {
+ "$ref": "BuildTrigger"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists existing BuildTrigger.\n\nThis API is experimental.",
+ "httpMethod": "GET",
+ "id": "cloudbuild.projects.triggers.list",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project for which to list BuildTriggers.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/triggers",
+ "response": {
+ "$ref": "ListBuildTriggersResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an BuildTrigger by its project ID and trigger ID.\n\nThis API is experimental.",
+ "httpMethod": "DELETE",
+ "id": "cloudbuild.projects.triggers.delete",
+ "parameterOrder": [
+ "projectId",
+ "triggerId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project that owns the trigger.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "triggerId": {
+ "description": "ID of the BuildTrigger to delete.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/triggers/{triggerId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates an BuildTrigger by its project ID and trigger ID.\n\nThis API is experimental.",
+ "httpMethod": "PATCH",
+ "id": "cloudbuild.projects.triggers.patch",
+ "parameterOrder": [
+ "projectId",
+ "triggerId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project that owns the trigger.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "triggerId": {
+ "description": "ID of the BuildTrigger to update.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/triggers/{triggerId}",
+ "request": {
+ "$ref": "BuildTrigger"
+ },
+ "response": {
+ "$ref": "BuildTrigger"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"builds": {
"methods": {
"create": {
@@ -314,7 +460,7 @@
}
}
},
- "revision": "20160804",
+ "revision": "20160825",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"Status": {
@@ -427,6 +573,34 @@
},
"type": "object"
},
+ "BuildTrigger": {
+ "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.",
+ "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."
+ },
+ "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",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"BuiltImage": {
"description": "BuiltImage describes an image built by the pipeline.",
"id": "BuiltImage",
@@ -498,7 +672,7 @@
"type": "array"
},
"buildStepImages": {
- "description": "List of build step digests, in order corresponding to build step indices.\nnext id = 4",
+ "description": "List of build step digests, in order corresponding to build step indices.",
"items": {
"type": "string"
},
@@ -579,6 +753,10 @@
"format": "google-datetime",
"type": "string"
},
+ "logUrl": {
+ "description": "URL to logs for this build in Google Cloud Logging.\n@OutputOnly",
+ "type": "string"
+ },
"statusDetail": {
"description": "Customer-readable message about the current status.\n@OutputOnly",
"type": "string"
@@ -606,6 +784,20 @@
},
"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"
+ },
"CancelBuildRequest": {
"description": "Request to cancel an ongoing build.",
"id": "CancelBuildRequest",
@@ -711,6 +903,12 @@
},
"type": "object"
},
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
"BuildOptions": {
"description": "Optional arguments to enable specific features of builds.",
"id": "BuildOptions",
« no previous file with comments | « discovery/googleapis/classroom__v1.json ('k') | discovery/googleapis/clouddebugger__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698