Skip to content

Commit e889809

Browse files
feat: [google-cloud-build] Add LEGACY_BUCKET option to DefaultLogsBucketBehavior (googleapis#13099)
BEGIN_COMMIT_OVERRIDE feat: Add LEGACY_BUCKET option to DefaultLogsBucketBehavior docs: Sanitize docs END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. docs: Sanitize docs PiperOrigin-RevId: 677021009 Source-Link: googleapis/googleapis@a18d9b2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/09d68f35365c74ad276cea3e7c26553a1485faa0 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJ1aWxkLy5Pd2xCb3QueWFtbCIsImgiOiIwOWQ2OGYzNTM2NWM3NGFkMjc2Y2VhM2U3YzI2NTUzYTE0ODVmYWEwIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent afcf7cb commit e889809

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • packages/google-cloud-build/google/cloud/devtools/cloudbuild_v1/types

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v1/types/cloudbuild.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,7 +3278,7 @@ class LoggingMode(proto.Enum):
32783278
NONE = 4
32793279

32803280
class DefaultLogsBucketBehavior(proto.Enum):
3281-
r"""Default GCS log bucket behavior options.
3281+
r"""Default Cloud Storage log bucket behavior options.
32823282
32833283
Values:
32843284
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED (0):
@@ -3287,10 +3287,15 @@ class DefaultLogsBucketBehavior(proto.Enum):
32873287
Bucket is located in user-owned project in
32883288
the same region as the build. The builder
32893289
service account must have access to create and
3290-
write to GCS buckets in the build project.
3290+
write to Cloud Storage buckets in the build
3291+
project.
3292+
LEGACY_BUCKET (2):
3293+
Bucket is located in a Google-owned project
3294+
and is not regionalized.
32913295
"""
32923296
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED = 0
32933297
REGIONAL_USER_OWNED_BUCKET = 1
3298+
LEGACY_BUCKET = 2
32943299

32953300
class PoolOption(proto.Message):
32963301
r"""Details about how a build should be executed on a ``WorkerPool``.

0 commit comments

Comments
 (0)