You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "cbio-erik (via GitHub)" <gi...@apache.org> on 2024/09/10 21:24:15 UTC

[I] Please update google cloud provider cloud functions api to support v2 [airflow]

cbio-erik opened a new issue, #42146:
URL: https://github.com/apache/airflow/issues/42146

   ### Description
   
   We should parameterize this api_version argument to allow users to trigger v1 or v2 functions. Right now v2 functions just not reachable because this hard coded value.  (https://github.com/apache/airflow/blob/main/airflow/providers/google/cloud/operators/functions.py#L453) 
   
   
   ### Use case/motivation
   
   Able to trigger cloud functions v2 with larger machine types
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Please update google cloud provider cloud functions api to support v2 [airflow]

Posted by "nathadfield (via GitHub)" <gi...@apache.org>.
nathadfield commented on issue #42146:
URL: https://github.com/apache/airflow/issues/42146#issuecomment-2360676417

   @cbio-erik I don't believe this is a hardcoded value but the default value.  Your should be able to override this when using the operator.
   
   ```
   test = CloudFunctionInvokeFunctionOperator(
           task_id='my-task',
           project_id='my-project',
           function_id='my-function',
           input_data={'key': 'value'},
           api_version='v2',
       )
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Please update google cloud provider cloud functions api to support v2 [airflow]

Posted by "cbio-erik (via GitHub)" <gi...@apache.org>.
cbio-erik closed issue #42146: Please update google cloud provider cloud functions api to support v2
URL: https://github.com/apache/airflow/issues/42146


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Please update google cloud provider cloud functions api to support v2 [airflow]

Posted by "cbio-erik (via GitHub)" <gi...@apache.org>.
cbio-erik commented on issue #42146:
URL: https://github.com/apache/airflow/issues/42146#issuecomment-2361737751

   @nathadfield Seems like the google cloud functions v2 has to different base uri. I will close this ticket since CloudRunExecuteJobOperator is an alternative operator to run cloud function v2 jobs. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Please update google cloud provider cloud functions api to support v2 [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #42146:
URL: https://github.com/apache/airflow/issues/42146#issuecomment-2342036162

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org