Class ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource
The "dataConnector" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource
Constructors
DataConnectorResource(IClientService)
Constructs a new resource.
Declaration
public DataConnectorResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
ConnectorRuns
Gets the ConnectorRuns resource.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.ConnectorRunsResource ConnectorRuns { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.ConnectorRunsResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.OperationsResource Operations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.OperationsResource |
Methods
AcquireAccessToken(GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest, string)
Uses the per-user refresh token minted with AcquireAndStoreRefreshToken to generate and return a new access token and its details. Takes the access token from cache if available. Rotates the stored refresh token if needed. Uses the end user identity to return the user specific access token. Does not return the credentials configured by the administrator. Used by action execution and UI.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.AcquireAccessTokenRequest AcquireAccessToken(GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest | body | The body of the request. |
| string | name | Required. The resource name of the connector for which a token is queried. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.AcquireAccessTokenRequest |
CheckRefreshToken(string)
Deprecated: Checks the existence of a refresh token for the EUC user for a given connection and returns its details. Use AcquireAccessToken instead and then check the validity of the returned token by asking the 3rd party system. There's no way to know for sure if a refresh token is valid without asking the 3rd party system.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.CheckRefreshTokenRequest CheckRefreshToken(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the connector for which a token is queried. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.CheckRefreshTokenRequest |
GetConnectorSecret(string)
Get the secret for the associated connector.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.GetConnectorSecretRequest GetConnectorSecret(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The full resource name of the associated data connector. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.GetConnectorSecretRequest |
StartConnectorRun(GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest, string)
Starts an immediate synchronization process for a DataConnector. Third Party Connector Users must specify which entities should be synced. FHIR Connectors must provide a timestamp to indicate the point in time from which data should be synced.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.StartConnectorRunRequest StartConnectorRun(GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest | body | The body of the request. |
| string | parent | Required. Connector name of the form projects/{project}/locations/{location}/collections/ {collection_id}/dataConnector |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource.StartConnectorRunRequest |