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