Skip to content

Commit d9bffe0

Browse files
docs: Update description on allowed_locations in LocationPolicy field (googleapis#25827)
1 parent 47a2db2 commit d9bffe0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • google-cloud-batch-v1/proto_docs/google/cloud/batch/v1

google-cloud-batch-v1/proto_docs/google/cloud/batch/v1/job.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,11 @@ class AllocationPolicy
340340
# ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
341341
# in zones us-central1-a and us-central1-c.
342342
#
343-
# All locations end up in different regions would cause errors.
343+
# Mixing locations from different regions would cause errors.
344344
# For example,
345345
# ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
346-
# "zones/us-west1-a"] contains 2 regions "us-central1" and
347-
# "us-west1". An error is expected in this case.
346+
# "zones/us-west1-a"] contains locations from two distinct regions:
347+
# us-central1 and us-west1. This combination will trigger an error.
348348
class LocationPolicy
349349
include ::Google::Protobuf::MessageExts
350350
extend ::Google::Protobuf::MessageExts::ClassMethods

0 commit comments

Comments
 (0)