Represents a SecurityCenter
Inheritance
$protobuf.rpc.Service > protos.google.cloud.securitycenter.v1.SecurityCenterPackage
@google-cloud/security-centerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new SecurityCenter service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
batchCreateResourceValueConfigs(request, callback)
public batchCreateResourceValueConfigs(request: google.cloud.securitycenter.v1.IBatchCreateResourceValueConfigsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.BatchCreateResourceValueConfigsCallback): void;
Calls BatchCreateResourceValueConfigs.
Parameters | |
---|---|
Name | Description |
request |
IBatchCreateResourceValueConfigsRequest
BatchCreateResourceValueConfigsRequest message or plain object |
callback |
BatchCreateResourceValueConfigsCallback
Node-style callback called with the error, if any, and BatchCreateResourceValueConfigsResponse |
Returns | |
---|---|
Type | Description |
void |
batchCreateResourceValueConfigs(request)
public batchCreateResourceValueConfigs(request: google.cloud.securitycenter.v1.IBatchCreateResourceValueConfigsRequest): Promise<google.cloud.securitycenter.v1.BatchCreateResourceValueConfigsResponse>;
Calls BatchCreateResourceValueConfigs.
Parameter | |
---|---|
Name | Description |
request |
IBatchCreateResourceValueConfigsRequest
BatchCreateResourceValueConfigsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.securitycenter.v1.BatchCreateResourceValueConfigsResponse> |
Promise |
bulkMuteFindings(request, callback)
public bulkMuteFindings(request: google.cloud.securitycenter.v1.IBulkMuteFindingsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.BulkMuteFindingsCallback): void;
Calls BulkMuteFindings.
Parameters | |
---|---|
Name | Description |
request |
IBulkMuteFindingsRequest
BulkMuteFindingsRequest message or plain object |
callback |
BulkMuteFindingsCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
bulkMuteFindings(request)
public bulkMuteFindings(request: google.cloud.securitycenter.v1.IBulkMuteFindingsRequest): Promise<google.longrunning.Operation>;
Calls BulkMuteFindings.
Parameter | |
---|---|
Name | Description |
request |
IBulkMuteFindingsRequest
BulkMuteFindingsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SecurityCenter;
Creates new SecurityCenter 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 |
SecurityCenter |
RPC service. Useful where requests and/or responses are streamed. |
createBigQueryExport(request, callback)
public createBigQueryExport(request: google.cloud.securitycenter.v1.ICreateBigQueryExportRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.CreateBigQueryExportCallback): void;
Calls CreateBigQueryExport.
Parameters | |
---|---|
Name | Description |
request |
ICreateBigQueryExportRequest
CreateBigQueryExportRequest message or plain object |
callback |
CreateBigQueryExportCallback
Node-style callback called with the error, if any, and BigQueryExport |
Returns | |
---|---|
Type | Description |
void |
createBigQueryExport(request)
public createBigQueryExport(request: google.cloud.securitycenter.v1.ICreateBigQueryExportRequest): Promise<google.cloud.securitycenter.v1.BigQueryExport>;
Calls CreateBigQueryExport.
Parameter | |
---|---|
Name | Description |
request |
ICreateBigQueryExportRequest
CreateBigQueryExportRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.securitycenter.v1.BigQueryExport> |
Promise |