GoogleApi.Dataflow.V1b3.Api.Projects.dataflow_projects_locations_sql_validate

You're seeing just the function dataflow_projects_locations_sql_validate, go back to GoogleApi.Dataflow.V1b3.Api.Projects module for more information.
Link to this function

dataflow_projects_locations_sql_validate(connection, project_id, location, optional_params \\ [], opts \\ [])

View Source

Specs

dataflow_projects_locations_sql_validate(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Dataflow.V1b3.Model.ValidateResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Validates a GoogleSQL query for Cloud Dataflow syntax. Will always confirm the given query parses correctly, and if able to look up schema information from DataCatalog, will validate that the query analyzes properly as well.

Parameters

  • connection (type: GoogleApi.Dataflow.V1b3.Connection.t) - Connection to server
  • project_id (type: String.t) - Required. The ID of the Cloud Platform project that the job belongs to.
  • location (type: String.t) - The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :query (type: String.t) - The sql query to validate.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Dataflow.V1b3.Model.ValidateResponse{}} on success
  • {:error, info} on failure