mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all APIs
Like documented in the README ``` rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8 ```
This commit is contained in:
@@ -401,7 +401,7 @@
|
||||
]
|
||||
},
|
||||
"retry": {
|
||||
"description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.",
|
||||
"description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.",
|
||||
"flatPath": "v1/projects/{projectId}/builds/{id}:retry",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudbuild.projects.builds.retry",
|
||||
@@ -460,6 +460,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -486,6 +487,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"configId": {
|
||||
"deprecated": true,
|
||||
"description": "Unique identifier of the `GitHubEnterpriseConfig`",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -498,6 +500,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -521,6 +524,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"configId": {
|
||||
"deprecated": true,
|
||||
"description": "Unique identifier of the `GitHubEnterpriseConfig`",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -533,6 +537,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -563,6 +568,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -613,6 +619,33 @@
|
||||
}
|
||||
},
|
||||
"locations": {
|
||||
"methods": {
|
||||
"getDefaultServiceAccount": {
|
||||
"description": "Returns the `DefaultServiceAccount` used by the project.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/defaultServiceAccount",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudbuild.projects.locations.getDefaultServiceAccount",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the `DefaultServiceAccount` to retrieve. Format: `projects/{project}/locations/{location}/defaultServiceAccount`",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/defaultServiceAccount$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}",
|
||||
"response": {
|
||||
"$ref": "DefaultServiceAccount"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"bitbucketServerConfigs": {
|
||||
"methods": {
|
||||
@@ -1046,7 +1079,7 @@
|
||||
]
|
||||
},
|
||||
"retry": {
|
||||
"description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.",
|
||||
"description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:retry",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudbuild.projects.locations.builds.retry",
|
||||
@@ -1358,6 +1391,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -1384,6 +1418,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"configId": {
|
||||
"deprecated": true,
|
||||
"description": "Unique identifier of the `GitHubEnterpriseConfig`",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -1396,6 +1431,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -1419,6 +1455,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"configId": {
|
||||
"deprecated": true,
|
||||
"description": "Unique identifier of the `GitHubEnterpriseConfig`",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -1431,6 +1468,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -1461,6 +1499,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"deprecated": true,
|
||||
"description": "ID of the project",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -1570,7 +1609,7 @@
|
||||
"triggers": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "Creates a new `BuildTrigger`. This API is experimental.",
|
||||
"description": "Creates a new `BuildTrigger`.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudbuild.projects.locations.triggers.create",
|
||||
@@ -1603,7 +1642,7 @@
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"description": "Deletes a `BuildTrigger` by its project ID and trigger ID. This API is experimental.",
|
||||
"description": "Deletes a `BuildTrigger` by its project ID and trigger ID.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "cloudbuild.projects.locations.triggers.delete",
|
||||
@@ -1638,7 +1677,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Returns information about a `BuildTrigger`. This API is experimental.",
|
||||
"description": "Returns information about a `BuildTrigger`.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudbuild.projects.locations.triggers.get",
|
||||
@@ -1673,7 +1712,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists existing `BuildTrigger`s. This API is experimental.",
|
||||
"description": "Lists existing `BuildTrigger`s.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudbuild.projects.locations.triggers.list",
|
||||
@@ -1714,7 +1753,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental.",
|
||||
"description": "Updates a `BuildTrigger` by its project ID and trigger ID.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "cloudbuild.projects.locations.triggers.patch",
|
||||
@@ -1738,6 +1777,12 @@
|
||||
"description": "Required. ID of the `BuildTrigger` to update.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+resourceName}",
|
||||
@@ -2008,7 +2053,7 @@
|
||||
"triggers": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "Creates a new `BuildTrigger`. This API is experimental.",
|
||||
"description": "Creates a new `BuildTrigger`.",
|
||||
"flatPath": "v1/projects/{projectId}/triggers",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudbuild.projects.triggers.create",
|
||||
@@ -2040,7 +2085,7 @@
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"description": "Deletes a `BuildTrigger` by its project ID and trigger ID. This API is experimental.",
|
||||
"description": "Deletes a `BuildTrigger` by its project ID and trigger ID.",
|
||||
"flatPath": "v1/projects/{projectId}/triggers/{triggerId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "cloudbuild.projects.triggers.delete",
|
||||
@@ -2076,7 +2121,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Returns information about a `BuildTrigger`. This API is experimental.",
|
||||
"description": "Returns information about a `BuildTrigger`.",
|
||||
"flatPath": "v1/projects/{projectId}/triggers/{triggerId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudbuild.projects.triggers.get",
|
||||
@@ -2112,7 +2157,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists existing `BuildTrigger`s. This API is experimental.",
|
||||
"description": "Lists existing `BuildTrigger`s.",
|
||||
"flatPath": "v1/projects/{projectId}/triggers",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudbuild.projects.triggers.list",
|
||||
@@ -2152,7 +2197,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental.",
|
||||
"description": "Updates a `BuildTrigger` by its project ID and trigger ID.",
|
||||
"flatPath": "v1/projects/{projectId}/triggers/{triggerId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "cloudbuild.projects.triggers.patch",
|
||||
@@ -2172,6 +2217,12 @@
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/projects/{projectId}/triggers/{triggerId}",
|
||||
@@ -2295,7 +2346,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20230120",
|
||||
"revision": "20240223",
|
||||
"rootUrl": "https://cloudbuild.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApprovalConfig": {
|
||||
@@ -2395,7 +2446,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"location": {
|
||||
"description": "The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.",
|
||||
"description": "The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -2419,6 +2470,13 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"npmPackages": {
|
||||
"description": "A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.",
|
||||
"items": {
|
||||
"$ref": "NpmPackage"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"objects": {
|
||||
"$ref": "ArtifactObjects",
|
||||
"description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE."
|
||||
@@ -2564,6 +2622,10 @@
|
||||
"description": "Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.",
|
||||
"type": "string"
|
||||
},
|
||||
"peeredNetworkIpRange": {
|
||||
"description": "Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used. The field only has an effect if peered_network is set.",
|
||||
"type": "string"
|
||||
},
|
||||
"secrets": {
|
||||
"$ref": "BitbucketServerSecrets",
|
||||
"description": "Required. Secret Manager secrets needed by the config."
|
||||
@@ -2760,7 +2822,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"logsBucket": {
|
||||
"description": "Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.",
|
||||
"description": "Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
@@ -2943,6 +3005,22 @@
|
||||
"description": "Optional arguments to enable specific features of builds.",
|
||||
"id": "BuildOptions",
|
||||
"properties": {
|
||||
"automapSubstitutions": {
|
||||
"description": "Option to include built-in and custom substitutions as env variables for all build steps.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"defaultLogsBucketBehavior": {
|
||||
"description": "Optional. Option to specify how default logs buckets are setup.",
|
||||
"enum": [
|
||||
"DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED",
|
||||
"REGIONAL_USER_OWNED_BUCKET"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to Cloud Storage buckets in the build project."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"diskSizeGb": {
|
||||
"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.",
|
||||
"format": "int64",
|
||||
@@ -2960,7 +3038,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"logStreamingOption": {
|
||||
"description": "Option to define build log streaming behavior to Google Cloud Storage.",
|
||||
"description": "Option to define build log streaming behavior to Cloud Storage.",
|
||||
"enum": [
|
||||
"STREAM_DEFAULT",
|
||||
"STREAM_ON",
|
||||
@@ -2968,8 +3046,8 @@
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Service may automatically determine build log streaming behavior.",
|
||||
"Build logs should be streamed to Google Cloud Storage.",
|
||||
"Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed."
|
||||
"Build logs should be streamed to Cloud Storage.",
|
||||
"Build logs should not be streamed to Cloud Storage; they will be written when the build is completed."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2983,6 +3061,14 @@
|
||||
"CLOUD_LOGGING_ONLY",
|
||||
"NONE"
|
||||
],
|
||||
"enumDeprecated": [
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
false
|
||||
],
|
||||
"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.",
|
||||
"Build logs are stored in Cloud Logging and Cloud Storage.",
|
||||
@@ -3000,14 +3086,16 @@
|
||||
"N1_HIGHCPU_8",
|
||||
"N1_HIGHCPU_32",
|
||||
"E2_HIGHCPU_8",
|
||||
"E2_HIGHCPU_32"
|
||||
"E2_HIGHCPU_32",
|
||||
"E2_MEDIUM"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Standard machine type.",
|
||||
"Highcpu machine with 8 CPUs.",
|
||||
"Highcpu machine with 32 CPUs.",
|
||||
"Highcpu e2 machine with 8 CPUs.",
|
||||
"Highcpu e2 machine with 32 CPUs."
|
||||
"Highcpu e2 machine with 32 CPUs.",
|
||||
"E2 machine with 1 CPU."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3040,12 +3128,14 @@
|
||||
"enum": [
|
||||
"NONE",
|
||||
"SHA256",
|
||||
"MD5"
|
||||
"MD5",
|
||||
"SHA512"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"No hash requested.",
|
||||
"Use a sha256 hash.",
|
||||
"Use a md5 hash."
|
||||
"Use a md5 hash.",
|
||||
"Use a sha512 hash."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3071,6 +3161,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"workerPool": {
|
||||
"deprecated": true,
|
||||
"description": "This field deprecated; please use `pool.name` instead.",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -3100,6 +3191,10 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"automapSubstitutions": {
|
||||
"description": "Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"dir": {
|
||||
"description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.",
|
||||
"type": "string"
|
||||
@@ -3398,6 +3493,25 @@
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"ConnectedRepository": {
|
||||
"description": "Location of the source in a 2nd-gen Google Cloud Build repository resource.",
|
||||
"id": "ConnectedRepository",
|
||||
"properties": {
|
||||
"dir": {
|
||||
"description": "Directory, relative to the source root, in which to run the build.",
|
||||
"type": "string"
|
||||
},
|
||||
"repository": {
|
||||
"description": "Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`.",
|
||||
"type": "string"
|
||||
},
|
||||
"revision": {
|
||||
"description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateBitbucketServerConfigOperationMetadata": {
|
||||
"description": "Metadata for `CreateBitbucketServerConfig` operation.",
|
||||
"id": "CreateBitbucketServerConfigOperationMetadata",
|
||||
@@ -3512,6 +3626,22 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DefaultServiceAccount": {
|
||||
"description": "The default service account used for `Builds`.",
|
||||
"id": "DefaultServiceAccount",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccountEmail": {
|
||||
"description": "Output only. The email address of the service account identity that will be used for a build by default. This is returned in the format `projects/{project}/serviceAccounts/{service_account}` where `{service_account}` could be the legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com. If no service account will be used by default, this will be empty.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeleteBitbucketServerConfigOperationMetadata": {
|
||||
"description": "Metadata for `DeleteBitbucketServerConfig` operation.",
|
||||
"id": "DeleteBitbucketServerConfigOperationMetadata",
|
||||
@@ -3672,17 +3802,23 @@
|
||||
"CLOUD_SOURCE_REPOSITORIES",
|
||||
"GITHUB",
|
||||
"BITBUCKET_SERVER",
|
||||
"GITLAB"
|
||||
"GITLAB",
|
||||
"BITBUCKET_CLOUD"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The default, unknown repo type.",
|
||||
"The default, unknown repo type. Don't use it, instead use one of the other repo types.",
|
||||
"A Google Cloud Source Repositories-hosted repo.",
|
||||
"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise).",
|
||||
"A Bitbucket Server-hosted repo.",
|
||||
"A GitLab-hosted repo."
|
||||
"A GitLab-hosted repo.",
|
||||
"A Bitbucket Cloud-hosted repo."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"repository": {
|
||||
"description": "The fully qualified resource name of the Repos API repository. Either URI or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.",
|
||||
"type": "string"
|
||||
},
|
||||
"revision": {
|
||||
"description": "The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.",
|
||||
"type": "string"
|
||||
@@ -3745,6 +3881,7 @@
|
||||
"id": "GitHubEnterpriseSecrets",
|
||||
"properties": {
|
||||
"oauthClientIdName": {
|
||||
"deprecated": true,
|
||||
"description": "The resource name for the OAuth client ID secret in Secret Manager.",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3753,6 +3890,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"oauthSecretName": {
|
||||
"deprecated": true,
|
||||
"description": "The resource name for the OAuth secret in Secret Manager.",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3761,6 +3899,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"privateKeyName": {
|
||||
"deprecated": true,
|
||||
"description": "The resource name for the private key secret.",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3769,6 +3908,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"webhookSecretName": {
|
||||
"deprecated": true,
|
||||
"description": "The resource name for the webhook secret in Secret Manager.",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3788,6 +3928,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"installationId": {
|
||||
"deprecated": true,
|
||||
"description": "The installationID that emits the GitHub event.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
@@ -4009,19 +4150,44 @@
|
||||
"CLOUD_SOURCE_REPOSITORIES",
|
||||
"GITHUB",
|
||||
"BITBUCKET_SERVER",
|
||||
"GITLAB"
|
||||
"GITLAB",
|
||||
"BITBUCKET_CLOUD"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The default, unknown repo type.",
|
||||
"The default, unknown repo type. Don't use it, instead use one of the other repo types.",
|
||||
"A Google Cloud Source Repositories-hosted repo.",
|
||||
"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise).",
|
||||
"A Bitbucket Server-hosted repo.",
|
||||
"A GitLab-hosted repo."
|
||||
"A GitLab-hosted repo.",
|
||||
"A Bitbucket Cloud-hosted repo."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"repository": {
|
||||
"description": "The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required.",
|
||||
"type": "string"
|
||||
},
|
||||
"uri": {
|
||||
"description": "The URI of the repo. Either uri or repository can be specified and is required.",
|
||||
"description": "The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GitSource": {
|
||||
"description": "Location of the source in any accessible Git repository.",
|
||||
"id": "GitSource",
|
||||
"properties": {
|
||||
"dir": {
|
||||
"description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.",
|
||||
"type": "string"
|
||||
},
|
||||
"revision": {
|
||||
"description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.",
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"description": "Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -4036,12 +4202,14 @@
|
||||
"enum": [
|
||||
"NONE",
|
||||
"SHA256",
|
||||
"MD5"
|
||||
"MD5",
|
||||
"SHA512"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"No hash requested.",
|
||||
"Use a sha256 hash.",
|
||||
"Use a md5 hash."
|
||||
"Use a md5 hash.",
|
||||
"Use a sha512 hash."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4295,6 +4463,21 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"NpmPackage": {
|
||||
"description": "Npm package to upload to Artifact Registry upon successful completion of all build steps.",
|
||||
"id": "NpmPackage",
|
||||
"properties": {
|
||||
"packagePath": {
|
||||
"description": "Path to the package.json. e.g. workspace/path/to/package",
|
||||
"type": "string"
|
||||
},
|
||||
"repository": {
|
||||
"description": "Artifact Registry repository, in the form \"https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY\" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Operation": {
|
||||
"description": "This resource represents a long-running operation that is the result of a network API call.",
|
||||
"id": "Operation",
|
||||
@@ -4324,7 +4507,7 @@
|
||||
"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 method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
|
||||
"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
@@ -4393,6 +4576,10 @@
|
||||
"$ref": "NetworkConfig",
|
||||
"description": "Network configuration for the pool."
|
||||
},
|
||||
"privateServiceConnect": {
|
||||
"$ref": "PrivateServiceConnect",
|
||||
"description": "Immutable. Private Service Connect(PSC) Network configuration for the pool."
|
||||
},
|
||||
"workerConfig": {
|
||||
"$ref": "WorkerConfig",
|
||||
"description": "Machine configuration for the workers in the pool."
|
||||
@@ -4400,6 +4587,25 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PrivateServiceConnect": {
|
||||
"description": "Defines the Private Service Connect network configuration for the pool.",
|
||||
"id": "PrivateServiceConnect",
|
||||
"properties": {
|
||||
"networkAttachment": {
|
||||
"description": "Required. Immutable. The network attachment that the worker network interface is peered to. Must be in the format `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. The region of network attachment must be the same as the worker pool. See [Network Attachments](https://cloud.google.com/vpc/docs/about-network-attachments)",
|
||||
"type": "string"
|
||||
},
|
||||
"publicIpAddressDisabled": {
|
||||
"description": "Required. Immutable. Disable public IP on the primary network interface. If true, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured. If false, workers are created with a public address which allows for public internet egress. The public address only applies to traffic through the primary network interface. If `route_all_traffic` is set to true, all traffic will go through the non-primary network interface, this boolean has no effect.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"routeAllTraffic": {
|
||||
"description": "Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ProcessAppManifestCallbackOperationMetadata": {
|
||||
"description": "Metadata for `ProcessAppManifestCallback` operation.",
|
||||
"id": "ProcessAppManifestCallbackOperationMetadata",
|
||||
@@ -4468,16 +4674,16 @@
|
||||
"type": "string"
|
||||
},
|
||||
"commentControl": {
|
||||
"description": "Configure builds to run whether a repository owner or collaborator need to comment `/gcbrun`.",
|
||||
"description": "If CommentControl is enabled, depending on the setting, builds may not fire until a repository writer comments `/gcbrun` on a pull request or `/gcbrun` is in the pull request description. Only PR comments that contain `/gcbrun` will trigger builds. If CommentControl is set to disabled, comments with `/gcbrun` from a user with repository write permission or above will still trigger builds to run.",
|
||||
"enum": [
|
||||
"COMMENTS_DISABLED",
|
||||
"COMMENTS_ENABLED",
|
||||
"COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Do not require comments on Pull Requests before builds are triggered.",
|
||||
"Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.",
|
||||
"Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered."
|
||||
"Do not require `/gcbrun` comments from a user with repository write permission or above on pull requests before builds are triggered. Comments that contain `/gcbrun` will still fire builds so this should be thought of as comments not required.",
|
||||
"Builds will only fire in response to pull requests if: 1. The pull request author has repository write permission or above and `/gcbrun` is in the PR description. 2. A user with repository writer permissions or above comments `/gcbrun` on a pull request authored by any user.",
|
||||
"Builds will only fire in response to pull requests if: 1. The pull request author is a repository writer or above. 2. If the author does not have write permissions, a user with write permissions or above must comment `/gcbrun` in order to fire a build."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4617,13 +4823,17 @@
|
||||
"REPOSITORY_TYPE_UNSPECIFIED",
|
||||
"GITHUB",
|
||||
"GITHUB_ENTERPRISE",
|
||||
"GITLAB_ENTERPRISE"
|
||||
"GITLAB_ENTERPRISE",
|
||||
"BITBUCKET_DATA_CENTER",
|
||||
"BITBUCKET_CLOUD"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"If unspecified, RepositoryType defaults to GITHUB.",
|
||||
"The SCM repo is GITHUB.",
|
||||
"The SCM repo is GITHUB Enterprise.",
|
||||
"The SCM repo is GITLAB Enterprise."
|
||||
"The SCM repo is GITLAB Enterprise.",
|
||||
"The SCM repo is BITBUCKET Data Center.",
|
||||
"The SCM repo is BITBUCKET Cloud."
|
||||
],
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
@@ -4651,7 +4861,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"buildStepOutputs": {
|
||||
"description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.",
|
||||
"description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.",
|
||||
"items": {
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
@@ -4672,6 +4882,13 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"npmPackages": {
|
||||
"description": "Npm packages uploaded to Artifact Registry at the end of the build.",
|
||||
"items": {
|
||||
"$ref": "UploadedNpmPackage"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"numArtifacts": {
|
||||
"description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.",
|
||||
"format": "int64",
|
||||
@@ -4795,17 +5012,25 @@
|
||||
"description": "Location of the source in a supported storage service.",
|
||||
"id": "Source",
|
||||
"properties": {
|
||||
"connectedRepository": {
|
||||
"$ref": "ConnectedRepository",
|
||||
"description": "Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource."
|
||||
},
|
||||
"gitSource": {
|
||||
"$ref": "GitSource",
|
||||
"description": "If provided, get the source from this Git repository."
|
||||
},
|
||||
"repoSource": {
|
||||
"$ref": "RepoSource",
|
||||
"description": "If provided, get the source from this location in a Cloud Source Repository."
|
||||
},
|
||||
"storageSource": {
|
||||
"$ref": "StorageSource",
|
||||
"description": "If provided, get the source from this location in Google Cloud Storage."
|
||||
"description": "If provided, get the source from this location in Cloud Storage."
|
||||
},
|
||||
"storageSourceManifest": {
|
||||
"$ref": "StorageSourceManifest",
|
||||
"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)."
|
||||
"description": "If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -4822,6 +5047,16 @@
|
||||
"readOnly": true,
|
||||
"type": "object"
|
||||
},
|
||||
"resolvedConnectedRepository": {
|
||||
"$ref": "ConnectedRepository",
|
||||
"description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.",
|
||||
"readOnly": true
|
||||
},
|
||||
"resolvedGitSource": {
|
||||
"$ref": "GitSource",
|
||||
"description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.",
|
||||
"readOnly": true
|
||||
},
|
||||
"resolvedRepoSource": {
|
||||
"$ref": "RepoSource",
|
||||
"description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved."
|
||||
@@ -4865,40 +5100,54 @@
|
||||
"type": "object"
|
||||
},
|
||||
"StorageSource": {
|
||||
"description": "Location of the source in an archive file in Google Cloud Storage.",
|
||||
"description": "Location of the source in an archive file in Cloud Storage.",
|
||||
"id": "StorageSource",
|
||||
"properties": {
|
||||
"bucket": {
|
||||
"description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).",
|
||||
"description": "Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).",
|
||||
"type": "string"
|
||||
},
|
||||
"generation": {
|
||||
"description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.",
|
||||
"description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"object": {
|
||||
"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.",
|
||||
"description": "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"
|
||||
},
|
||||
"sourceFetcher": {
|
||||
"description": "Optional. Option to specify the tool to fetch the source file for the build.",
|
||||
"enum": [
|
||||
"SOURCE_FETCHER_UNSPECIFIED",
|
||||
"GSUTIL",
|
||||
"GCS_FETCHER"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Unspecified defaults to GSUTIL.",
|
||||
"Use the \"gsutil\" tool to download the source file.",
|
||||
"Use the Cloud Storage Fetcher tool to download the source file."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"StorageSourceManifest": {
|
||||
"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).",
|
||||
"description": "Location of the source manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).",
|
||||
"id": "StorageSourceManifest",
|
||||
"properties": {
|
||||
"bucket": {
|
||||
"description": "Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).",
|
||||
"description": "Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).",
|
||||
"type": "string"
|
||||
},
|
||||
"generation": {
|
||||
"description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.",
|
||||
"description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"object": {
|
||||
"description": "Google Cloud Storage object containing the source manifest. This object must be a JSON file.",
|
||||
"description": "Cloud Storage object containing the source manifest. This object must be a JSON file.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -5025,6 +5274,26 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UploadedNpmPackage": {
|
||||
"description": "An npm package uploaded to Artifact Registry using the NpmPackage directive.",
|
||||
"id": "UploadedNpmPackage",
|
||||
"properties": {
|
||||
"fileHashes": {
|
||||
"$ref": "FileHashes",
|
||||
"description": "Hash types and values of the npm package."
|
||||
},
|
||||
"pushTiming": {
|
||||
"$ref": "TimeSpan",
|
||||
"description": "Output only. Stores timing information for pushing the specified artifact.",
|
||||
"readOnly": true
|
||||
},
|
||||
"uri": {
|
||||
"description": "URI of the uploaded npm package.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UploadedPythonPackage": {
|
||||
"description": "Artifact uploaded using the PythonPackage directive.",
|
||||
"id": "UploadedPythonPackage",
|
||||
|
||||
Reference in New Issue
Block a user