You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java
+86-51Lines changed: 86 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLi
Copy file name to clipboardExpand all lines: sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
Copy file name to clipboardExpand all lines: sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ public interface CommonLanguageSettingsOrBuilder
Copy file name to clipboardExpand all lines: sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
* content: (== include google/foo/overview.md ==)
36
36
* - name: Tutorial
37
37
* content: (== include google/foo/tutorial.md ==)
38
-
* subpages;
38
+
* subpages:
39
39
* - name: Java
40
40
* content: (== include google/foo/tutorial_java.md ==)
Copy file name to clipboardExpand all lines: sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -783,6 +783,32 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
783
783
* <code>GCP_SUSPENDED = 30;</code>
784
784
*/
785
785
GCP_SUSPENDED(30),
786
+
/**
787
+
*
788
+
*
789
+
* <pre>
790
+
* The request violates the location policies when creating resources in
791
+
* the restricted region.
792
+
*
793
+
* Example of an ErrorInfo when creating the Cloud Storage Bucket by
794
+
* "projects/123" for service storage.googleapis.com:
795
+
*
796
+
* { "reason": "LOCATION_POLICY_VIOLATED",
797
+
* "domain": "googleapis.com",
798
+
* "metadata": {
799
+
* "consumer": "projects/123",
800
+
* "service": "storage.googleapis.com",
801
+
* }
802
+
* }
803
+
*
804
+
* This response indicates creating the Cloud Storage Bucket in
805
+
* "locations/asia-northeast3" violates at least one location policy.
806
+
* The troubleshooting guidance is provided in the Help links.
807
+
* </pre>
808
+
*
809
+
* <code>LOCATION_POLICY_VIOLATED = 31;</code>
810
+
*/
811
+
LOCATION_POLICY_VIOLATED(31),
786
812
UNRECOGNIZED(-1),
787
813
;
788
814
@@ -1531,6 +1557,32 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
1531
1557
* <code>GCP_SUSPENDED = 30;</code>
1532
1558
*/
1533
1559
publicstaticfinalintGCP_SUSPENDED_VALUE = 30;
1560
+
/**
1561
+
*
1562
+
*
1563
+
* <pre>
1564
+
* The request violates the location policies when creating resources in
1565
+
* the restricted region.
1566
+
*
1567
+
* Example of an ErrorInfo when creating the Cloud Storage Bucket by
1568
+
* "projects/123" for service storage.googleapis.com:
1569
+
*
1570
+
* { "reason": "LOCATION_POLICY_VIOLATED",
1571
+
* "domain": "googleapis.com",
1572
+
* "metadata": {
1573
+
* "consumer": "projects/123",
1574
+
* "service": "storage.googleapis.com",
1575
+
* }
1576
+
* }
1577
+
*
1578
+
* This response indicates creating the Cloud Storage Bucket in
1579
+
* "locations/asia-northeast3" violates at least one location policy.
1580
+
* The troubleshooting guidance is provided in the Help links.
0 commit comments