Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/connectors:v2.ts";

§Classes

Connectors

Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.

GoogleAuth

§Variables

auth

§Interfaces

AccessCredentials

AccessCredentials includes the OAuth access token, and the other fields returned along with it.

Action

Action message contains metadata information about a single action present in the external system.

CheckReadinessResponse

Response containing status of the connector for readiness prober.

CheckStatusResponse

The status of the connector.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

DailyCycle

Time window specified for daily operations.

Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

DenyMaintenancePeriod

DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Entity

'Entity row'/ 'Entity' refers to a single row of an entity type.

EntityType

EntityType message contains metadata information about a single entity type present in the external system.

ExchangeAuthCodeRequest

ExchangeAuthCodeRequest currently includes no fields.

ExchangeAuthCodeResponse

ExchangeAuthCodeResponse includes the returned access token and its associated credentials.

ExecuteActionRequest

Request message for ActionService.ExecuteAction

ExecuteActionResponse

Response message for ActionService.ExecuteAction

ExecuteSqlQueryRequest

An execute sql query request containing the query and the connection to execute it on.

ExecuteSqlQueryResponse

A response returned by the connection after executing the sql query.

Field

Message contains EntityType's Field metadata.

InputParameter

Input Parameter message contains metadata about the parameters required for executing an Action.

Instance

Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: json Instance: { "name": "projects/123456/locations/us-east1/instances/prod-instance", "create_time": { "seconds": 1526406431, }, "labels": { "env": "prod", "foo": "bar" }, "state": READY, "software_versions": { "software_update": "cloud-sql-09-28-2018", }, "maintenance_policy_names": { "UpdatePolicy": "projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy", } "tenant_project_id": "cloud-sql-test-tenant", "producer_metadata": { "cloud-sql-tier": "basic", "cloud-sql-instance-size": "1G", }, "provisioned_resources": [ { "resource-type": "compute-instance", "resource-url": "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1", } ], "maintenance_schedules": { "csa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": 1535406431, }, }, "ncsa_rollout": { "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": 1535406431, }, } }, "consumer_defined_name": "my-sql-instance1", } LINT.IfChange

JsonSchema

JsonSchema representation of schema metadata

ListActionsResponse

Response message for ActionService.ListActions

ListEntitiesResponse

Response message for EntityService.ListEntities

ListEntityTypesResponse

Response message for EntityService.ListEntityTypes

MaintenancePolicy

Defines policies to service maintenance events.

MaintenanceSchedule

Maintenance schedule which is exposed to customer and potentially end user, indicating published upcoming future maintenance schedule

MaintenanceSettings

Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.

MaintenanceWindow

MaintenanceWindow definition.

NodeSloMetadata

Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.

NotificationParameter

Contains notification related data.

PerSliSloEligibility

PerSliSloEligibility is a mapping from an SLI name to eligibility.

ProjectsLocationsConnectionsActionsListOptions

Additional options for Connectors#projectsLocationsConnectionsActionsList.

ProjectsLocationsConnectionsEntityTypesEntitiesDeleteEntitiesWithConditionsOptions

Additional options for Connectors#projectsLocationsConnectionsEntityTypesEntitiesDeleteEntitiesWithConditions.

ProjectsLocationsConnectionsEntityTypesEntitiesListOptions

Additional options for Connectors#projectsLocationsConnectionsEntityTypesEntitiesList.

ProjectsLocationsConnectionsEntityTypesEntitiesUpdateEntitiesWithConditionsOptions

Additional options for Connectors#projectsLocationsConnectionsEntityTypesEntitiesUpdateEntitiesWithConditions.

ProjectsLocationsConnectionsEntityTypesListOptions

Additional options for Connectors#projectsLocationsConnectionsEntityTypesList.

ProvisionedResource

Describes provisioned dataplane resources.

Query

A wrapper around the SQL query statement. This is needed so that the JSON representation of ExecuteSqlQueryRequest has the following format: {"query":"select *"}.

QueryParameter

Query parameter definition

Reference
RefreshAccessTokenRequest

RefreshAccessTokenRequest currently includes no fields.

RefreshAccessTokenResponse

RefreshAccessTokenResponse includes the returned access token and its associated credentials.

ResultMetadata

Result Metadata message contains metadata about the result returned after executing an Action.

Schedule

Configure the schedule.

SloEligibility

SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.

SloMetadata

SloMetadata contains resources required for proper SLO classification of the instance.

TimeOfDay

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.

UpdateEntitiesWithConditionsResponse

Response message for EntityService.UpdateEntitiesWithConditions

UpdatePolicy

Maintenance policy applicable to instance updates.

WeeklyCycle

Time window specified for weekly operations.