From e02791c95b6eecdacf1af80b6aa60a855109c87f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 24 May 2023 18:27:00 +0000 Subject: [PATCH] feat(cloudbuild): update the api #### cloudbuild:v1 The following keys were added: - resources.projects.resources.githubEnterpriseConfigs.methods.create.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.githubEnterpriseConfigs.methods.delete.parameters.configId.deprecated (Total Keys: 1) - resources.projects.resources.githubEnterpriseConfigs.methods.delete.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.githubEnterpriseConfigs.methods.get.parameters.configId.deprecated (Total Keys: 1) - resources.projects.resources.githubEnterpriseConfigs.methods.get.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.githubEnterpriseConfigs.methods.list.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.create.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.delete.parameters.configId.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.delete.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.get.parameters.configId.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.get.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.list.parameters.projectId.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.triggers.methods.patch.parameters.updateMask (Total Keys: 3) - resources.projects.resources.triggers.methods.patch.parameters.updateMask (Total Keys: 3) - schemas.GitFileSource.properties.repository.type (Total Keys: 1) - schemas.GitRepoSource.properties.repository.type (Total Keys: 1) --- docs/dyn/cloudbuild_v1.projects.builds.html | 148 +++++------ ...oudbuild_v1.projects.locations.builds.html | 148 +++++------ ...dbuild_v1.projects.locations.triggers.html | 245 +++++++++--------- docs/dyn/cloudbuild_v1.projects.triggers.html | 245 +++++++++--------- .../documents/cloudbuild.v1.json | 70 +++-- 5 files changed, 457 insertions(+), 399 deletions(-) diff --git a/docs/dyn/cloudbuild_v1.projects.builds.html b/docs/dyn/cloudbuild_v1.projects.builds.html index d5e0e7782cc..8f5f660f649 100644 --- a/docs/dyn/cloudbuild_v1.projects.builds.html +++ b/docs/dyn/cloudbuild_v1.projects.builds.html @@ -97,7 +97,7 @@

Instance Methods

Retrieves the next page of results.

retry(projectId, id, body=None, x__xgafv=None)

-

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.

+

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.

Method Details

approve(name, body=None, x__xgafv=None) @@ -251,7 +251,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -260,7 +260,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -386,15 +386,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -420,15 +420,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -592,7 +592,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -601,7 +601,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -727,15 +727,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -761,15 +761,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -964,7 +964,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -973,7 +973,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1099,15 +1099,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1133,15 +1133,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1311,7 +1311,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -1320,7 +1320,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1446,15 +1446,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1480,15 +1480,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1577,7 +1577,7 @@

Method Details

retry(projectId, id, body=None, x__xgafv=None) -
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.
+  
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.
 
 Args:
   projectId: string, Required. ID of the project. (required)
diff --git a/docs/dyn/cloudbuild_v1.projects.locations.builds.html b/docs/dyn/cloudbuild_v1.projects.locations.builds.html
index 839047ed712..0fc321da1ad 100644
--- a/docs/dyn/cloudbuild_v1.projects.locations.builds.html
+++ b/docs/dyn/cloudbuild_v1.projects.locations.builds.html
@@ -97,7 +97,7 @@ 

Instance Methods

Retrieves the next page of results.

retry(name, body=None, x__xgafv=None)

-

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.

+

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.

Method Details

approve(name, body=None, x__xgafv=None) @@ -250,7 +250,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -259,7 +259,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -385,15 +385,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -419,15 +419,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -591,7 +591,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -600,7 +600,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -726,15 +726,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -760,15 +760,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -963,7 +963,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -972,7 +972,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1098,15 +1098,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1132,15 +1132,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1310,7 +1310,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -1319,7 +1319,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1445,15 +1445,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1479,15 +1479,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1576,7 +1576,7 @@

Method Details

retry(name, body=None, x__xgafv=None) -
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.
+  
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.
 
 Args:
   name: string, The name of the `Build` to retry. Format: `projects/{project}/locations/{location}/builds/{build}` (required)
diff --git a/docs/dyn/cloudbuild_v1.projects.locations.triggers.html b/docs/dyn/cloudbuild_v1.projects.locations.triggers.html
index e09c89670d8..d8eb8d0924d 100644
--- a/docs/dyn/cloudbuild_v1.projects.locations.triggers.html
+++ b/docs/dyn/cloudbuild_v1.projects.locations.triggers.html
@@ -93,7 +93,7 @@ 

Instance Methods

list_next()

Retrieves the next page of results.

- patch(resourceName, body, projectId=None, triggerId=None, x__xgafv=None)

+ patch(resourceName, body, projectId=None, triggerId=None, updateMask=None, x__xgafv=None)

Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental.

run(name, body=None, x__xgafv=None)

@@ -238,7 +238,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -247,7 +247,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -373,15 +373,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -407,15 +407,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -494,6 +494,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -588,7 +589,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -745,7 +747,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -754,7 +756,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -880,15 +882,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -914,15 +916,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1001,6 +1003,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -1095,7 +1098,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -1280,7 +1284,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -1289,7 +1293,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1415,15 +1419,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1449,15 +1453,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1536,6 +1540,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -1630,7 +1635,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -1799,7 +1805,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -1808,7 +1814,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1934,15 +1940,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1968,15 +1974,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -2055,6 +2061,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -2149,7 +2156,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -2193,7 +2201,7 @@

Method Details

- patch(resourceName, body, projectId=None, triggerId=None, x__xgafv=None) + patch(resourceName, body, projectId=None, triggerId=None, updateMask=None, x__xgafv=None)
Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental.
 
 Args:
@@ -2323,7 +2331,7 @@ 

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -2332,7 +2340,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -2458,15 +2466,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -2492,15 +2500,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -2579,6 +2587,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -2673,7 +2682,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -2701,6 +2711,7 @@

Method Details

projectId: string, Required. ID of the project that owns the trigger. triggerId: string, Required. ID of the `BuildTrigger` to update. + updateMask: string, 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. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -2831,7 +2842,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -2840,7 +2851,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -2966,15 +2977,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -3000,15 +3011,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -3087,6 +3098,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -3181,7 +3193,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", diff --git a/docs/dyn/cloudbuild_v1.projects.triggers.html b/docs/dyn/cloudbuild_v1.projects.triggers.html index c19e8360305..29a25304c2f 100644 --- a/docs/dyn/cloudbuild_v1.projects.triggers.html +++ b/docs/dyn/cloudbuild_v1.projects.triggers.html @@ -93,7 +93,7 @@

Instance Methods

list_next()

Retrieves the next page of results.

- patch(projectId, triggerId, body, x__xgafv=None)

+ patch(projectId, triggerId, body, updateMask=None, x__xgafv=None)

Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental.

run(projectId, triggerId, body=None, name=None, x__xgafv=None)

@@ -238,7 +238,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -247,7 +247,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -373,15 +373,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -407,15 +407,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -494,6 +494,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -588,7 +589,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -745,7 +747,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -754,7 +756,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -880,15 +882,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -914,15 +916,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1001,6 +1003,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -1095,7 +1098,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -1280,7 +1284,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -1289,7 +1293,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1415,15 +1419,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1449,15 +1453,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -1536,6 +1540,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -1630,7 +1635,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -1799,7 +1805,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -1808,7 +1814,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -1934,15 +1940,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -1968,15 +1974,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -2055,6 +2061,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -2149,7 +2156,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -2193,7 +2201,7 @@

Method Details

- patch(projectId, triggerId, body, x__xgafv=None) + patch(projectId, triggerId, body, updateMask=None, x__xgafv=None)
Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental.
 
 Args:
@@ -2324,7 +2332,7 @@ 

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -2333,7 +2341,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -2459,15 +2467,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -2493,15 +2501,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -2580,6 +2588,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -2674,7 +2683,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", @@ -2700,6 +2710,7 @@

Method Details

}, } + updateMask: string, 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. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -2830,7 +2841,7 @@

Method Details

"A String", ], "logUrl": "A String", # Output only. URL to logs for this build in Google Cloud Console. - "logsBucket": "A String", # 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`. + "logsBucket": "A String", # 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`. "name": "A String", # Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. "options": { # Optional arguments to enable specific features of builds. # Special options for this build. "defaultLogsBucketBehavior": "A String", # Optional. Option to specify how default logs buckets are setup. @@ -2839,7 +2850,7 @@

Method Details

"env": [ # A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". "A String", ], - "logStreamingOption": "A String", # Option to define build log streaming behavior to Google Cloud Storage. + "logStreamingOption": "A String", # Option to define build log streaming behavior to Cloud Storage. "logging": "A String", # Option to specify the logging mode, which determines if and where build logs are stored. "machineType": "A String", # Compute Engine machine type on which to run the build. "pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. @@ -2965,15 +2976,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "storageSource": { # Location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "storageSource": { # Location of the source in an archive file in Cloud Storage. # If provided, get the source from this location in Cloud Storage. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "storageSourceManifest": { # 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). # 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). - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "storageSourceManifest": { # 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). # 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). + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that some source was used for this build. # Output only. A permanent fixed identifier for source. @@ -2999,15 +3010,15 @@

Method Details

}, "tagName": "A String", # Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax }, - "resolvedStorageSource": { # Location of the source in an archive file in Google Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. - "bucket": "A String", # Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + "resolvedStorageSource": { # Location of the source in an archive file in Cloud Storage. # A copy of the build's `source.storage_source`, if exists, with any generations resolved. + "bucket": "A String", # Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. }, - "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. - "bucket": "A String", # Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - "generation": "A String", # Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - "object": "A String", # Google Cloud Storage object containing the source manifest. This object must be a JSON file. + "resolvedStorageSourceManifest": { # 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). # A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. + "bucket": "A String", # Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + "generation": "A String", # Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. + "object": "A String", # Cloud Storage object containing the source manifest. This object must be a JSON file. }, }, "startTime": "A String", # Output only. Time at which execution of the build was started. @@ -3086,6 +3097,7 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "path": "A String", # The path of the file, with the repo root as the root of the path. "repoType": "A String", # See RepoType above. + "repository": "A String", # 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. "revision": "A String", # 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. "uri": "A String", # The URI of the repo. 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. }, @@ -3180,7 +3192,8 @@

Method Details

"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`. "ref": "A String", # The branch or tag to use. Must start with "refs/" (required). "repoType": "A String", # See RepoType below. - "uri": "A String", # The URI of the repo. Either uri or repository can be specified and is required. + "repository": "A String", # The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. + "uri": "A String", # The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. }, "substitutions": { # Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`. "a_key": "A String", diff --git a/googleapiclient/discovery_cache/documents/cloudbuild.v1.json b/googleapiclient/discovery_cache/documents/cloudbuild.v1.json index edfb25f9524..aedc7a69a3b 100644 --- a/googleapiclient/discovery_cache/documents/cloudbuild.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudbuild.v1.json @@ -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" @@ -1046,7 +1052,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 +1364,7 @@ "type": "string" }, "projectId": { + "deprecated": true, "description": "ID of the project.", "location": "query", "type": "string" @@ -1384,6 +1391,7 @@ ], "parameters": { "configId": { + "deprecated": true, "description": "Unique identifier of the `GitHubEnterpriseConfig`", "location": "query", "type": "string" @@ -1396,6 +1404,7 @@ "type": "string" }, "projectId": { + "deprecated": true, "description": "ID of the project", "location": "query", "type": "string" @@ -1419,6 +1428,7 @@ ], "parameters": { "configId": { + "deprecated": true, "description": "Unique identifier of the `GitHubEnterpriseConfig`", "location": "query", "type": "string" @@ -1431,6 +1441,7 @@ "type": "string" }, "projectId": { + "deprecated": true, "description": "ID of the project", "location": "query", "type": "string" @@ -1461,6 +1472,7 @@ "type": "string" }, "projectId": { + "deprecated": true, "description": "ID of the project", "location": "query", "type": "string" @@ -1738,6 +1750,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}", @@ -2172,6 +2190,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 +2319,7 @@ } } }, - "revision": "20230417", + "revision": "20230522", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -2395,7 +2419,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" } }, @@ -2767,7 +2791,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": { @@ -2979,7 +3003,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", @@ -2987,8 +3011,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" }, @@ -3704,6 +3728,10 @@ ], "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" @@ -4041,8 +4069,12 @@ ], "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" } }, @@ -4869,11 +4901,11 @@ }, "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" @@ -4933,40 +4965,40 @@ "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" } }, "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" } },