Class PythonOptions
Options for a user-defined Python function.
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class PythonOptions : IDirectResponseSchema
Properties
BuildConnection
Optional. Fully qualified name of the connection whose service account will be used to authenticate to private package repositories during build-time. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
Declaration
[JsonProperty("buildConnection")]
public virtual string BuildConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EntryPoint
Required. The name of the function defined in Python code as the entry point when the Python UDF is invoked.
Declaration
[JsonProperty("entryPoint")]
public virtual string EntryPoint { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExtraPackageRepositories
Optional. The list of additional package repositories to search when resolving Python packages. These repositories are searched in addition to the default public PyPI. Only repositories hosted in Artifact Registry (.pkg.dev) are supported. Only pre-compiled Wheel (.whl) packages are supported from these repositories. E.g. ['https://my-region-python.pkg.dev/my-project/my-repo/simple']
Declaration
[JsonProperty("extraPackageRepositories")]
public virtual IList<string> ExtraPackageRepositories { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Packages
Optional. A list of Python package names along with versions to be installed. Example: ["pandas>=2.1", "google-cloud-translate==3.11"]. For more information, see Use third-party packages.
Declaration
[JsonProperty("packages")]
public virtual IList<string> Packages { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |