diff --git a/metadata/Api/Client.php b/metadata/Api/Client.php
index 43e474f..8ff39b0 100644
Binary files a/metadata/Api/Client.php and b/metadata/Api/Client.php differ
diff --git a/metadata/Api/ErrorReason.php b/metadata/Api/ErrorReason.php
index def5de9..22bd2d6 100644
Binary files a/metadata/Api/ErrorReason.php and b/metadata/Api/ErrorReason.php differ
diff --git a/src/Api/Documentation.php b/src/Api/Documentation.php
index b3c3c25..aced421 100644
--- a/src/Api/Documentation.php
+++ b/src/Api/Documentation.php
@@ -20,7 +20,7 @@
* content: (== include google/foo/overview.md ==)
* - name: Tutorial
* content: (== include google/foo/tutorial.md ==)
- * subpages;
+ * subpages:
* - name: Java
* content: (== include google/foo/tutorial_java.md ==)
* rules:
diff --git a/src/Api/ErrorReason.php b/src/Api/ErrorReason.php
index c91e2e5..b582e36 100644
--- a/src/Api/ErrorReason.php
+++ b/src/Api/ErrorReason.php
@@ -576,6 +576,25 @@ class ErrorReason
* Generated from protobuf enum GCP_SUSPENDED = 30;
*/
const GCP_SUSPENDED = 30;
+ /**
+ * The request violates the location policies when creating resources in
+ * the restricted region.
+ * Example of an ErrorInfo when creating the Cloud Storage Bucket by
+ * "projects/123" for service storage.googleapis.com:
+ * { "reason": "LOCATION_POLICY_VIOLATED",
+ * "domain": "googleapis.com",
+ * "metadata": {
+ * "consumer": "projects/123",
+ * "service": "storage.googleapis.com",
+ * }
+ * }
+ * This response indicates creating the Cloud Storage Bucket in
+ * "locations/asia-northeast3" violates at least one location policy.
+ * The troubleshooting guidance is provided in the Help links.
+ *
+ * Generated from protobuf enum LOCATION_POLICY_VIOLATED = 31;
+ */
+ const LOCATION_POLICY_VIOLATED = 31;
private static $valueToName = [
self::ERROR_REASON_UNSPECIFIED => 'ERROR_REASON_UNSPECIFIED',
@@ -608,6 +627,7 @@ class ErrorReason
self::ORG_RESTRICTION_HEADER_INVALID => 'ORG_RESTRICTION_HEADER_INVALID',
self::SERVICE_NOT_VISIBLE => 'SERVICE_NOT_VISIBLE',
self::GCP_SUSPENDED => 'GCP_SUSPENDED',
+ self::LOCATION_POLICY_VIOLATED => 'LOCATION_POLICY_VIOLATED',
];
public static function name($value)
diff --git a/src/Api/FieldInfo/Format.php b/src/Api/FieldInfo/Format.php
index ba9609a..1977ca9 100644
--- a/src/Api/FieldInfo/Format.php
+++ b/src/Api/FieldInfo/Format.php
@@ -42,9 +42,9 @@ class Format
/**
* Internet Protocol v6 value as defined by [RFC
* 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
- * normalized to entirely lowercase letters, and zero-padded partial and
- * empty octets. For example, the value `2001:DB8::` would be normalized to
- * `2001:0db8:0:0`.
+ * normalized to entirely lowercase letters with zeros compressed, following
+ * [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
+ * the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
*
* Generated from protobuf enum IPV6 = 3;
*/
diff --git a/src/Api/MonitoredResourceDescriptor.php b/src/Api/MonitoredResourceDescriptor.php
index 0435199..c6727e2 100644
--- a/src/Api/MonitoredResourceDescriptor.php
+++ b/src/Api/MonitoredResourceDescriptor.php
@@ -37,7 +37,7 @@ class MonitoredResourceDescriptor extends \Google\Protobuf\Internal\Message
/**
* Required. The monitored resource type. For example, the type
* `"cloudsql_database"` represents databases in Google Cloud SQL.
- * For a list of types, see [Monitoring resource
+ * For a list of types, see [Monitored resource
* types](https://cloud.google.com/monitoring/api/resources)
* and [Logging resource
* types](https://cloud.google.com/logging/docs/api/v2/resource-list).
@@ -92,7 +92,7 @@ class MonitoredResourceDescriptor extends \Google\Protobuf\Internal\Message
* @type string $type
* Required. The monitored resource type. For example, the type
* `"cloudsql_database"` represents databases in Google Cloud SQL.
- * For a list of types, see [Monitoring resource
+ * For a list of types, see [Monitored resource
* types](https://cloud.google.com/monitoring/api/resources)
* and [Logging resource
* types](https://cloud.google.com/logging/docs/api/v2/resource-list).
@@ -156,7 +156,7 @@ public function setName($var)
/**
* Required. The monitored resource type. For example, the type
* `"cloudsql_database"` represents databases in Google Cloud SQL.
- * For a list of types, see [Monitoring resource
+ * For a list of types, see [Monitored resource
* types](https://cloud.google.com/monitoring/api/resources)
* and [Logging resource
* types](https://cloud.google.com/logging/docs/api/v2/resource-list).
@@ -172,7 +172,7 @@ public function getType()
/**
* Required. The monitored resource type. For example, the type
* `"cloudsql_database"` represents databases in Google Cloud SQL.
- * For a list of types, see [Monitoring resource
+ * For a list of types, see [Monitored resource
* types](https://cloud.google.com/monitoring/api/resources)
* and [Logging resource
* types](https://cloud.google.com/logging/docs/api/v2/resource-list).
diff --git a/src/Api/Publishing.php b/src/Api/Publishing.php
index 48bbd9f..6618617 100644
--- a/src/Api/Publishing.php
+++ b/src/Api/Publishing.php
@@ -87,6 +87,13 @@ class Publishing extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string proto_reference_documentation_uri = 110;
*/
protected $proto_reference_documentation_uri = '';
+ /**
+ * Optional link to REST reference documentation. Example:
+ * https://cloud.google.com/pubsub/lite/docs/reference/rest
+ *
+ * Generated from protobuf field string rest_reference_documentation_uri = 111;
+ */
+ protected $rest_reference_documentation_uri = '';
/**
* Constructor.
@@ -124,6 +131,9 @@ class Publishing extends \Google\Protobuf\Internal\Message
* @type string $proto_reference_documentation_uri
* Optional link to proto reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rpc
+ * @type string $rest_reference_documentation_uri
+ * Optional link to REST reference documentation. Example:
+ * https://cloud.google.com/pubsub/lite/docs/reference/rest
* }
*/
public function __construct($data = NULL) {
@@ -411,5 +421,33 @@ public function setProtoReferenceDocumentationUri($var)
return $this;
}
+ /**
+ * Optional link to REST reference documentation. Example:
+ * https://cloud.google.com/pubsub/lite/docs/reference/rest
+ *
+ * Generated from protobuf field string rest_reference_documentation_uri = 111;
+ * @return string
+ */
+ public function getRestReferenceDocumentationUri()
+ {
+ return $this->rest_reference_documentation_uri;
+ }
+
+ /**
+ * Optional link to REST reference documentation. Example:
+ * https://cloud.google.com/pubsub/lite/docs/reference/rest
+ *
+ * Generated from protobuf field string rest_reference_documentation_uri = 111;
+ * @param string $var
+ * @return $this
+ */
+ public function setRestReferenceDocumentationUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->rest_reference_documentation_uri = $var;
+
+ return $this;
+ }
+
}