Browse Source

Update contrib/libs/googleapis-common-protos to 1.63.0
87d4cd660b76e1c5397d5581fc2d613262b11a04

robot-contrib 11 months ago
parent
commit
a9eaa1d528

+ 9 - 0
contrib/libs/googleapis-common-protos/CHANGELOG.md

@@ -1,5 +1,14 @@
 # Changelog
 
+## [1.63.0](https://github.com/googleapis/python-api-common-protos/compare/v1.62.0...v1.63.0) (2024-03-08)
+
+
+### Features
+
+* Add `api_version` field to `ServiceOptions` in `google/api/client.proto` ([6f9c4d2](https://github.com/googleapis/python-api-common-protos/commit/6f9c4d2b4b787d9ed2b447d7b99281aa3dcf97b5))
+* Add `LOCATION_POLICY_VIOLATED` enum to `ErrorReason` in `google/api/error_reason.proto` ([6f9c4d2](https://github.com/googleapis/python-api-common-protos/commit/6f9c4d2b4b787d9ed2b447d7b99281aa3dcf97b5))
+* Add `rest_reference_documentation_uri` field to `ServiceOptions` in `google/api/client.proto` ([6f9c4d2](https://github.com/googleapis/python-api-common-protos/commit/6f9c4d2b4b787d9ed2b447d7b99281aa3dcf97b5))
+
 ## [1.62.0](https://github.com/googleapis/python-api-common-protos/compare/v1.61.0...v1.62.0) (2023-12-01)
 
 

+ 20 - 0
contrib/libs/googleapis-common-protos/google/api/client.proto

@@ -98,6 +98,22 @@ extend google.protobuf.ServiceOptions {
   //     ...
   //   }
   string oauth_scopes = 1050;
+
+  // The API version of this service, which should be sent by version-aware
+  // clients to the service. This allows services to abide by the schema and
+  // behavior of the service at the time this API version was deployed.
+  // The format of the API version must be treated as opaque by clients.
+  // Services may use a format with an apparent structure, but clients must
+  // not rely on this to determine components within an API version, or attempt
+  // to construct other valid API versions. Note that this is for upcoming
+  // functionality and may not be implemented for all services.
+  //
+  // Example:
+  //
+  //   service Foo {
+  //     option (google.api.api_version) = "v1_20230821_preview";
+  //   }
+  string api_version = 525000001;
 }
 
 // Required information for every language.
@@ -192,6 +208,10 @@ message Publishing {
   // Optional link to proto reference documentation.  Example:
   // https://cloud.google.com/pubsub/lite/docs/reference/rpc
   string proto_reference_documentation_uri = 110;
+
+  // Optional link to REST reference documentation.  Example:
+  // https://cloud.google.com/pubsub/lite/docs/reference/rest
+  string rest_reference_documentation_uri = 111;
 }
 
 // Settings for Java client libraries.

+ 1 - 1
contrib/libs/googleapis-common-protos/google/api/documentation.proto

@@ -34,7 +34,7 @@ option objc_class_prefix = "GAPI";
 //     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:

+ 19 - 0
contrib/libs/googleapis-common-protos/google/api/error_reason.proto

@@ -567,4 +567,23 @@ enum ErrorReason {
   //
   // This response indicates the associated GCP account has been suspended.
   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.
+  LOCATION_POLICY_VIOLATED = 31;
 }

+ 1 - 1
contrib/libs/googleapis-common-protos/google/api/field_behavior.proto

@@ -37,7 +37,7 @@ extend google.protobuf.FieldOptions {
   //   google.protobuf.Timestamp expire_time = 1
   //     [(google.api.field_behavior) = OUTPUT_ONLY,
   //      (google.api.field_behavior) = IMMUTABLE];
-  repeated google.api.FieldBehavior field_behavior = 1052;
+  repeated google.api.FieldBehavior field_behavior = 1052 [packed = false];
 }
 
 // An indicator of the behavior of a given field (for example, that a field

+ 3 - 3
contrib/libs/googleapis-common-protos/google/api/field_info.proto

@@ -61,9 +61,9 @@ message FieldInfo {
 
     // 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::`.
     IPV6 = 3;
 
     // An IP address in either v4 or v6 format as described by the individual

+ 1 - 1
contrib/libs/googleapis-common-protos/google/api/monitored_resource.proto

@@ -49,7 +49,7 @@ message MonitoredResourceDescriptor {
 
   // 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).

+ 2 - 2
contrib/libs/googleapis-common-protos/ya.make

@@ -6,9 +6,9 @@ LICENSE(Apache-2.0)
 
 LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
 
-VERSION(1.62.0)
+VERSION(1.63.0)
 
-ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.62.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.63.0.tar.gz)
 
 PY_NAMESPACE(.)