pub struct RemoteFunctionOptions {
pub connection: Option<String>,
pub endpoint: Option<String>,
pub max_batching_rows: Option<i64>,
pub user_defined_context: Option<HashMap<String, String>>,
}
Expand description
Options for a remote user-defined function.
This type is not used in any activity, and only used as part of another schema.
Fields§
§connection: Option<String>
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}"
endpoint: Option<String>
Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
max_batching_rows: Option<i64>
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.
user_defined_context: Option<HashMap<String, String>>
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.
Trait Implementations§
Source§impl Clone for RemoteFunctionOptions
impl Clone for RemoteFunctionOptions
Source§fn clone(&self) -> RemoteFunctionOptions
fn clone(&self) -> RemoteFunctionOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RemoteFunctionOptions
impl Debug for RemoteFunctionOptions
Source§impl Default for RemoteFunctionOptions
impl Default for RemoteFunctionOptions
Source§fn default() -> RemoteFunctionOptions
fn default() -> RemoteFunctionOptions
Source§impl<'de> Deserialize<'de> for RemoteFunctionOptions
impl<'de> Deserialize<'de> for RemoteFunctionOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for RemoteFunctionOptions
impl Serialize for RemoteFunctionOptions
impl Part for RemoteFunctionOptions
Auto Trait Implementations§
impl Freeze for RemoteFunctionOptions
impl RefUnwindSafe for RemoteFunctionOptions
impl Send for RemoteFunctionOptions
impl Sync for RemoteFunctionOptions
impl Unpin for RemoteFunctionOptions
impl UnwindSafe for RemoteFunctionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more