Class BigqueryRoutineRemoteFunctionOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • connection

        @Stability(Stable)
        public BigqueryRoutineRemoteFunctionOptions.Builder connection​(String connection)
        Parameters:
        connection - 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}" Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#connection BigqueryRoutine#connection}
        Returns:
        this
      • endpoint

        @Stability(Stable)
        public BigqueryRoutineRemoteFunctionOptions.Builder endpoint​(String endpoint)
        Parameters:
        endpoint - Endpoint of the user-provided remote service, e.g. 'https://us-east1-my_gcf_project.cloudfunctions.net/remote_add'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#endpoint BigqueryRoutine#endpoint}
        Returns:
        this
      • maxBatchingRows

        @Stability(Stable)
        public BigqueryRoutineRemoteFunctionOptions.Builder maxBatchingRows​(String maxBatchingRows)
        Parameters:
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#max_batching_rows BigqueryRoutine#max_batching_rows}
        Returns:
        this
      • userDefinedContext

        @Stability(Stable)
        public BigqueryRoutineRemoteFunctionOptions.Builder userDefinedContext​(Map<String,​String> userDefinedContext)
        Parameters:
        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. An object containing a list of "key": value pairs. Example: '{ "name": "wrench", "mass": "1.3kg", "count": "3" }'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#user_defined_context BigqueryRoutine#user_defined_context}
        Returns:
        this