Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ConnectionsResource

The "connections" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ConnectionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Connectors.v2
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource

Constructors

ConnectionsResource(IClientService)

Constructs a new resource.

Declaration
public ConnectionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Actions

Gets the Actions resource.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource Actions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource

EntityTypes

Gets the EntityTypes resource.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.EntityTypesResource EntityTypes { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.EntityTypesResource

Methods

CheckReadiness(string)

Reports readiness status of the connector. Similar logic to GetStatus but modified for kubernetes health check to understand.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.CheckReadinessRequest CheckReadiness(string name)
Parameters
Type Name Description
string name

null

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.CheckReadinessRequest

CheckStatus(string)

Reports the status of the connection. Note that when the connection is in a state that is not ACTIVE, the implementation of this RPC method must return a Status with the corresponding State instead of returning a gRPC status code that is not "OK", which indicates that ConnectionStatus itself, not the connection, failed.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.CheckStatusRequest CheckStatus(string name)
Parameters
Type Name Description
string name

null

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.CheckStatusRequest

ExchangeAuthCode(ExchangeAuthCodeRequest, string)

ExchangeAuthCode exchanges the OAuth authorization code (and other necessary data) for an access token (and associated credentials).

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ExchangeAuthCodeRequest ExchangeAuthCode(ExchangeAuthCodeRequest body, string name)
Parameters
Type Name Description
ExchangeAuthCodeRequest body

The body of the request.

string name

null

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.ExchangeAuthCodeRequest

ExecuteSqlQuery(ExecuteSqlQueryRequest, string)

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'.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ExecuteSqlQueryRequest ExecuteSqlQuery(ExecuteSqlQueryRequest body, string connection)
Parameters
Type Name Description
ExecuteSqlQueryRequest body

The body of the request.

string connection

Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.ExecuteSqlQueryRequest

RefreshAccessToken(RefreshAccessTokenRequest, string)

RefreshAccessToken exchanges the OAuth refresh token (and other necessary data) for a new access token (and new associated credentials).

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.RefreshAccessTokenRequest RefreshAccessToken(RefreshAccessTokenRequest body, string name)
Parameters
Type Name Description
RefreshAccessTokenRequest body

The body of the request.

string name

null

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.RefreshAccessTokenRequest
In this article
Back to top Generated by DocFX