Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate a GAPIC library from api definition #3208

Merged
merged 23 commits into from
Sep 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change doc
  • Loading branch information
JoeWang1127 committed Sep 18, 2024
commit c6af16e4e70d2f90b3643b71095f823eb1e24e7f
10 changes: 9 additions & 1 deletion library_generation/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Generate a repository containing GAPIC Client Libraries

The script, `entry_point.py`, allows you to generate a repository containing
GAPIC client libraries with googleapis commit history (a monorepo, for example,
GAPIC client libraries with change history (a monorepo, for example,
google-cloud-java) from a configuration file.

## Environment
Expand Down Expand Up @@ -54,6 +54,14 @@ The path to where the api definition (proto, service yaml) resides.

The default value is the current working directory when running the script.

Note that you need not only the protos defined the service, but also the transitive
blakeli0 marked this conversation as resolved.
Show resolved Hide resolved
dependencies of those protos.
For example, if your service is defined in `example_service.proto` and it imports
`google/api/annotations.proto`, you need the `annotations.proto` resides in a
folder that has the exact structure of the import statement (`google/api` in this
case), and set `api_definition_path` to the path contains the root folder (`google`
in this case).

## Output of `entry_point.py`

### GAPIC libraries
Expand Down
Loading