Send feedback
Class RemoteFunctionOptions.Builder (2.37.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.37.2 keyboard_arrow_down
public abstract static class RemoteFunctionOptions . Builder
Constructors
Builder()
Methods
build()
public abstract RemoteFunctionOptions build ()
Creates a RemoteFunctionOptions
object.
setConnection(String connection)
public abstract RemoteFunctionOptions . Builder setConnection ( String connection )
Fully qualified name of the user-provided connection object which holds the authentication
information to send requests to the remote service. Format:
<code><code>"projects/{projectId}/locations/{locationId}/connections/{connectionId}"</code></code>
Parameter Name Description connection
String
setEndpoint(String endpoint)
public abstract RemoteFunctionOptions . Builder setEndpoint ( String endpoint )
Sets Endpoint argument Endpoint of the user-provided remote service, e.g.
<code><code>https://us-east1-my_gcf_project.cloudfunctions.net/remote_add</code></code>
Parameter Name Description endpoint
String
setMaxBatchingRows(Long maxBatchingRows)
public abstract RemoteFunctionOptions . Builder setMaxBatchingRows ( Long maxBatchingRows )
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.
Parameter Name Description maxBatchingRows
Long
setUserDefinedContext(Map<String,String> userDefinedContext)
public abstract RemoteFunctionOptions . Builder setUserDefinedContext ( Map<String , String> userDefinedContext )
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}