| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This pull request introduces support for Direct VPC Egress by adding a new NetworkInterface dataclass and a network_interface option to RuntimeOptions and global options. It also adds a vpc_egress alias for vpc_connector_egress_settings, updates manifest generation to handle these new settings, and includes comprehensive unit tests. The review feedback suggests a valuable simplification: removing the vpc_egress alias from resettable_options to avoid default RESET_VALUE population, which in turn simplifies the precedence logic in _endpoint() and allows the removal of an unnecessary test assertion.
Sorry, something went wrong.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Fixes #275
This PR adds support for VPC direct connect. These additions help to maintain parity between the Python and JS SDKs.
Testing
Deployed the following function:
Ran
gcloud run services describe vpcprobe --region=us-central1 --format exportOutput included:
run.googleapis.com/network-interfaces: '[{"network":"default","subnetwork":"default"}]' run.googleapis.com/vpc-access-egress: private-ranges-onlyThen for the reset path:
Deployed:
Ran
gcloud run services describe vpcprobe --region=us-central1 --format exportThe following were no longer present in the output