RoutineRemoteFunctionOptions

data class RoutineRemoteFunctionOptions(val connection: String? = null, val endpoint: String? = null, val maxBatchingRows: String? = null, val userDefinedContext: Map<String, String>? = null)

Constructors

Link copied to clipboard
constructor(connection: String? = null, endpoint: String? = null, maxBatchingRows: String? = null, userDefinedContext: Map<String, String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val connection: String? = null

Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"

Link copied to clipboard
val endpoint: String? = null

Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add

Link copied to clipboard
val maxBatchingRows: String? = null

Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.

Link copied to clipboard

User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.