googleapis / python-functions

This library has moved to https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-functions
Apache License 2.0
38 stars 11 forks source link

Why doesn't call_function exist in v2? #242

Closed 1232ynp closed 1 year ago

1232ynp commented 1 year ago

v1 has call_function as shown below. Why is it not present in v2?

https://github.com/googleapis/python-functions/blob/c8835727e808c97bf3ec04b2732693e2eaa319fe/google/cloud/functions_v1/services/cloud_functions_service/client.py#L1081

1232ynp commented 1 year ago

v1 uses call_function to run CloudFunctions system tests. I wanted to do the same system test with v2. Specifically, the system built with CloudFunctions + CloudScheduler + CloudPub/Sub is tested with the CI/CD step using CloudBuild.

1232ynp commented 1 year ago

Added call_function in v2. Please leave a review.

https://github.com/googleapis/python-functions/pull/243

parthea commented 1 year ago

Hi @1232ynp,

Thanks for reporting this issue and opening a pull request. The call_function functionality is not available in functions v2 API itself. I'm going to close the PR as this feature is not present on the back end.

I will keep this issue open so that we can provide updates as we receive them from the API team.

Please use the following support page to reach out to the API support team directly: https://cloud.google.com/functions/docs/getting-support

Googlers see b/200729263

parthea commented 1 year ago

I've filed a feature request in the public issue tracker here https://b.corp.google.com/issues/278353662. I'm going to close this issue as a duplicate of https://b.corp.google.com/issues/278353662.