Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Expose remote functions options as first class properties #1552

Description

@shobsi

Right now if I want to access spec details for a bigquery remote function I have to use the hidden properties, e.g.

routines=bq_client.list_routines(f"{gcp_project_id}.{bq_dataset}")
forroutineinroutines:
rf_options=routine._properties.get("remoteFunctionOptions")
ifrf_options:
http_endpoint=rf_options.get("endpoint")
bq_connection=rf_options.get("connection")

which is not ideal and takes a bit of figuring out. It would be nice to have it exposed via first class properties, which can be used like

routines=bq_client.list_routines(f"{gcp_project_id}.{bq_dataset}")
forroutineinroutines:
rf_options=routine.remote_function_optionsifrf_options:
http_endpoint=rf_options.endpointbq_connection=rf_options.connection

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions