|
1 |
| -// Copyright 2024 Google LLC |
| 1 | +// Copyright 2025 Google LLC |
2 | 2 | //
|
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License");
|
4 | 4 | // you may not use this file except in compliance with the License.
|
@@ -281,6 +281,12 @@ message PythonSettings {
|
281 | 281 | // enabled by default 1 month after launching the feature in preview
|
282 | 282 | // packages.
|
283 | 283 | bool protobuf_pythonic_types_enabled = 2;
|
| 284 | + |
| 285 | + // Disables generation of an unversioned Python package for this client |
| 286 | + // library. This means that the module names will need to be versioned in |
| 287 | + // import statements. For example `import google.cloud.library_v2` instead |
| 288 | + // of `import google.cloud.library`. |
| 289 | + bool unversioned_package_disabled = 3; |
284 | 290 | }
|
285 | 291 |
|
286 | 292 | // Some settings.
|
@@ -342,6 +348,16 @@ message RubySettings {
|
342 | 348 | message GoSettings {
|
343 | 349 | // Some settings.
|
344 | 350 | CommonLanguageSettings common = 1;
|
| 351 | + |
| 352 | + // Map of service names to renamed services. Keys are the package relative |
| 353 | + // service names and values are the name to be used for the service client |
| 354 | + // and call options. |
| 355 | + // |
| 356 | + // publishing: |
| 357 | + // go_settings: |
| 358 | + // renamed_services: |
| 359 | + // Publisher: TopicAdmin |
| 360 | + map<string, string> renamed_services = 2; |
345 | 361 | }
|
346 | 362 |
|
347 | 363 | // Describes the generator configuration for a method.
|
@@ -459,4 +475,12 @@ message SelectiveGapicGeneration {
|
459 | 475 | // An allowlist of the fully qualified names of RPCs that should be included
|
460 | 476 | // on public client surfaces.
|
461 | 477 | repeated string methods = 1;
|
| 478 | + |
| 479 | + // Setting this to true indicates to the client generators that methods |
| 480 | + // that would be excluded from the generation should instead be generated |
| 481 | + // in a way that indicates these methods should not be consumed by |
| 482 | + // end users. How this is expressed is up to individual language |
| 483 | + // implementations to decide. Some examples may be: added annotations, |
| 484 | + // obfuscated identifiers, or other language idiomatic patterns. |
| 485 | + bool generate_omitted_as_internal = 2; |
462 | 486 | }
|
0 commit comments