Represents a SecurityCenter
Inheritance
$protobuf.rpc.Service > protos.google.cloud.securitycenter.v1p1beta1.SecurityCenterPackage
@google-cloud/security-centerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new SecurityCenter 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): SecurityCenter;
Creates new SecurityCenter 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 |
SecurityCenter | RPC service. Useful where requests and/or responses are streamed. |
createFinding(request, callback)
public createFinding(request: google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFindingCallback): void;
Calls CreateFinding.
Name | Description |
request |
ICreateFindingRequest
CreateFindingRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFindingCallback
Node-style callback called with the error, if any, and Finding |
Type | Description |
void |
createFinding(request)
public createFinding(request: google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest): Promise<google.cloud.securitycenter.v1p1beta1.Finding>;
Calls CreateFinding.
Name | Description |
request |
ICreateFindingRequest
CreateFindingRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.Finding> | Promise |
createNotificationConfig(request, callback)
public createNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfigCallback): void;
Calls CreateNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest
CreateNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfigCallback
Node-style callback called with the error, if any, and NotificationConfig |
Type | Description |
void |
createNotificationConfig(request)
public createNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest): Promise<google.cloud.securitycenter.v1p1beta1.NotificationConfig>;
Calls CreateNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest
CreateNotificationConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.NotificationConfig> | Promise |
createSource(request, callback)
public createSource(request: google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSourceCallback): void;
Calls CreateSource.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest
CreateSourceRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSourceCallback
Node-style callback called with the error, if any, and Source |
Type | Description |
void |
createSource(request)
public createSource(request: google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest): Promise<google.cloud.securitycenter.v1p1beta1.Source>;
Calls CreateSource.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest
CreateSourceRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.Source> | Promise |
deleteNotificationConfig(request, callback)
public deleteNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.DeleteNotificationConfigCallback): void;
Calls DeleteNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest
DeleteNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.DeleteNotificationConfigCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteNotificationConfig(request)
public deleteNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest): Promise<google.protobuf.Empty>;
Calls DeleteNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest
DeleteNotificationConfigRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetIamPolicyCallback): void;
Calls GetIamPolicy.
Name | Description |
request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.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 |
getNotificationConfig(request, callback)
public getNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetNotificationConfigCallback): void;
Calls GetNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest
GetNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetNotificationConfigCallback
Node-style callback called with the error, if any, and NotificationConfig |
Type | Description |
void |
getNotificationConfig(request)
public getNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest): Promise<google.cloud.securitycenter.v1p1beta1.NotificationConfig>;
Calls GetNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest
GetNotificationConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.NotificationConfig> | Promise |
getOrganizationSettings(request, callback)
public getOrganizationSettings(request: google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetOrganizationSettingsCallback): void;
Calls GetOrganizationSettings.
Name | Description |
request |
IGetOrganizationSettingsRequest
GetOrganizationSettingsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetOrganizationSettingsCallback
Node-style callback called with the error, if any, and OrganizationSettings |
Type | Description |
void |
getOrganizationSettings(request)
public getOrganizationSettings(request: google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest): Promise<google.cloud.securitycenter.v1p1beta1.OrganizationSettings>;
Calls GetOrganizationSettings.
Name | Description |
request |
IGetOrganizationSettingsRequest
GetOrganizationSettingsRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.OrganizationSettings> | Promise |
getSource(request, callback)
public getSource(request: google.cloud.securitycenter.v1p1beta1.IGetSourceRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetSourceCallback): void;
Calls GetSource.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGetSourceRequest
GetSourceRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetSourceCallback
Node-style callback called with the error, if any, and Source |
Type | Description |
void |
getSource(request)
public getSource(request: google.cloud.securitycenter.v1p1beta1.IGetSourceRequest): Promise<google.cloud.securitycenter.v1p1beta1.Source>;
Calls GetSource.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGetSourceRequest
GetSourceRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.Source> | Promise |
groupAssets(request, callback)
public groupAssets(request: google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupAssetsCallback): void;
Calls GroupAssets.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest
GroupAssetsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupAssetsCallback
Node-style callback called with the error, if any, and GroupAssetsResponse |
Type | Description |
void |
groupAssets(request)
public groupAssets(request: google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest): Promise<google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse>;
Calls GroupAssets.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest
GroupAssetsRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse> | Promise |
groupFindings(request, callback)
public groupFindings(request: google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindingsCallback): void;
Calls GroupFindings.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest
GroupFindingsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindingsCallback
Node-style callback called with the error, if any, and GroupFindingsResponse |
Type | Description |
void |
groupFindings(request)
public groupFindings(request: google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest): Promise<google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse>;
Calls GroupFindings.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest
GroupFindingsRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse> | Promise |
listAssets(request, callback)
public listAssets(request: google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListAssetsCallback): void;
Calls ListAssets.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListAssetsRequest
ListAssetsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListAssetsCallback
Node-style callback called with the error, if any, and ListAssetsResponse |
Type | Description |
void |
listAssets(request)
public listAssets(request: google.cloud.securitycenter.v1p1beta1.IListAssetsRequest): Promise<google.cloud.securitycenter.v1p1beta1.ListAssetsResponse>;
Calls ListAssets.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListAssetsRequest
ListAssetsRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.ListAssetsResponse> | Promise |
listFindings(request, callback)
public listFindings(request: google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListFindingsCallback): void;
Calls ListFindings.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListFindingsRequest
ListFindingsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListFindingsCallback
Node-style callback called with the error, if any, and ListFindingsResponse |
Type | Description |
void |
listFindings(request)
public listFindings(request: google.cloud.securitycenter.v1p1beta1.IListFindingsRequest): Promise<google.cloud.securitycenter.v1p1beta1.ListFindingsResponse>;
Calls ListFindings.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListFindingsRequest
ListFindingsRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.ListFindingsResponse> | Promise |
listNotificationConfigs(request, callback)
public listNotificationConfigs(request: google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListNotificationConfigsCallback): void;
Calls ListNotificationConfigs.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest
ListNotificationConfigsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListNotificationConfigsCallback
Node-style callback called with the error, if any, and ListNotificationConfigsResponse |
Type | Description |
void |
listNotificationConfigs(request)
public listNotificationConfigs(request: google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest): Promise<google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse>;
Calls ListNotificationConfigs.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest
ListNotificationConfigsRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse> | Promise |
listSources(request, callback)
public listSources(request: google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListSourcesCallback): void;
Calls ListSources.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListSourcesRequest
ListSourcesRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListSourcesCallback
Node-style callback called with the error, if any, and ListSourcesResponse |
Type | Description |
void |
listSources(request)
public listSources(request: google.cloud.securitycenter.v1p1beta1.IListSourcesRequest): Promise<google.cloud.securitycenter.v1p1beta1.ListSourcesResponse>;
Calls ListSources.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IListSourcesRequest
ListSourcesRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.ListSourcesResponse> | Promise |
runAssetDiscovery(request, callback)
public runAssetDiscovery(request: google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.RunAssetDiscoveryCallback): void;
Calls RunAssetDiscovery.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest
RunAssetDiscoveryRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.RunAssetDiscoveryCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
runAssetDiscovery(request)
public runAssetDiscovery(request: google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest): Promise<google.longrunning.Operation>;
Calls RunAssetDiscovery.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest
RunAssetDiscoveryRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
setFindingState(request, callback)
public setFindingState(request: google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetFindingStateCallback): void;
Calls SetFindingState.
Name | Description |
request |
ISetFindingStateRequest
SetFindingStateRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetFindingStateCallback
Node-style callback called with the error, if any, and Finding |
Type | Description |
void |
setFindingState(request)
public setFindingState(request: google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest): Promise<google.cloud.securitycenter.v1p1beta1.Finding>;
Calls SetFindingState.
Name | Description |
request |
ISetFindingStateRequest
SetFindingStateRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.Finding> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetIamPolicyCallback): void;
Calls SetIamPolicy.
Name | Description |
request |
google.iam.v1.ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.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 |
google.iam.v1.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.securitycenter.v1p1beta1.SecurityCenter.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Name | Description |
request |
google.iam.v1.ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.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 |
updateFinding(request, callback)
public updateFinding(request: google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateFindingCallback): void;
Calls UpdateFinding.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest
UpdateFindingRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateFindingCallback
Node-style callback called with the error, if any, and Finding |
Type | Description |
void |
updateFinding(request)
public updateFinding(request: google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest): Promise<google.cloud.securitycenter.v1p1beta1.Finding>;
Calls UpdateFinding.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest
UpdateFindingRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.Finding> | Promise |
updateNotificationConfig(request, callback)
public updateNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateNotificationConfigCallback): void;
Calls UpdateNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest
UpdateNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateNotificationConfigCallback
Node-style callback called with the error, if any, and NotificationConfig |
Type | Description |
void |
updateNotificationConfig(request)
public updateNotificationConfig(request: google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest): Promise<google.cloud.securitycenter.v1p1beta1.NotificationConfig>;
Calls UpdateNotificationConfig.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest
UpdateNotificationConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.NotificationConfig> | Promise |
updateOrganizationSettings(request, callback)
public updateOrganizationSettings(request: google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateOrganizationSettingsCallback): void;
Calls UpdateOrganizationSettings.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest
UpdateOrganizationSettingsRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateOrganizationSettingsCallback
Node-style callback called with the error, if any, and OrganizationSettings |
Type | Description |
void |
updateOrganizationSettings(request)
public updateOrganizationSettings(request: google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest): Promise<google.cloud.securitycenter.v1p1beta1.OrganizationSettings>;
Calls UpdateOrganizationSettings.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest
UpdateOrganizationSettingsRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.OrganizationSettings> | Promise |
updateSecurityMarks(request, callback)
public updateSecurityMarks(request: google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSecurityMarksCallback): void;
Calls UpdateSecurityMarks.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest
UpdateSecurityMarksRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSecurityMarksCallback
Node-style callback called with the error, if any, and SecurityMarks |
Type | Description |
void |
updateSecurityMarks(request)
public updateSecurityMarks(request: google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest): Promise<google.cloud.securitycenter.v1p1beta1.SecurityMarks>;
Calls UpdateSecurityMarks.
Name | Description |
request |
google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest
UpdateSecurityMarksRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.SecurityMarks> | Promise |
updateSource(request, callback)
public updateSource(request: google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest, callback: google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSourceCallback): void;
Calls UpdateSource.
Name | Description |
request |
IUpdateSourceRequest
UpdateSourceRequest message or plain object |
callback |
google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSourceCallback
Node-style callback called with the error, if any, and Source |
Type | Description |
void |
updateSource(request)
public updateSource(request: google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest): Promise<google.cloud.securitycenter.v1p1beta1.Source>;
Calls UpdateSource.
Name | Description |
request |
IUpdateSourceRequest
UpdateSourceRequest message or plain object |
Type | Description |
Promise<google.cloud.securitycenter.v1p1beta1.Source> | Promise |