File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite
samples/snippets/src/test/java/pubsublite Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public abstract static class Builder extends ProjectLocationBuilderHelper<Builde
54
54
/**
55
55
* Parse a location path. Should be structured like:
56
56
*
57
- * <p>projects/<project number>/locations/<cloud zone>
57
+ * <p>projects/<project number>/locations/<cloud region or zone>
58
58
*/
59
59
public static LocationPath parse (String path ) throws ApiException {
60
60
String [] splits = path .split ("/" );
Original file line number Diff line number Diff line change 26
26
/**
27
27
* A string wrapper representing a subscription. Should be structured like:
28
28
*
29
- * <p>projects/<project number>/locations/<cloud zone>/subscriptions/<id>
29
+ * <p>projects/<project number>/locations/<cloud region or
30
+ * zone>/subscriptions/<id>
30
31
*/
31
32
@ AutoValue
32
33
public abstract class SubscriptionPath implements Serializable {
Original file line number Diff line number Diff line change 26
26
/**
27
27
* A string wrapper representing a topic. Should be structured like:
28
28
*
29
- * <p>projects/<project number>/locations/<cloud zone>/topics/<id>
29
+ * <p>projects/<project number>/locations/<cloud region or zone>/topics/<id>
30
30
*/
31
31
@ AutoValue
32
32
public abstract class TopicPath implements Serializable {
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class QuickStartIT {
44
44
45
45
private static final Long projectNumber =
46
46
Long .parseLong (System .getenv ("GOOGLE_CLOUD_PROJECT_NUMBER" ));
47
- private String cloudRegion = "us-west1 " ;
47
+ private String cloudRegion = "us-central1 " ;
48
48
private final char zoneId = (char ) (rand .nextInt (3 ) + 'a' );
49
49
private static final String suffix = UUID .randomUUID ().toString ();
50
50
private static final String reservationId = "lite-reservation-" + suffix ;
You can’t perform that action at this time.
0 commit comments