class ProjectsLocationsSql extends Resource (View source)

The "sql" collection of methods.

Typical usage is:

 $dataflowService = new Google\Service\Dataflow(...);
 $sql = $dataflowService->projects_locations_sql;

Methods

validate(string $projectId, string $location, array $optParams = [])

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.

Details

ValidateResponse validate(string $projectId, string $location, array $optParams = [])

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.

(sql.validate)

Parameters

string $projectId

Required. The ID of the Cloud Platform project that the job belongs to.

string $location

The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.

array $optParams

Optional parameters.

Return Value

ValidateResponse