Found new managed modules references#1185
Merged
unmultimedio merged 1 commit intomainfrom Mar 26, 2026
Merged
Conversation
| }, | ||
| { | ||
| "name": "94bc991b3f1df58bc841801631715894a7ac5e28", | ||
| "digest": "b6d518a50df43704333587967830344b49247ac8cf0953847d710f2d72246f677aeba56593dcd78f9199afff8ae9498f8dd5efe54107e5a09c60fff872456ca9" |
There was a problem hiding this comment.
[Posted at 2026-03-26T12:19:19Z]
$ casdiff 8b491c86c6c25e413c7f3e4b76675e5db535b0cc 94bc991b3f1df58bc841801631715894a7ac5e28 --format=markdown9 files changed: 0 removed, 0 renamed, 0 added, 9 changed content
Files changed content:
google/api/client.proto:
--- shake256:7783ab583c3ffb844faac2d757a35bf3e90acb98550f54c6d79a264faa8e6e47e217f377c4e5b77d79472a34a472d9aeedf371f0fb2cc4ba650c86568084aded google/api/client.proto
+++ shake256:000ce74cee8effa799410e264eb6f0a93464a2724c431326df55c205f4464ac5c050920a55fb73ea441ddfac8b98d0befda8d8a25a24b5189a5ae8508370bc87 google/api/client.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -41,15 +41,15 @@
//
// For example, the proto RPC and annotation:
//
- // rpc CreateSubscription(CreateSubscriptionRequest)
- // returns (Subscription) {
- // option (google.api.method_signature) = "name,topic";
- // }
+ // rpc CreateSubscription(CreateSubscriptionRequest)
+ // returns (Subscription) {
+ // option (google.api.method_signature) = "name,topic";
+ // }
//
// Would add the following Java overload (in addition to the method accepting
// the request object):
//
- // public final Subscription createSubscription(String name, String topic)
+ // public final Subscription createSubscription(String name, String topic)
//
// The following backwards-compatibility guidelines apply:
//
@@ -71,32 +71,32 @@
//
// Example:
//
- // service Foo {
- // option (google.api.default_host) = "foo.googleapi.com";
- // ...
- // }
+ // service Foo {
+ // option (google.api.default_host) = "foo.googleapi.com";
+ // ...
+ // }
string default_host = 1049;
// OAuth scopes needed for the client.
//
// Example:
//
- // service Foo {
- // option (google.api.oauth_scopes) = \
- // "https://www.googleapis.com/auth/cloud-platform";
- // ...
- // }
+ // service Foo {
+ // option (google.api.oauth_scopes) = \
+ // "https://www.googleapis.com/auth/cloud-platform";
+ // ...
+ // }
//
// If there is more than one scope, use a comma-separated string:
//
// Example:
//
- // service Foo {
- // option (google.api.oauth_scopes) = \
- // "https://www.googleapis.com/auth/cloud-platform,"
- // "https://www.googleapis.com/auth/monitoring";
- // ...
- // }
+ // service Foo {
+ // option (google.api.oauth_scopes) = \
+ // "https://www.googleapis.com/auth/cloud-platform,"
+ // "https://www.googleapis.com/auth/monitoring";
+ // ...
+ // }
string oauth_scopes = 1050;
// The API version of this service, which should be sent by version-aware
@@ -110,9 +110,9 @@
//
// Example:
//
- // service Foo {
- // option (google.api.api_version) = "v1_20230821_preview";
- // }
+ // service Foo {
+ // option (google.api.api_version) = "v1_20230821_preview";
+ // }
string api_version = 525000001;
}
@@ -227,9 +227,10 @@
//
// Example of a YAML configuration::
//
- // publishing:
- // java_settings:
- // library_package: com.google.cloud.pubsub.v1
+ // publishing:
+ // library_settings:
+ // java_settings:
+ // library_package: com.google.cloud.pubsub.v1
string library_package = 1;
// Configure the Java class name to use instead of the service's for its
@@ -241,11 +242,11 @@
//
// Example of a YAML configuration::
//
- // publishing:
- // java_settings:
- // service_class_names:
- // - google.pubsub.v1.Publisher: TopicAdmin
- // - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ // publishing:
+ // java_settings:
+ // service_class_names:
+ // - google.pubsub.v1.Publisher: TopicAdmin
+ // - google.pubsub.v1.Subscriber: SubscriptionAdmin
map<string, string> service_class_names = 2;
// Some settings.
@@ -262,6 +263,20 @@
message PhpSettings {
// Some settings.
CommonLanguageSettings common = 1;
+
+ // The package name to use in Php. Clobbers the php_namespace option
+ // set in the protobuf. This should be used **only** by APIs
+ // who have already set the language_settings.php.package_name" field
+ // in gapic.yaml. API teams should use the protobuf php_namespace option
+ // where possible.
+ //
+ // Example of a YAML configuration::
+ //
+ // publishing:
+ // library_settings:
+ // php_settings:
+ // library_package: Google\Cloud\PubSub\V1
+ string library_package = 2;
}
// Settings for Python client libraries.
@@ -353,10 +368,12 @@
// service names and values are the name to be used for the service client
// and call options.
//
- // publishing:
- // go_settings:
- // renamed_services:
- // Publisher: TopicAdmin
+ // Example:
+ //
+ // publishing:
+ // go_settings:
+ // renamed_services:
+ // Publisher: TopicAdmin
map<string, string> renamed_services = 2;
}
@@ -391,10 +408,10 @@
//
// Example:
//
- // publishing:
- // method_settings:
- // - selector: google.storage.control.v2.StorageControl.CreateFolder
- // # method settings for CreateFolder...
+ // 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
@@ -403,14 +420,14 @@
//
// Example of a YAML configuration::
//
- // publishing:
- // method_settings:
- // - selector: google.cloud.speech.v2.Speech.BatchRecognize
- // long_running:
- // initial_poll_delay: 60s # 1 minute
- // poll_delay_multiplier: 1.5
- // max_poll_delay: 360s # 6 minutes
- // total_poll_timeout: 54000s # 90 minutes
+ // publishing:
+ // method_settings:
+ // - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ // long_running:
+ // initial_poll_delay: 60s # 1 minute
+ // poll_delay_multiplier: 1.5
+ // 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
@@ -419,12 +436,25 @@
//
// Example of a YAML configuration:
//
- // publishing:
- // method_settings:
- // - selector: google.example.v1.ExampleService.CreateExample
- // auto_populated_fields:
- // - request_id
+ // publishing:
+ // method_settings:
+ // - selector: google.example.v1.ExampleService.CreateExample
+ // auto_populated_fields:
+ // - request_id
repeated string auto_populated_fields = 3;
+
+ // Batching configuration for an API method in client libraries.
+ //
+ // Example of a YAML configuration:
+ //
+ // publishing:
+ // method_settings:
+ // - selector: google.example.v1.ExampleService.BatchCreateExample
+ // batching:
+ // element_count_threshold: 1000
+ // request_byte_threshold: 100000000
+ // delay_threshold_millis: 10
+ BatchingConfigProto batching = 4;
}
// The organization for which the client libraries are being published.
@@ -484,3 +514,81 @@
// obfuscated identifiers, or other language idiomatic patterns.
bool generate_omitted_as_internal = 2;
}
+
+// `BatchingConfigProto` defines the batching configuration for an API method.
+message BatchingConfigProto {
+ // The thresholds which trigger a batched request to be sent.
+ BatchingSettingsProto thresholds = 1;
+
+ // The request and response fields used in batching.
+ BatchingDescriptorProto batch_descriptor = 2;
+}
+
+// `BatchingSettingsProto` specifies a set of batching thresholds, each of
+// which acts as a trigger to send a batch of messages as a request. At least
+// one threshold must be positive nonzero.
+message BatchingSettingsProto {
+ // The number of elements of a field collected into a batch which, if
+ // exceeded, causes the batch to be sent.
+ int32 element_count_threshold = 1;
+
+ // The aggregated size of the batched field which, if exceeded, causes the
+ // batch to be sent. This size is computed by aggregating the sizes of the
+ // request field to be batched, not of the entire request message.
+ int64 request_byte_threshold = 2;
+
+ // The duration after which a batch should be sent, starting from the addition
+ // of the first message to that batch.
+ google.protobuf.Duration delay_threshold = 3;
+
+ // The maximum number of elements collected in a batch that could be accepted
+ // by server.
+ int32 element_count_limit = 4;
+
+ // The maximum size of the request that could be accepted by server.
+ int32 request_byte_limit = 5;
+
+ // The maximum number of elements allowed by flow control.
+ int32 flow_control_element_limit = 6;
+
+ // The maximum size of data allowed by flow control.
+ int32 flow_control_byte_limit = 7;
+
+ // The behavior to take when the flow control limit is exceeded.
+ FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior =
+ 8;
+}
+
+// The behavior to take when the flow control limit is exceeded.
+enum FlowControlLimitExceededBehaviorProto {
+ // Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0;
+
+ // Stop operation, raise error.
+ THROW_EXCEPTION = 1;
+
+ // Pause operation until limit clears.
+ BLOCK = 2;
+
+ // Continue operation, disregard limit.
+ IGNORE = 3;
+}
+
+// `BatchingDescriptorProto` specifies the fields of the request message to be
+// used for batching, and, optionally, the fields of the response message to be
+// used for demultiplexing.
+message BatchingDescriptorProto {
+ // The repeated field in the request message to be aggregated by batching.
+ string batched_field = 1;
+
+ // A list of the fields in the request message. Two requests will be batched
+ // together only if the values of every field specified in
+ // `request_discriminator_fields` is equal between the two requests.
+ repeated string discriminator_fields = 2;
+
+ // Optional. When present, indicates the field in the response message to be
+ // used to demultiplex the response into multiple response messages, in
+ // correspondence with the multiple request messages originally batched
+ // together.
+ string subresponse_field = 3;
+}
google/api/field_behavior.proto:
--- shake256:6ca503d9098e54b830d80d00d773fced6d397105ff585f3d54754dafc054da2d4b63fe28f0a0237d8f4c463a424dfebb4f4af0cd8ef6d646e1e07ce2bb712151 google/api/field_behavior.proto
+++ shake256:feb77c27569f0dc6f23f274449cd2f55d7600eac6e3cd98c5016d3ad80adfa9aeae89d324ef8b9f9fe1c14011b97c335d63922f1c99dfea2a8317d94d7615460 google/api/field_behavior.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
google/api/field_info.proto:
--- shake256:148aff9321abff4590a24298d95b5014c678fe3ef0095f66e01ef629a48592c4ff3caa3e57f0d9796e5c295365a0c925da5f3496e329d4c7be11d0c180a63fc8 google/api/field_info.proto
+++ shake256:bfc3192c758dc3705e911e34feb1c003316d8b80f594c2d1da9f9edc3364bc532006142d47f421ddb0ae3e668842d3a12557c5c5c92362af82373b28dd34c728 google/api/field_info.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
google/api/http.proto:
--- shake256:d3b1c017f463d0feba5f3ad2542a848dbbb579a529ca5cf87c31998524a130e018ae7f49068e548c8f8d8ad65531ae62d39e20e6295dd1dea602d7f82c566e35 google/api/http.proto
+++ shake256:205bce199154138e5df4992be6602a0d4c522b81a9bb6787fd4ceadffe9082ff246d620fa487ea925afd26b2d339439de257dc57a1345f5ffb7cae671f5c1b28 google/api/http.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
google/api/httpbody.proto:
--- shake256:dd6d973319995ee38cd9a7f2ca4136fcc2016f99340a527716ad5db7a00dfabb235e2a76faa492c7ef3450b2e8bd787166733d406ca325a4b0cc87ff76aa79e9 google/api/httpbody.proto
+++ shake256:9a455062258a46576d13ee4740e2b444574e66ac481618c3ba91fba7250836ce137498fbf99eaad95b12aff5d90f97e2a6fb15c76f2f11fdd791372137235428 google/api/httpbody.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
google/api/launch_stage.proto:
--- shake256:84597758baf393c3e41840afb380a7e045c37aaf408242b10d8b81dab81a574266304dc1abaac66d438764b05348e42a576fc48bd0434360184e842e5ea87847 google/api/launch_stage.proto
+++ shake256:6d8a6378e80c3cc5a2a35648ae43c28d7f3d9ccfe8774069c06d536ff1ea8997e119deeaa03b3761dc7c96620e83847d3fa673b00eb9fa15ce16c9dfbb9048a5 google/api/launch_stage.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
google/api/resource.proto:
--- shake256:c4f77a2faceba9735de7ddc051e60d4723f56465215fa10397ffb91e5cc9b73b622869ecea3bfd3caa6d50559ef2198888dfad80c332c34ef75061c6586b8179 google/api/resource.proto
+++ shake256:e8212ecdc0909bdfe85f9f5cebc8a8a50df8c5f52a241af58b617ac3a93b2d58f89cbf9d64fef6dbec2c5223ff9a6761180deabbe8fc0ea2584e1799f77df9e6 google/api/resource.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
google/api/routing.proto:
--- shake256:fd5415c74cfdf3acc42f2a7f72334be6c442a30fa6aa22799c105da71f6bbd3ed4fc245e3e64d36b838b5411d7694a5783cc8acff004f78c46cabea927f90a91 google/api/routing.proto
+++ shake256:14d988b534e4e84168c4a49f29d5d8544a85ff72e7210137b9bdb9e7a96168f813a884c58100c95b88714fc7d1428cac9853e3f885487c29a4cfdc6e58fde614 google/api/routing.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -59,9 +59,13 @@
// app_profile_id: profiles/prof_qux
// }
//
-// The routing header consists of one or multiple key-value pairs. Every key
-// and value must be percent-encoded, and joined together in the format of
-// `key1=value1&key2=value2`.
+// The routing header consists of one or multiple key-value pairs. The order of
+// the key-value pairs is undefined, the order of the `routing_parameters` in
+// the `RoutingRule` only matters for the evaluation order of the path
+// templates when `field` is the same. See the examples below for more details.
+//
+// Every key and value in the routing header must be percent-encoded,
+// and joined together in the following format: `key1=value1&key2=value2`.
// The examples below skip the percent-encoding for readability.
//
// Example 1
google/api/visibility.proto:
--- shake256:a35ddced9302bb599347345b4152bcde905a1c10d7226cd0f6118770a4ce421794a85be6fb2e8ca5544b2390d840204517829a9ad1b7edcbe5ed65c22daecc4e google/api/visibility.proto
+++ shake256:8c5510fb2d7ff359380fe8844cf2928be8a123964a572ceea182ace03e91a2cd0f47fc07bc8af1228f0c6b8a3b7ca68dbb04b29a5a22d4d1a90704519fb0cd3f google/api/visibility.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
unmultimedio
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.