update all json files

This commit is contained in:
Sebastian Thiel
2020-04-12 18:55:37 +08:00
parent ea3b428364
commit aacc30f08d
260 changed files with 138411 additions and 26293 deletions

View File

@@ -22,6 +22,7 @@
},
"id": "cloudbuild:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/",
"name": "cloudbuild",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -118,7 +119,7 @@
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
"pattern": "^operations/.+$",
"pattern": "^operations/.*$",
"required": true,
"type": "string"
}
@@ -146,7 +147,7 @@
"name": {
"description": "The name of the operation resource.",
"location": "path",
"pattern": "^operations/.+$",
"pattern": "^operations/.*$",
"required": true,
"type": "string"
}
@@ -217,13 +218,13 @@
],
"parameters": {
"id": {
"description": "ID of the build.",
"description": "Required. ID of the build.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "ID of the project.",
"description": "Required. ID of the project.",
"location": "path",
"required": true,
"type": "string"
@@ -250,7 +251,7 @@
],
"parameters": {
"projectId": {
"description": "ID of the project.",
"description": "Required. ID of the project.",
"location": "path",
"required": true,
"type": "string"
@@ -278,13 +279,13 @@
],
"parameters": {
"id": {
"description": "ID of the build.",
"description": "Required. ID of the build.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "ID of the project.",
"description": "Required. ID of the project.",
"location": "path",
"required": true,
"type": "string"
@@ -324,7 +325,7 @@
"type": "string"
},
"projectId": {
"description": "ID of the project.",
"description": "Required. ID of the project.",
"location": "path",
"required": true,
"type": "string"
@@ -349,13 +350,13 @@
],
"parameters": {
"id": {
"description": "Build ID of the original build.",
"description": "Required. Build ID of the original build.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "ID of the project.",
"description": "Required. ID of the project.",
"location": "path",
"required": true,
"type": "string"
@@ -386,7 +387,7 @@
],
"parameters": {
"projectId": {
"description": "ID of the project for which to configure automatic builds.",
"description": "Required. ID of the project for which to configure automatic builds.",
"location": "path",
"required": true,
"type": "string"
@@ -414,13 +415,13 @@
],
"parameters": {
"projectId": {
"description": "ID of the project that owns the trigger.",
"description": "Required. ID of the project that owns the trigger.",
"location": "path",
"required": true,
"type": "string"
},
"triggerId": {
"description": "ID of the `BuildTrigger` to delete.",
"description": "Required. ID of the `BuildTrigger` to delete.",
"location": "path",
"required": true,
"type": "string"
@@ -445,13 +446,13 @@
],
"parameters": {
"projectId": {
"description": "ID of the project that owns the trigger.",
"description": "Required. ID of the project that owns the trigger.",
"location": "path",
"required": true,
"type": "string"
},
"triggerId": {
"description": "ID of the `BuildTrigger` to get.",
"description": "Required. Identifier (`id` or `name`) of the `BuildTrigger` to get.",
"location": "path",
"required": true,
"type": "string"
@@ -486,7 +487,7 @@
"type": "string"
},
"projectId": {
"description": "ID of the project for which to list BuildTriggers.",
"description": "Required. ID of the project for which to list BuildTriggers.",
"location": "path",
"required": true,
"type": "string"
@@ -511,13 +512,13 @@
],
"parameters": {
"projectId": {
"description": "ID of the project that owns the trigger.",
"description": "Required. ID of the project that owns the trigger.",
"location": "path",
"required": true,
"type": "string"
},
"triggerId": {
"description": "ID of the `BuildTrigger` to update.",
"description": "Required. ID of the `BuildTrigger` to update.",
"location": "path",
"required": true,
"type": "string"
@@ -545,13 +546,13 @@
],
"parameters": {
"projectId": {
"description": "ID of the project.",
"description": "Required. ID of the project.",
"location": "path",
"required": true,
"type": "string"
},
"triggerId": {
"description": "ID of the trigger.",
"description": "Required. ID of the trigger.",
"location": "path",
"required": true,
"type": "string"
@@ -573,7 +574,7 @@
}
}
},
"revision": "20190702",
"revision": "20200323",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -683,6 +684,11 @@
"description": "Output only. ID of the project.",
"type": "string"
},
"queueTtl": {
"description": "TTL in queue for this build. If provided and the build is enqueued longer\nthan this value, the build will expire and the build status will be\n`EXPIRED`.\n\nThe TTL starts ticking from create_time.",
"format": "google-duration",
"type": "string"
},
"results": {
"$ref": "Results",
"description": "Output only. Results of the build."
@@ -717,7 +723,8 @@
"FAILURE",
"INTERNAL_ERROR",
"TIMEOUT",
"CANCELLED"
"CANCELLED",
"EXPIRED"
],
"enumDescriptions": [
"Status of the build is unknown.",
@@ -727,7 +734,8 @@
"Build or step failed to complete successfully.",
"Build or step failed due to an internal cause.",
"Build or step took longer than was allowed.",
"Build or step was canceled by a user."
"Build or step was canceled by a user.",
"Build was enqueued for longer than the value of `queue_ttl`."
],
"type": "string"
},
@@ -896,7 +904,7 @@
"type": "array"
},
"workerPool": {
"description": "Option to specify a `WorkerPool` for the build. User specifies the pool\nwith the format \"[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]\".\nThis is an experimental field.",
"description": "Option to specify a `WorkerPool` for the build.\nFormat: projects/{project}/workerPools/{workerPool}\n\nThis field is experimental.",
"type": "string"
}
},
@@ -957,7 +965,8 @@
"FAILURE",
"INTERNAL_ERROR",
"TIMEOUT",
"CANCELLED"
"CANCELLED",
"EXPIRED"
],
"enumDescriptions": [
"Status of the build is unknown.",
@@ -967,7 +976,8 @@
"Build or step failed to complete successfully.",
"Build or step failed due to an internal cause.",
"Build or step took longer than was allowed.",
"Build or step was canceled by a user."
"Build or step was canceled by a user.",
"Build was enqueued for longer than the value of `queue_ttl`."
],
"type": "string"
},
@@ -1024,14 +1034,14 @@
},
"github": {
"$ref": "GitHubEventsConfig",
"description": "GitHubEventsConfig describes the configuration of a trigger that creates\na build whenever a GitHub event is received."
"description": "GitHubEventsConfig describes the configuration of a trigger that creates\na build whenever a GitHub event is received.\n\nMutually exclusive with `trigger_template`."
},
"id": {
"description": "Output only. Unique identifier of the trigger.",
"type": "string"
},
"ignoredFiles": {
"description": "ignored_files and included_files are file glob matches using\nhttp://godoc/pkg/path/filepath#Match extended with support for \"**\".\n\nIf ignored_files and changed files are both empty, then they are\nnot used to determine whether or not to trigger a build.\n\nIf ignored_files is not empty, then we ignore any files that match\nany of the ignored_file globs. If the change has no files that are\noutside of the ignored_files globs, then we do not trigger a build.",
"description": "ignored_files and included_files are file glob matches using\nhttps://golang.org/pkg/path/filepath/#Match extended with support for \"**\".\n\nIf ignored_files and changed files are both empty, then they are\nnot used to determine whether or not to trigger a build.\n\nIf ignored_files is not empty, then we ignore any files that match\nany of the ignored_file globs. If the change has no files that are\noutside of the ignored_files globs, then we do not trigger a build.",
"items": {
"type": "string"
},
@@ -1044,11 +1054,15 @@
},
"type": "array"
},
"name": {
"description": "User-assigned name of the trigger. Must be unique within the project.\nTrigger names must meet the following requirements:\n\n+ They must contain only alphanumeric characters and dashes.\n+ They can be 1-64 characters long.\n+ They must begin and end with an alphanumeric character.",
"type": "string"
},
"substitutions": {
"additionalProperties": {
"type": "string"
},
"description": "Substitutions data for Build resource.",
"description": "Substitutions for Build resource. The keys must match the following\nregular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the\nkeys in bindings.",
"type": "object"
},
"tags": {
@@ -1060,7 +1074,7 @@
},
"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."
"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.\n\nMutually exclusive with `github`."
}
},
"type": "object"
@@ -1268,7 +1282,7 @@
"type": "string"
},
"commentControl": {
"description": "Whether to block builds on a \"/gcbrun\" comment from a repository owner or\ncollaborator.",
"description": "Whether to block builds on a \"/gcbrun\" comment from a repository admin or\ncollaborator.",
"enum": [
"COMMENTS_DISABLED",
"COMMENTS_ENABLED"
@@ -1278,6 +1292,10 @@
"Enforce that repository owners or collaborators must comment on Pull\nRequests before builds are triggered."
],
"type": "string"
},
"invertRegex": {
"description": "If true, branches that do NOT match the git_ref will trigger a build.",
"type": "boolean"
}
},
"type": "object"
@@ -1287,11 +1305,15 @@
"id": "PushFilter",
"properties": {
"branch": {
"description": "Regexes of branches to match.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"description": "Regexes matching branches to build.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"type": "string"
},
"invertRegex": {
"description": "When true, only trigger a build if the revision regex does NOT match the\ngit_ref regex.",
"type": "boolean"
},
"tag": {
"description": "Regexes of tags to match.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"description": "Regexes matching tags to build.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"type": "string"
}
},
@@ -1302,7 +1324,7 @@
"id": "RepoSource",
"properties": {
"branchName": {
"description": "Name of the branch to build.",
"description": "Regex matching branches to build.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"type": "string"
},
"commitSha": {
@@ -1313,16 +1335,27 @@
"description": "Directory, relative to the source root, in which to run the build.\n\nThis must be a relative path. If a step's `dir` is specified and is an\nabsolute path, this value is ignored for that step's execution.",
"type": "string"
},
"invertRegex": {
"description": "Only trigger a build if the revision regex does NOT match the revision\nregex.",
"type": "boolean"
},
"projectId": {
"description": "ID of the project that owns the Cloud Source Repository. If omitted, the\nproject ID requesting the build is assumed.",
"type": "string"
},
"repoName": {
"description": "Name of the Cloud Source Repository. If omitted, the name \"default\" is\nassumed.",
"description": "Required. Name of the Cloud Source Repository.",
"type": "string"
},
"substitutions": {
"additionalProperties": {
"type": "string"
},
"description": "Substitutions to use in a triggered build.\nShould only be used with RunBuildTrigger",
"type": "object"
},
"tagName": {
"description": "Name of the tag to build.",
"description": "Regex matching tags to build.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"type": "string"
}
},

View File

@@ -22,6 +22,7 @@
},
"id": "cloudbuild:v1alpha1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/",
"name": "cloudbuild",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -109,7 +110,7 @@
"workerPools": {
"methods": {
"create": {
"description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool.\n\nThis API is experimental.",
"description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool.",
"flatPath": "v1alpha1/projects/{projectsId}/workerPools",
"httpMethod": "POST",
"id": "cloudbuild.projects.workerPools.create",
@@ -137,7 +138,7 @@
]
},
"delete": {
"description": "Deletes a `WorkerPool` by its project ID and WorkerPool name.\n\nThis API is experimental.",
"description": "Deletes a `WorkerPool` by its project ID and WorkerPool name.",
"flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}",
"httpMethod": "DELETE",
"id": "cloudbuild.projects.workerPools.delete",
@@ -162,7 +163,7 @@
]
},
"get": {
"description": "Returns information about a `WorkerPool`.\n\nThis API is experimental.",
"description": "Returns information about a `WorkerPool`.",
"flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}",
"httpMethod": "GET",
"id": "cloudbuild.projects.workerPools.get",
@@ -187,7 +188,7 @@
]
},
"list": {
"description": "List project's `WorkerPool`s.\n\nThis API is experimental.",
"description": "List project's `WorkerPool`s.",
"flatPath": "v1alpha1/projects/{projectsId}/workerPools",
"httpMethod": "GET",
"id": "cloudbuild.projects.workerPools.list",
@@ -212,7 +213,7 @@
]
},
"patch": {
"description": "Update a `WorkerPool`.\n\nThis API is experimental.",
"description": "Update a `WorkerPool`.",
"flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}",
"httpMethod": "PATCH",
"id": "cloudbuild.projects.workerPools.patch",
@@ -244,7 +245,7 @@
}
}
},
"revision": "20190702",
"revision": "20200323",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -354,6 +355,11 @@
"description": "Output only. ID of the project.",
"type": "string"
},
"queueTtl": {
"description": "TTL in queue for this build. If provided and the build is enqueued longer\nthan this value, the build will expire and the build status will be\n`EXPIRED`.\n\nThe TTL starts ticking from create_time.",
"format": "google-duration",
"type": "string"
},
"results": {
"$ref": "Results",
"description": "Output only. Results of the build."
@@ -388,7 +394,8 @@
"FAILURE",
"INTERNAL_ERROR",
"TIMEOUT",
"CANCELLED"
"CANCELLED",
"EXPIRED"
],
"enumDescriptions": [
"Status of the build is unknown.",
@@ -398,7 +405,8 @@
"Build or step failed to complete successfully.",
"Build or step failed due to an internal cause.",
"Build or step took longer than was allowed.",
"Build or step was canceled by a user."
"Build or step was canceled by a user.",
"Build was enqueued for longer than the value of `queue_ttl`."
],
"type": "string"
},
@@ -567,7 +575,7 @@
"type": "array"
},
"workerPool": {
"description": "Option to specify a `WorkerPool` for the build. User specifies the pool\nwith the format \"[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]\".\nThis is an experimental field.",
"description": "Option to specify a `WorkerPool` for the build.\nFormat: projects/{project}/workerPools/{workerPool}\n\nThis field is experimental.",
"type": "string"
}
},
@@ -628,7 +636,8 @@
"FAILURE",
"INTERNAL_ERROR",
"TIMEOUT",
"CANCELLED"
"CANCELLED",
"EXPIRED"
],
"enumDescriptions": [
"Status of the build is unknown.",
@@ -638,7 +647,8 @@
"Build or step failed to complete successfully.",
"Build or step failed due to an internal cause.",
"Build or step took longer than was allowed.",
"Build or step was canceled by a user."
"Build or step was canceled by a user.",
"Build was enqueued for longer than the value of `queue_ttl`."
],
"type": "string"
},
@@ -771,7 +781,7 @@
"id": "RepoSource",
"properties": {
"branchName": {
"description": "Name of the branch to build.",
"description": "Regex matching branches to build.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"type": "string"
},
"commitSha": {
@@ -782,16 +792,27 @@
"description": "Directory, relative to the source root, in which to run the build.\n\nThis must be a relative path. If a step's `dir` is specified and is an\nabsolute path, this value is ignored for that step's execution.",
"type": "string"
},
"invertRegex": {
"description": "Only trigger a build if the revision regex does NOT match the revision\nregex.",
"type": "boolean"
},
"projectId": {
"description": "ID of the project that owns the Cloud Source Repository. If omitted, the\nproject ID requesting the build is assumed.",
"type": "string"
},
"repoName": {
"description": "Name of the Cloud Source Repository. If omitted, the name \"default\" is\nassumed.",
"description": "Required. Name of the Cloud Source Repository.",
"type": "string"
},
"substitutions": {
"additionalProperties": {
"type": "string"
},
"description": "Substitutions to use in a triggered build.\nShould only be used with RunBuildTrigger",
"type": "object"
},
"tagName": {
"description": "Name of the tag to build.",
"description": "Regex matching tags to build.\n\nThe syntax of the regular expressions accepted is the syntax accepted by\nRE2 and described at https://github.com/google/re2/wiki/Syntax",
"type": "string"
}
},
@@ -1031,7 +1052,7 @@
"Status of the `WorkerPool` is unknown.",
"`WorkerPool` is being created.",
"`WorkerPool` is running.",
"`WorkerPool` is being deleting: cancelling builds and draining workers.",
"`WorkerPool` is being deleted: cancelling builds and draining workers.",
"`WorkerPool` is deleted."
],
"type": "string"

File diff suppressed because it is too large Load Diff