Class protos.google.cloud.datastream.v1alpha1.Datastream

Represents a Datastream

Inheritance

$protobuf.rpc.Service > protos.google.cloud.datastream.v1alpha1.Datastream

Package

@google-cloud/datastream

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Datastream service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Datastream;

Creates new Datastream service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
Datastream

RPC service. Useful where requests and/or responses are streamed.

createConnectionProfile(request, callback)

public createConnectionProfile(request: google.cloud.datastream.v1alpha1.ICreateConnectionProfileRequest, callback: google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfileCallback): void;

Calls CreateConnectionProfile.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.ICreateConnectionProfileRequest

CreateConnectionProfileRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfileCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createConnectionProfile(request)

public createConnectionProfile(request: google.cloud.datastream.v1alpha1.ICreateConnectionProfileRequest): Promise<google.longrunning.Operation>;

Calls CreateConnectionProfile.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.ICreateConnectionProfileRequest

CreateConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createPrivateConnection(request, callback)

public createPrivateConnection(request: google.cloud.datastream.v1alpha1.ICreatePrivateConnectionRequest, callback: google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnectionCallback): void;

Calls CreatePrivateConnection.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.ICreatePrivateConnectionRequest

CreatePrivateConnectionRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnectionCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createPrivateConnection(request)

public createPrivateConnection(request: google.cloud.datastream.v1alpha1.ICreatePrivateConnectionRequest): Promise<google.longrunning.Operation>;

Calls CreatePrivateConnection.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.ICreatePrivateConnectionRequest

CreatePrivateConnectionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createRoute(request, callback)

public createRoute(request: google.cloud.datastream.v1alpha1.ICreateRouteRequest, callback: google.cloud.datastream.v1alpha1.Datastream.CreateRouteCallback): void;

Calls CreateRoute.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.ICreateRouteRequest

CreateRouteRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.CreateRouteCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createRoute(request)

public createRoute(request: google.cloud.datastream.v1alpha1.ICreateRouteRequest): Promise<google.longrunning.Operation>;

Calls CreateRoute.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.ICreateRouteRequest

CreateRouteRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createStream(request, callback)

public createStream(request: google.cloud.datastream.v1alpha1.ICreateStreamRequest, callback: google.cloud.datastream.v1alpha1.Datastream.CreateStreamCallback): void;

Calls CreateStream.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.ICreateStreamRequest

CreateStreamRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.CreateStreamCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createStream(request)

public createStream(request: google.cloud.datastream.v1alpha1.ICreateStreamRequest): Promise<google.longrunning.Operation>;

Calls CreateStream.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.ICreateStreamRequest

CreateStreamRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteConnectionProfile(request, callback)

public deleteConnectionProfile(request: google.cloud.datastream.v1alpha1.IDeleteConnectionProfileRequest, callback: google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfileCallback): void;

Calls DeleteConnectionProfile.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IDeleteConnectionProfileRequest

DeleteConnectionProfileRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfileCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteConnectionProfile(request)

public deleteConnectionProfile(request: google.cloud.datastream.v1alpha1.IDeleteConnectionProfileRequest): Promise<google.longrunning.Operation>;

Calls DeleteConnectionProfile.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IDeleteConnectionProfileRequest

DeleteConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deletePrivateConnection(request, callback)

public deletePrivateConnection(request: google.cloud.datastream.v1alpha1.IDeletePrivateConnectionRequest, callback: google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnectionCallback): void;

Calls DeletePrivateConnection.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IDeletePrivateConnectionRequest

DeletePrivateConnectionRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnectionCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deletePrivateConnection(request)

public deletePrivateConnection(request: google.cloud.datastream.v1alpha1.IDeletePrivateConnectionRequest): Promise<google.longrunning.Operation>;

Calls DeletePrivateConnection.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IDeletePrivateConnectionRequest

DeletePrivateConnectionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteRoute(request, callback)

public deleteRoute(request: google.cloud.datastream.v1alpha1.IDeleteRouteRequest, callback: google.cloud.datastream.v1alpha1.Datastream.DeleteRouteCallback): void;

Calls DeleteRoute.

Parameters
NameDescription
request IDeleteRouteRequest

DeleteRouteRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.DeleteRouteCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteRoute(request)

public deleteRoute(request: google.cloud.datastream.v1alpha1.IDeleteRouteRequest): Promise<google.longrunning.Operation>;

Calls DeleteRoute.

Parameter
NameDescription
request IDeleteRouteRequest

DeleteRouteRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteStream(request, callback)

public deleteStream(request: google.cloud.datastream.v1alpha1.IDeleteStreamRequest, callback: google.cloud.datastream.v1alpha1.Datastream.DeleteStreamCallback): void;

Calls DeleteStream.

Parameters
NameDescription
request IDeleteStreamRequest

DeleteStreamRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.DeleteStreamCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteStream(request)

public deleteStream(request: google.cloud.datastream.v1alpha1.IDeleteStreamRequest): Promise<google.longrunning.Operation>;

Calls DeleteStream.

Parameter
NameDescription
request IDeleteStreamRequest

DeleteStreamRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

discoverConnectionProfile(request, callback)

public discoverConnectionProfile(request: google.cloud.datastream.v1alpha1.IDiscoverConnectionProfileRequest, callback: google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfileCallback): void;

Calls DiscoverConnectionProfile.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IDiscoverConnectionProfileRequest

DiscoverConnectionProfileRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfileCallback

Node-style callback called with the error, if any, and DiscoverConnectionProfileResponse

Returns
TypeDescription
void

discoverConnectionProfile(request)

public discoverConnectionProfile(request: google.cloud.datastream.v1alpha1.IDiscoverConnectionProfileRequest): Promise<google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>;

Calls DiscoverConnectionProfile.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IDiscoverConnectionProfileRequest

DiscoverConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>

Promise

fetchErrors(request, callback)

public fetchErrors(request: google.cloud.datastream.v1alpha1.IFetchErrorsRequest, callback: google.cloud.datastream.v1alpha1.Datastream.FetchErrorsCallback): void;

Calls FetchErrors.

Parameters
NameDescription
request IFetchErrorsRequest

FetchErrorsRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.FetchErrorsCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

fetchErrors(request)

public fetchErrors(request: google.cloud.datastream.v1alpha1.IFetchErrorsRequest): Promise<google.longrunning.Operation>;

Calls FetchErrors.

Parameter
NameDescription
request IFetchErrorsRequest

FetchErrorsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

fetchStaticIps(request, callback)

public fetchStaticIps(request: google.cloud.datastream.v1alpha1.IFetchStaticIpsRequest, callback: google.cloud.datastream.v1alpha1.Datastream.FetchStaticIpsCallback): void;

Calls FetchStaticIps.

Parameters
NameDescription
request IFetchStaticIpsRequest

FetchStaticIpsRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.FetchStaticIpsCallback

Node-style callback called with the error, if any, and FetchStaticIpsResponse

Returns
TypeDescription
void

fetchStaticIps(request)

public fetchStaticIps(request: google.cloud.datastream.v1alpha1.IFetchStaticIpsRequest): Promise<google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>;

Calls FetchStaticIps.

Parameter
NameDescription
request IFetchStaticIpsRequest

FetchStaticIpsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>

Promise

getConnectionProfile(request, callback)

public getConnectionProfile(request: google.cloud.datastream.v1alpha1.IGetConnectionProfileRequest, callback: google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfileCallback): void;

Calls GetConnectionProfile.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IGetConnectionProfileRequest

GetConnectionProfileRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfileCallback

Node-style callback called with the error, if any, and ConnectionProfile

Returns
TypeDescription
void

getConnectionProfile(request)

public getConnectionProfile(request: google.cloud.datastream.v1alpha1.IGetConnectionProfileRequest): Promise<google.cloud.datastream.v1alpha1.ConnectionProfile>;

Calls GetConnectionProfile.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IGetConnectionProfileRequest

GetConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.ConnectionProfile>

Promise

getPrivateConnection(request, callback)

public getPrivateConnection(request: google.cloud.datastream.v1alpha1.IGetPrivateConnectionRequest, callback: google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnectionCallback): void;

Calls GetPrivateConnection.

Parameters
NameDescription
request IGetPrivateConnectionRequest

GetPrivateConnectionRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnectionCallback

Node-style callback called with the error, if any, and PrivateConnection

Returns
TypeDescription
void

getPrivateConnection(request)

public getPrivateConnection(request: google.cloud.datastream.v1alpha1.IGetPrivateConnectionRequest): Promise<google.cloud.datastream.v1alpha1.PrivateConnection>;

Calls GetPrivateConnection.

Parameter
NameDescription
request IGetPrivateConnectionRequest

GetPrivateConnectionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.PrivateConnection>

Promise

getRoute(request, callback)

public getRoute(request: google.cloud.datastream.v1alpha1.IGetRouteRequest, callback: google.cloud.datastream.v1alpha1.Datastream.GetRouteCallback): void;

Calls GetRoute.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IGetRouteRequest

GetRouteRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.GetRouteCallback

Node-style callback called with the error, if any, and Route

Returns
TypeDescription
void

getRoute(request)

public getRoute(request: google.cloud.datastream.v1alpha1.IGetRouteRequest): Promise<google.cloud.datastream.v1alpha1.Route>;

Calls GetRoute.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IGetRouteRequest

GetRouteRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.Route>

Promise

getStream(request, callback)

public getStream(request: google.cloud.datastream.v1alpha1.IGetStreamRequest, callback: google.cloud.datastream.v1alpha1.Datastream.GetStreamCallback): void;

Calls GetStream.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IGetStreamRequest

GetStreamRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.GetStreamCallback

Node-style callback called with the error, if any, and Stream

Returns
TypeDescription
void

getStream(request)

public getStream(request: google.cloud.datastream.v1alpha1.IGetStreamRequest): Promise<google.cloud.datastream.v1alpha1.Stream>;

Calls GetStream.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IGetStreamRequest

GetStreamRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.Stream>

Promise

listConnectionProfiles(request, callback)

public listConnectionProfiles(request: google.cloud.datastream.v1alpha1.IListConnectionProfilesRequest, callback: google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfilesCallback): void;

Calls ListConnectionProfiles.

Parameters
NameDescription
request IListConnectionProfilesRequest

ListConnectionProfilesRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfilesCallback

Node-style callback called with the error, if any, and ListConnectionProfilesResponse

Returns
TypeDescription
void

listConnectionProfiles(request)

public listConnectionProfiles(request: google.cloud.datastream.v1alpha1.IListConnectionProfilesRequest): Promise<google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>;

Calls ListConnectionProfiles.

Parameter
NameDescription
request IListConnectionProfilesRequest

ListConnectionProfilesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>

Promise

listPrivateConnections(request, callback)

public listPrivateConnections(request: google.cloud.datastream.v1alpha1.IListPrivateConnectionsRequest, callback: google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnectionsCallback): void;

Calls ListPrivateConnections.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IListPrivateConnectionsRequest

ListPrivateConnectionsRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnectionsCallback

Node-style callback called with the error, if any, and ListPrivateConnectionsResponse

Returns
TypeDescription
void

listPrivateConnections(request)

public listPrivateConnections(request: google.cloud.datastream.v1alpha1.IListPrivateConnectionsRequest): Promise<google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>;

Calls ListPrivateConnections.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IListPrivateConnectionsRequest

ListPrivateConnectionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>

Promise

listRoutes(request, callback)

public listRoutes(request: google.cloud.datastream.v1alpha1.IListRoutesRequest, callback: google.cloud.datastream.v1alpha1.Datastream.ListRoutesCallback): void;

Calls ListRoutes.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IListRoutesRequest

ListRoutesRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.ListRoutesCallback

Node-style callback called with the error, if any, and ListRoutesResponse

Returns
TypeDescription
void

listRoutes(request)

public listRoutes(request: google.cloud.datastream.v1alpha1.IListRoutesRequest): Promise<google.cloud.datastream.v1alpha1.ListRoutesResponse>;

Calls ListRoutes.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IListRoutesRequest

ListRoutesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.ListRoutesResponse>

Promise

listStreams(request, callback)

public listStreams(request: google.cloud.datastream.v1alpha1.IListStreamsRequest, callback: google.cloud.datastream.v1alpha1.Datastream.ListStreamsCallback): void;

Calls ListStreams.

Parameters
NameDescription
request IListStreamsRequest

ListStreamsRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.ListStreamsCallback

Node-style callback called with the error, if any, and ListStreamsResponse

Returns
TypeDescription
void

listStreams(request)

public listStreams(request: google.cloud.datastream.v1alpha1.IListStreamsRequest): Promise<google.cloud.datastream.v1alpha1.ListStreamsResponse>;

Calls ListStreams.

Parameter
NameDescription
request IListStreamsRequest

ListStreamsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datastream.v1alpha1.ListStreamsResponse>

Promise

updateConnectionProfile(request, callback)

public updateConnectionProfile(request: google.cloud.datastream.v1alpha1.IUpdateConnectionProfileRequest, callback: google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfileCallback): void;

Calls UpdateConnectionProfile.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IUpdateConnectionProfileRequest

UpdateConnectionProfileRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfileCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateConnectionProfile(request)

public updateConnectionProfile(request: google.cloud.datastream.v1alpha1.IUpdateConnectionProfileRequest): Promise<google.longrunning.Operation>;

Calls UpdateConnectionProfile.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IUpdateConnectionProfileRequest

UpdateConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateStream(request, callback)

public updateStream(request: google.cloud.datastream.v1alpha1.IUpdateStreamRequest, callback: google.cloud.datastream.v1alpha1.Datastream.UpdateStreamCallback): void;

Calls UpdateStream.

Parameters
NameDescription
request google.cloud.datastream.v1alpha1.IUpdateStreamRequest

UpdateStreamRequest message or plain object

callback google.cloud.datastream.v1alpha1.Datastream.UpdateStreamCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateStream(request)

public updateStream(request: google.cloud.datastream.v1alpha1.IUpdateStreamRequest): Promise<google.longrunning.Operation>;

Calls UpdateStream.

Parameter
NameDescription
request google.cloud.datastream.v1alpha1.IUpdateStreamRequest

UpdateStreamRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise