Class ProjectsResource.LocationsResource.ConnectionsResource.ExecuteSqlQueryRequest
Executes a SQL statement specified in the body of the request. An example of this SQL statement in the case of Salesforce connector would be 'select * from Account a, Order o where a.Id = o.AccountId'.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.ExecuteSqlQueryRequest
Inherited Members
Namespace: Google.Apis.Connectors.v2
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.ExecuteSqlQueryRequest : ConnectorsBaseServiceRequest<ExecuteSqlQueryResponse>, IClientServiceRequest<ExecuteSqlQueryResponse>, IClientServiceRequest
Constructors
ExecuteSqlQueryRequest(IClientService, ExecuteSqlQueryRequest, string)
Constructs a new ExecuteSqlQuery request.
Declaration
public ExecuteSqlQueryRequest(IClientService service, ExecuteSqlQueryRequest body, string connection)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ExecuteSqlQueryRequest | body | |
string | connection |
Properties
Connection
Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}
Declaration
[RequestParameter("connection", RequestParameterType.Path)]
public virtual string Connection { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ExecuteSqlQuery parameter list.
Declaration
protected override void InitParameters()