Class ProjectsResource.LocationsResource.SqlResource.ValidateRequest
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.
Inheritance
System.Object
ProjectsResource.LocationsResource.SqlResource.ValidateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ValidateRequest : DataflowBaseServiceRequest<ValidateResponse>, IClientServiceRequest<ValidateResponse>, IClientServiceRequest
Constructors
ValidateRequest(IClientService, String, String)
Constructs a new Validate request.
Declaration
public ValidateRequest(IClientService service, string projectId, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | projectId | |
System.String | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataflow.v1b3.Data.ValidateResponse>.HttpMethod
Location
The regional endpoint to which to direct the request.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataflow.v1b3.Data.ValidateResponse>.MethodName
ProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
System.String |
Query
The sql query to validate.
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataflow.v1b3.Data.ValidateResponse>.RestPath
Methods
InitParameters()
Initializes Validate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dataflow.v1b3.DataflowBaseServiceRequest<Google.Apis.Dataflow.v1b3.Data.ValidateResponse>.InitParameters()