|
@@ -124,6 +124,9 @@ message CommonLanguageSettings {
|
|
|
|
|
|
// The destination where API teams want this client library to be published.
|
|
|
repeated ClientLibraryDestination destinations = 2;
|
|
|
+
|
|
|
+ // Configuration for which RPCs should be generated in the GAPIC client.
|
|
|
+ SelectiveGapicGeneration selective_gapic_generation = 3;
|
|
|
}
|
|
|
|
|
|
// Details about how and where to publish client libraries.
|
|
@@ -272,6 +275,12 @@ message PythonSettings {
|
|
|
// This feature will be enabled by default 1 month after launching the
|
|
|
// feature in preview packages.
|
|
|
bool rest_async_io_enabled = 1;
|
|
|
+
|
|
|
+ // Enables generation of protobuf code using new types that are more
|
|
|
+ // Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
|
|
+ // enabled by default 1 month after launching the feature in preview
|
|
|
+ // packages.
|
|
|
+ bool protobuf_pythonic_types_enabled = 2;
|
|
|
}
|
|
|
|
|
|
// Some settings.
|
|
@@ -443,3 +452,11 @@ enum ClientLibraryDestination {
|
|
|
// Publish the library to package managers like nuget.org and npmjs.com.
|
|
|
PACKAGE_MANAGER = 20;
|
|
|
}
|
|
|
+
|
|
|
+// This message is used to configure the generation of a subset of the RPCs in
|
|
|
+// a service for client libraries.
|
|
|
+message SelectiveGapicGeneration {
|
|
|
+ // An allowlist of the fully qualified names of RPCs that should be included
|
|
|
+ // on public client surfaces.
|
|
|
+ repeated string methods = 1;
|
|
|
+}
|