You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds handling for "proto-only" APIs (by which we mean APIs without a
GAPIC library configured). These APIs:
- Use the python and pyi protoc plugins, not gapic
- Generate to a slightly different staging directory
- Copy the .proto files as well as the generated code
This change configures these APIs during migration.
Fixes#3204.
Copy file name to clipboardExpand all lines: doc/config-schema.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ This document describes the schema for the librarian.yaml.
103
103
104
104
## DartPackage Configuration
105
105
106
-
[Link to code](../internal/config/language.go#L284)
106
+
[Link to code](../internal/config/language.go#L288)
107
107
| Field | Type | Description |
108
108
| :--- | :--- | :--- |
109
109
|`api_keys_environment_variables`| string | APIKeysEnvironmentVariables is a comma-separated list of environment variable names that can contain API keys (e.g., "GOOGLE_API_KEY,GEMINI_API_KEY"). |
@@ -152,6 +152,7 @@ This document describes the schema for the librarian.yaml.
152
152
| :--- | :--- | :--- |
153
153
|`opt_args`| list of string | OptArgs contains additional options passed to the generator, where the options are common to all apis. Example: ["warehouse-package-name=google-cloud-batch"]|
154
154
|`opt_args_by_api`| map[string][]string | OptArgsByAPI contains additional options passed to the generator, where the options vary by api. In each entry, the key is the api (API path) and the value is the list of options to pass when generating that API. Example: {"google/cloud/secrets/v1beta": ["python-gapic-name=secretmanager"]} |
155
+
|`proto_only_apis`| list of string | ProtoOnlyAPIs contains the list of API paths which are proto-only, so should use regular protoc Python generation instead of GAPIC. |
0 commit comments