aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-09-14 10:11:01 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-09-14 10:21:16 +0300
commit47df7453282e2d3835d93fd3c4c24f9cbf8adca5 (patch)
treea402399e7a3cb167e36c0526187453916e1beb02 /contrib
parent5102ecdc728c69dec504df2d376d70fe72936071 (diff)
downloadydb-47df7453282e2d3835d93fd3c4c24f9cbf8adca5.tar.gz
Update contrib/libs/googleapis-common-protos to 1.65.0
commit_hash:68e7d6145701ae2db79846cc7d0139b26561952a
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/googleapis-common-protos/CHANGELOG.md27
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/client.proto38
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/context.proto6
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/endpoint.proto12
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/field_info.proto39
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/http.proto48
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/resource.proto9
-rw-r--r--contrib/libs/googleapis-common-protos/ya.make4
8 files changed, 125 insertions, 58 deletions
diff --git a/contrib/libs/googleapis-common-protos/CHANGELOG.md b/contrib/libs/googleapis-common-protos/CHANGELOG.md
index 85d5a1bcbc..299993a24b 100644
--- a/contrib/libs/googleapis-common-protos/CHANGELOG.md
+++ b/contrib/libs/googleapis-common-protos/CHANGELOG.md
@@ -1,5 +1,32 @@
# Changelog
+## [1.65.0](https://github.com/googleapis/python-api-common-protos/compare/v1.64.0...v1.65.0) (2024-08-27)
+
+
+### Features
+
+* Add field `experimental_features` to message `PythonSettings` ([#249](https://github.com/googleapis/python-api-common-protos/issues/249)) ([139490f](https://github.com/googleapis/python-api-common-protos/commit/139490fedcebf1a6674d9cf058226e6814208619))
+
+## [1.64.0](https://github.com/googleapis/python-api-common-protos/compare/v1.63.2...v1.64.0) (2024-08-26)
+
+
+### Features
+
+* Add FieldInfo.referenced_types for generics ([2ba3577](https://github.com/googleapis/python-api-common-protos/commit/2ba35774cb6ea31513b1985e3a391c5c3435e7be))
+
+
+### Bug Fixes
+
+* Un-deprecate Endpoint.aliases field ([2ba3577](https://github.com/googleapis/python-api-common-protos/commit/2ba35774cb6ea31513b1985e3a391c5c3435e7be))
+
+
+### Documentation
+
+* Fix formatting in http.proto comments ([2ba3577](https://github.com/googleapis/python-api-common-protos/commit/2ba35774cb6ea31513b1985e3a391c5c3435e7be))
+* Improve MethodSettings selector examples ([2ba3577](https://github.com/googleapis/python-api-common-protos/commit/2ba35774cb6ea31513b1985e3a391c5c3435e7be))
+* Reformat comments in context proto ([2ba3577](https://github.com/googleapis/python-api-common-protos/commit/2ba35774cb6ea31513b1985e3a391c5c3435e7be))
+* Update ResourceDescriptor.plural docs with AIP-122 nested collections guidance ([2ba3577](https://github.com/googleapis/python-api-common-protos/commit/2ba35774cb6ea31513b1985e3a391c5c3435e7be))
+
## [1.63.2](https://github.com/googleapis/python-api-common-protos/compare/v1.63.1...v1.63.2) (2024-06-19)
diff --git a/contrib/libs/googleapis-common-protos/google/api/client.proto b/contrib/libs/googleapis-common-protos/google/api/client.proto
index 3a5f9290f9..211575880c 100644
--- a/contrib/libs/googleapis-common-protos/google/api/client.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/client.proto
@@ -263,8 +263,22 @@ message PhpSettings {
// Settings for Python client libraries.
message PythonSettings {
+ // Experimental features to be included during client library generation.
+ // These fields will be deprecated once the feature graduates and is enabled
+ // by default.
+ message ExperimentalFeatures {
+ // Enables generation of asynchronous REST clients if `rest` transport is
+ // enabled. By default, asynchronous REST clients will not be generated.
+ // This feature will be enabled by default 1 month after launching the
+ // feature in preview packages.
+ bool rest_async_io_enabled = 1;
+ }
+
// Some settings.
CommonLanguageSettings common = 1;
+
+ // Experimental features to be included during client library generation.
+ ExperimentalFeatures experimental_features = 2;
}
// Settings for Node client libraries.
@@ -349,6 +363,13 @@ message MethodSettings {
// The fully qualified name of the method, for which the options below apply.
// This is used to find the method to apply the options.
+ //
+ // Example:
+ //
+ // publishing:
+ // method_settings:
+ // - selector: google.storage.control.v2.StorageControl.CreateFolder
+ // # method settings for CreateFolder...
string selector = 1;
// Describes settings to use for long-running operations when generating
@@ -357,17 +378,14 @@ message MethodSettings {
//
// Example of a YAML configuration::
//
- // publishing:
- // method_settings:
+ // publishing:
+ // method_settings:
// - selector: google.cloud.speech.v2.Speech.BatchRecognize
// long_running:
- // initial_poll_delay:
- // seconds: 60 # 1 minute
+ // initial_poll_delay: 60s # 1 minute
// poll_delay_multiplier: 1.5
- // max_poll_delay:
- // seconds: 360 # 6 minutes
- // total_poll_timeout:
- // seconds: 54000 # 90 minutes
+ // max_poll_delay: 360s # 6 minutes
+ // total_poll_timeout: 54000s # 90 minutes
LongRunning long_running = 2;
// List of top-level fields of the request message, that should be
@@ -376,8 +394,8 @@ message MethodSettings {
//
// Example of a YAML configuration:
//
- // publishing:
- // method_settings:
+ // publishing:
+ // method_settings:
// - selector: google.example.v1.ExampleService.CreateExample
// auto_populated_fields:
// - request_id
diff --git a/contrib/libs/googleapis-common-protos/google/api/context.proto b/contrib/libs/googleapis-common-protos/google/api/context.proto
index 78f2813b39..ec76a47f8a 100644
--- a/contrib/libs/googleapis-common-protos/google/api/context.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/context.proto
@@ -74,10 +74,12 @@ message ContextRule {
// details.
string selector = 1;
- // A list of full type names of requested contexts.
+ // A list of full type names of requested contexts, only the requested context
+ // will be made available to the backend.
repeated string requested = 2;
- // A list of full type names of provided contexts.
+ // A list of full type names of provided contexts. It is used to support
+ // propagating HTTP headers and ETags from the response extension.
repeated string provided = 3;
// A list of full type names or extension IDs of extensions allowed in grpc
diff --git a/contrib/libs/googleapis-common-protos/google/api/endpoint.proto b/contrib/libs/googleapis-common-protos/google/api/endpoint.proto
index 2dc354b96a..07c1b4f058 100644
--- a/contrib/libs/googleapis-common-protos/google/api/endpoint.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/endpoint.proto
@@ -47,14 +47,10 @@ message Endpoint {
// The canonical name of this endpoint.
string name = 1;
- // Unimplemented. Dot not use.
- //
- // DEPRECATED: This field is no longer supported. Instead of using aliases,
- // please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
- // of the intended aliases.
- //
- // Additional names that this endpoint will be hosted on.
- repeated string aliases = 2 [deprecated = true];
+ // Aliases for this endpoint, these will be served by the same UrlMap as the
+ // parent endpoint, and will be provisioned in the GCP stack for the Regional
+ // Endpoints.
+ repeated string aliases = 2;
// The specification of an Internet routable address of API frontend that will
// handle requests to this [API
diff --git a/contrib/libs/googleapis-common-protos/google/api/field_info.proto b/contrib/libs/googleapis-common-protos/google/api/field_info.proto
index b2197b52a8..2cc0876d75 100644
--- a/contrib/libs/googleapis-common-protos/google/api/field_info.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/field_info.proto
@@ -29,12 +29,19 @@ extend google.protobuf.FieldOptions {
//
// Examples:
//
- // string request_id = 1 [(google.api.field_info).format = UUID4];
- // string old_ip_address = 2 [(google.api.field_info).format = IPV4];
- // string new_ip_address = 3 [(google.api.field_info).format = IPV6];
- // string actual_ip_address = 4 [
- // (google.api.field_info).format = IPV4_OR_IPV6
- // ];
+ // string request_id = 1 [(google.api.field_info).format = UUID4];
+ // string old_ip_address = 2 [(google.api.field_info).format = IPV4];
+ // string new_ip_address = 3 [(google.api.field_info).format = IPV6];
+ // string actual_ip_address = 4 [
+ // (google.api.field_info).format = IPV4_OR_IPV6
+ // ];
+ // google.protobuf.Any generic_field = 5 [
+ // (google.api.field_info).referenced_types = {type_name: "ActualType"},
+ // (google.api.field_info).referenced_types = {type_name: "OtherType"},
+ // ];
+ // google.protobuf.Any generic_user_input = 5 [
+ // (google.api.field_info).referenced_types = {type_name: "*"},
+ // ];
google.api.FieldInfo field_info = 291403980;
}
@@ -76,4 +83,24 @@ message FieldInfo {
// any API consumer, just documents the API's format for the field it is
// applied to.
Format format = 1;
+
+ // The type(s) that the annotated, generic field may represent.
+ //
+ // Currently, this must only be used on fields of type `google.protobuf.Any`.
+ // Supporting other generic types may be considered in the future.
+ repeated TypeReference referenced_types = 2;
+}
+
+// A reference to a message type, for use in [FieldInfo][google.api.FieldInfo].
+message TypeReference {
+ // The name of the type that the annotated, generic field may represent.
+ // If the type is in the same protobuf package, the value can be the simple
+ // message name e.g., `"MyMessage"`. Otherwise, the value must be the
+ // fully-qualified message name e.g., `"google.library.v1.Book"`.
+ //
+ // If the type(s) are unknown to the service (e.g. the field accepts generic
+ // user input), use the wildcard `"*"` to denote this behavior.
+ //
+ // See [AIP-202](https://google.aip.dev/202#type-references) for more details.
+ string type_name = 1;
}
diff --git a/contrib/libs/googleapis-common-protos/google/api/http.proto b/contrib/libs/googleapis-common-protos/google/api/http.proto
index afa00aedea..e3270371d4 100644
--- a/contrib/libs/googleapis-common-protos/google/api/http.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/http.proto
@@ -41,7 +41,7 @@ message Http {
bool fully_decode_reserved_expansion = 2;
}
-// # gRPC Transcoding
+// gRPC Transcoding
//
// gRPC Transcoding is a feature for mapping between a gRPC method and one or
// more HTTP REST endpoints. It allows developers to build a single API service
@@ -82,9 +82,8 @@ message Http {
//
// This enables an HTTP REST to gRPC mapping as below:
//
-// HTTP | gRPC
-// -----|-----
-// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
+// - HTTP: `GET /v1/messages/123456`
+// - gRPC: `GetMessage(name: "messages/123456")`
//
// Any fields in the request message which are not bound by the path template
// automatically become HTTP query parameters if there is no HTTP request body.
@@ -108,11 +107,9 @@ message Http {
//
// This enables a HTTP JSON to RPC mapping as below:
//
-// HTTP | gRPC
-// -----|-----
-// `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
-// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
-// "foo"))`
+// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
+// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
+// SubMessage(subfield: "foo"))`
//
// Note that fields which are mapped to URL query parameters must have a
// primitive type or a repeated primitive type or a non-repeated message type.
@@ -142,10 +139,8 @@ message Http {
// representation of the JSON in the request body is determined by
// protos JSON encoding:
//
-// HTTP | gRPC
-// -----|-----
-// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
-// "123456" message { text: "Hi!" })`
+// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
+// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
//
// The special name `*` can be used in the body mapping to define that
// every field not bound by the path template should be mapped to the
@@ -168,10 +163,8 @@ message Http {
//
// The following HTTP JSON to RPC mapping is enabled:
//
-// HTTP | gRPC
-// -----|-----
-// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
-// "123456" text: "Hi!")`
+// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
+// - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
//
// Note that when using `*` in the body mapping, it is not possible to
// have HTTP parameters, as all fields not bound by the path end in
@@ -199,13 +192,13 @@ message Http {
//
// This enables the following two alternative HTTP JSON to RPC mappings:
//
-// HTTP | gRPC
-// -----|-----
-// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
-// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
-// "123456")`
+// - HTTP: `GET /v1/messages/123456`
+// - gRPC: `GetMessage(message_id: "123456")`
//
-// ## Rules for HTTP mapping
+// - HTTP: `GET /v1/users/me/messages/123456`
+// - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
+//
+// Rules for HTTP mapping
//
// 1. Leaf request fields (recursive expansion nested messages in the request
// message) are classified into three categories:
@@ -224,7 +217,7 @@ message Http {
// request body, all
// fields are passed via URL path and URL query parameters.
//
-// ### Path template syntax
+// Path template syntax
//
// Template = "/" Segments [ Verb ] ;
// Segments = Segment { "/" Segment } ;
@@ -263,7 +256,7 @@ message Http {
// Document](https://developers.google.com/discovery/v1/reference/apis) as
// `{+var}`.
//
-// ## Using gRPC API Service Configuration
+// Using gRPC API Service Configuration
//
// gRPC API Service Configuration (service config) is a configuration language
// for configuring a gRPC service to become a user-facing product. The
@@ -278,15 +271,14 @@ message Http {
// specified in the service config will override any matching transcoding
// configuration in the proto.
//
-// Example:
+// The following example selects a gRPC method and applies an `HttpRule` to it:
//
// http:
// rules:
-// # Selects a gRPC method and applies HttpRule to it.
// - selector: example.v1.Messaging.GetMessage
// get: /v1/messages/{message_id}/{sub.subfield}
//
-// ## Special notes
+// Special notes
//
// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
// proto to JSON conversion must follow the [proto3
diff --git a/contrib/libs/googleapis-common-protos/google/api/resource.proto b/contrib/libs/googleapis-common-protos/google/api/resource.proto
index f17520d207..3762af84a4 100644
--- a/contrib/libs/googleapis-common-protos/google/api/resource.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/resource.proto
@@ -179,8 +179,13 @@ message ResourceDescriptor {
// The plural name used in the resource name and permission names, such as
// 'projects' for the resource name of 'projects/{project}' and the permission
- // name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
- // concept of the `plural` field in k8s CRD spec
+ // name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
+ // to this is for Nested Collections that have stuttering names, as defined
+ // in [AIP-122](https://google.aip.dev/122#nested-collections), where the
+ // collection ID in the resource name pattern does not necessarily directly
+ // match the `plural` value.
+ //
+ // It is the same concept of the `plural` field in k8s CRD spec
// https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
//
// Note: The plural form is required even for singleton resources. See
diff --git a/contrib/libs/googleapis-common-protos/ya.make b/contrib/libs/googleapis-common-protos/ya.make
index 3ef955ff97..a26cbeebcc 100644
--- a/contrib/libs/googleapis-common-protos/ya.make
+++ b/contrib/libs/googleapis-common-protos/ya.make
@@ -6,9 +6,9 @@ LICENSE(Apache-2.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.63.2)
+VERSION(1.65.0)
-ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.63.2.tar.gz)
+ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.65.0.tar.gz)
PY_NAMESPACE(.)