Represents a ConnectionService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.bigquery.connection.v1.ConnectionServicePackage
@google-cloud/bigquery-connectionConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ConnectionService service.
| Name | Description |
| 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): ConnectionService;Creates new ConnectionService service using the specified rpc implementation.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
| ConnectionService | RPC service. Useful where requests and/or responses are streamed. |
createConnection(request, callback)
public createConnection(request: google.cloud.bigquery.connection.v1.ICreateConnectionRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.CreateConnectionCallback): void;Calls CreateConnection.
| Name | Description |
| request |
google.cloud.bigquery.connection.v1.ICreateConnectionRequest
CreateConnectionRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.CreateConnectionCallback
Node-style callback called with the error, if any, and Connection |
| Type | Description |
| void |
createConnection(request)
public createConnection(request: google.cloud.bigquery.connection.v1.ICreateConnectionRequest): Promise<google.cloud.bigquery.connection.v1.Connection>;Calls CreateConnection.
| Name | Description |
| request |
google.cloud.bigquery.connection.v1.ICreateConnectionRequest
CreateConnectionRequest message or plain object |
| Type | Description |
| Promise<google.cloud.bigquery.connection.v1.Connection> | Promise |
deleteConnection(request, callback)
public deleteConnection(request: google.cloud.bigquery.connection.v1.IDeleteConnectionRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.DeleteConnectionCallback): void;Calls DeleteConnection.
| Name | Description |
| request |
google.cloud.bigquery.connection.v1.IDeleteConnectionRequest
DeleteConnectionRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.DeleteConnectionCallback
Node-style callback called with the error, if any, and Empty |
| Type | Description |
| void |
deleteConnection(request)
public deleteConnection(request: google.cloud.bigquery.connection.v1.IDeleteConnectionRequest): Promise<google.protobuf.Empty>;Calls DeleteConnection.
| Name | Description |
| request |
google.cloud.bigquery.connection.v1.IDeleteConnectionRequest
DeleteConnectionRequest message or plain object |
| Type | Description |
| Promise<google.protobuf.Empty> | Promise |
getConnection(request, callback)
public getConnection(request: google.cloud.bigquery.connection.v1.IGetConnectionRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.GetConnectionCallback): void;Calls GetConnection.
| Name | Description |
| request |
google.cloud.bigquery.connection.v1.IGetConnectionRequest
GetConnectionRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.GetConnectionCallback
Node-style callback called with the error, if any, and Connection |
| Type | Description |
| void |
getConnection(request)
public getConnection(request: google.cloud.bigquery.connection.v1.IGetConnectionRequest): Promise<google.cloud.bigquery.connection.v1.Connection>;Calls GetConnection.
| Name | Description |
| request |
google.cloud.bigquery.connection.v1.IGetConnectionRequest
GetConnectionRequest message or plain object |
| Type | Description |
| Promise<google.cloud.bigquery.connection.v1.Connection> | Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.GetIamPolicyCallback): void;Calls GetIamPolicy.
| Name | Description |
| request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Type | Description |
| void |
getIamPolicy(request)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls GetIamPolicy.
| Name | Description |
| request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
| Type | Description |
| Promise<google.iam.v1.Policy> | Promise |
listConnections(request, callback)
public listConnections(request: google.cloud.bigquery.connection.v1.IListConnectionsRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.ListConnectionsCallback): void;Calls ListConnections.
| Name | Description |
| request |
IListConnectionsRequest
ListConnectionsRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.ListConnectionsCallback
Node-style callback called with the error, if any, and ListConnectionsResponse |
| Type | Description |
| void |
listConnections(request)
public listConnections(request: google.cloud.bigquery.connection.v1.IListConnectionsRequest): Promise<google.cloud.bigquery.connection.v1.ListConnectionsResponse>;Calls ListConnections.
| Name | Description |
| request |
IListConnectionsRequest
ListConnectionsRequest message or plain object |
| Type | Description |
| Promise<google.cloud.bigquery.connection.v1.ListConnectionsResponse> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.SetIamPolicyCallback): void;Calls SetIamPolicy.
| Name | Description |
| request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Type | Description |
| void |
setIamPolicy(request)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls SetIamPolicy.
| Name | Description |
| request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
| Type | Description |
| Promise<google.iam.v1.Policy> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.TestIamPermissionsCallback): void;Calls TestIamPermissions.
| Name | Description |
| request |
google.iam.v1.ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
| Type | Description |
| void |
testIamPermissions(request)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;Calls TestIamPermissions.
| Name | Description |
| request |
google.iam.v1.ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
| Type | Description |
| Promise<google.iam.v1.TestIamPermissionsResponse> | Promise |
updateConnection(request, callback)
public updateConnection(request: google.cloud.bigquery.connection.v1.IUpdateConnectionRequest, callback: google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnectionCallback): void;Calls UpdateConnection.
| Name | Description |
| request |
IUpdateConnectionRequest
UpdateConnectionRequest message or plain object |
| callback |
google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnectionCallback
Node-style callback called with the error, if any, and Connection |
| Type | Description |
| void |
updateConnection(request)
public updateConnection(request: google.cloud.bigquery.connection.v1.IUpdateConnectionRequest): Promise<google.cloud.bigquery.connection.v1.Connection>;Calls UpdateConnection.
| Name | Description |
| request |
IUpdateConnectionRequest
UpdateConnectionRequest message or plain object |
| Type | Description |
| Promise<google.cloud.bigquery.connection.v1.Connection> | Promise |