V1p1Beta1 APIs for Security Center service. v1p1beta1
Package
@google-cloud/security-center!
Constructors
(constructor)(opts)
constructor(opts?: ClientOptions);
Construct an instance of SecurityCenterClient.
Parameter
| Name |
Description |
| opts |
ClientOptions
|
Properties
apiEndpoint
static get apiEndpoint(): string;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Property Value
auth
Property Value
| Type |
Description |
| gax.GoogleAuth |
|
descriptors
descriptors: Descriptors;
Property Value
| Type |
Description |
| Descriptors |
|
innerApiCalls
innerApiCalls: {
[name: string]: Function;
};
Property Value
| Type |
Description |
| {
[name: string]: Function;
} |
|
operationsClient
operationsClient: gax.OperationsClient;
Property Value
| Type |
Description |
| gax.OperationsClient |
|
pathTemplates
pathTemplates: {
[name: string]: gax.PathTemplate;
};
Property Value
| Type |
Description |
| {
[name: string]: gax.PathTemplate;
} |
|
port
static get port(): number;
The port for this API service.
Property Value
scopes
static get scopes(): string[];
The scopes needed to make gRPC calls for every method defined in this service.
Property Value
| Type |
Description |
| string[] |
|
securityCenterStub
securityCenterStub?: Promise<{
[name: string]: Function;
}>;
Property Value
| Type |
Description |
| Promise<{
[name: string]: Function;
}> |
|
servicePath
static get servicePath(): string;
The DNS address for this API service.
Property Value
warn
warn: (code: string, message: string, warnType?: string) => void;
Property Value
| Type |
Description |
| (code: string, message: string, warnType?: string) => void |
|
Methods
checkRunAssetDiscoveryProgress(name)
checkRunAssetDiscoveryProgress(name: string): Promise<LROperation<protos.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse, protos.google.protobuf.Empty>>;
Check the status of the long running operation returned by runAssetDiscovery().
Parameter
| Name |
Description |
| name |
string
The operation name that will be passed.
|
Returns
| Type |
Description |
| Promise<LROperation<protos.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse, protos.google.protobuf.Empty>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
|
close()
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns
| Type |
Description |
| Promise<void> |
{Promise} A promise that resolves when the client is closed.
|
createFinding(request, options)
createFinding(request?: protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.IFinding, (protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.IFinding, (protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest | undefined), {} | undefined]> |
|
createFinding(request, options, callback)
createFinding(request: protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest | null | undefined, {} | null | undefined>
|
Returns
createFinding(request, callback)
createFinding(request: protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest | null | undefined, {} | null | undefined>
|
Returns
createNotificationConfig(request, options)
createNotificationConfig(request?: protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, (protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, (protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest | undefined), {} | undefined]> |
|
createNotificationConfig(request, options, callback)
createNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
createNotificationConfig(request, callback)
createNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
createSource(request, options)
createSource(request?: protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource, (protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource, (protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest | undefined), {} | undefined]> |
|
createSource(request, options, callback)
createSource(request: protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest | null | undefined, {} | null | undefined>
|
Returns
createSource(request, callback)
createSource(request: protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest | null | undefined, {} | null | undefined>
|
Returns
deleteNotificationConfig(request, options)
deleteNotificationConfig(request?: protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest, options?: CallOptions): Promise<[protos.google.protobuf.IEmpty, (protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.protobuf.IEmpty, (protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest | undefined), {} | undefined]> |
|
deleteNotificationConfig(request, options, callback)
deleteNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
deleteNotificationConfig(request, callback)
deleteNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest
|
| callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
folderAssetPath(folder, asset)
folderAssetPath(folder: string, asset: string): string;
Return a fully-qualified folderAsset resource name string.
Parameters
| Name |
Description |
| folder |
string
|
| asset |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
folderAssetSecurityMarksPath(folder, asset)
folderAssetSecurityMarksPath(folder: string, asset: string): string;
Return a fully-qualified folderAssetSecurityMarks resource name string.
Parameters
| Name |
Description |
| folder |
string
|
| asset |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
folderSourceFindingPath(folder, source, finding)
folderSourceFindingPath(folder: string, source: string, finding: string): string;
Return a fully-qualified folderSourceFinding resource name string.
Parameters
| Name |
Description |
| folder |
string
|
| source |
string
|
| finding |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
folderSourceFindingSecurityMarksPath(folder, source, finding)
folderSourceFindingSecurityMarksPath(folder: string, source: string, finding: string): string;
Return a fully-qualified folderSourceFindingSecurityMarks resource name string.
Parameters
| Name |
Description |
| folder |
string
|
| source |
string
|
| finding |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
folderSourcePath(folder, source)
folderSourcePath(folder: string, source: string): string;
Return a fully-qualified folderSource resource name string.
Parameters
| Name |
Description |
| folder |
string
|
| source |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
getIamPolicy(request, options)
getIamPolicy(request?: protos.google.iam.v1.IGetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | undefined, {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.IGetIamPolicyRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | undefined, {} | undefined]> |
|
getIamPolicy(request, options, callback)
getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.IGetIamPolicyRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>
|
Returns
getIamPolicy(request, callback)
getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.IGetIamPolicyRequest
|
| callback |
Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>
|
Returns
getNotificationConfig(request, options)
getNotificationConfig(request?: protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, (protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, (protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest | undefined), {} | undefined]> |
|
getNotificationConfig(request, options, callback)
getNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
getNotificationConfig(request, callback)
getNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
getOrganizationSettings(request, options)
getOrganizationSettings(request?: protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, (protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, (protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest | undefined), {} | undefined]> |
|
getOrganizationSettings(request, options, callback)
getOrganizationSettings(request: protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest | null | undefined, {} | null | undefined>
|
Returns
getOrganizationSettings(request, callback)
getOrganizationSettings(request: protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest | null | undefined, {} | null | undefined>
|
Returns
getProjectId()
getProjectId(): Promise<string>;
Returns
| Type |
Description |
| Promise<string> |
|
getProjectId(callback)
getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
| Name |
Description |
| callback |
Callback<string, undefined, undefined>
|
Returns
getSource(request, options)
getSource(request?: protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource, (protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource, (protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest | undefined), {} | undefined]> |
|
getSource(request, options, callback)
getSource(request: protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest | null | undefined, {} | null | undefined>
|
Returns
getSource(request, callback)
getSource(request: protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IGetSourceRequest | null | undefined, {} | null | undefined>
|
Returns
groupAssets(request, options)
groupAssets(request?: protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.IGroupResult[], protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsResponse]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.IGroupResult[], protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsResponse]> |
|
groupAssets(request, options, callback)
groupAssets(request: protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>
|
Returns
groupAssets(request, callback)
groupAssets(request: protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>
|
Returns
groupAssetsAsync(request, options)
groupAssetsAsync(request?: protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>;
Equivalent to groupAssets, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.IGroupResult> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [GroupResult]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
groupAssetsStream(request, options)
groupAssetsStream(request?: protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| Transform |
{Stream} An object stream which emits an object representing [GroupResult] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using groupAssetsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
groupFindings(request, options)
groupFindings(request?: protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.IGroupResult[], protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsResponse]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.IGroupResult[], protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsResponse]> |
|
groupFindings(request, options, callback)
groupFindings(request: protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>
|
Returns
groupFindings(request, callback)
groupFindings(request: protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>
|
Returns
groupFindingsAsync(request, options)
groupFindingsAsync(request?: protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.IGroupResult>;
Equivalent to groupFindings, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.IGroupResult> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [GroupResult]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
groupFindingsStream(request, options)
groupFindingsStream(request?: protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| Transform |
{Stream} An object stream which emits an object representing [GroupResult] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using groupFindingsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
initialize()
initialize(): Promise<{
[name: string]: Function;
}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns
| Type |
Description |
| Promise<{
[name: string]: Function;
}> |
{Promise} A promise that resolves to an authenticated service stub.
|
listAssets(request, options)
listAssets(request?: protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult[], protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListAssetsResponse]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult[], protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListAssetsResponse]> |
|
listAssets(request, options, callback)
listAssets(request: protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult>
|
Returns
listAssets(request, callback)
listAssets(request: protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListAssetsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult>
|
Returns
listAssetsAsync(request, options)
listAssetsAsync(request?: protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult>;
Equivalent to listAssets, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.IListAssetsResult> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [ListAssetsResult]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listAssetsStream(request, options)
listAssetsStream(request?: protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListAssetsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| Transform |
{Stream} An object stream which emits an object representing [ListAssetsResult] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listAssetsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listFindings(request, options)
listFindings(request?: protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult[], protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListFindingsResponse]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult[], protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListFindingsResponse]> |
|
listFindings(request, options, callback)
listFindings(request: protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult>
|
Returns
listFindings(request, callback)
listFindings(request: protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListFindingsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult>
|
Returns
listFindingsAsync(request, options)
listFindingsAsync(request?: protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult>;
Equivalent to listFindings, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.IListFindingsResult> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [ListFindingsResult]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listFindingsStream(request, options)
listFindingsStream(request?: protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListFindingsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| Transform |
{Stream} An object stream which emits an object representing [ListFindingsResult] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listFindingsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listNotificationConfigs(request, options)
listNotificationConfigs(request?: protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig[], protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsResponse]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig[], protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsResponse]> |
|
listNotificationConfigs(request, options, callback)
listNotificationConfigs(request: protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig>
|
Returns
listNotificationConfigs(request, callback)
listNotificationConfigs(request: protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig>
|
Returns
listNotificationConfigsAsync(request, options)
listNotificationConfigsAsync(request?: protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig>;
Equivalent to listNotificationConfigs, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [NotificationConfig]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listNotificationConfigsStream(request, options)
listNotificationConfigsStream(request?: protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListNotificationConfigsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| Transform |
{Stream} An object stream which emits an object representing [NotificationConfig] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listNotificationConfigsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listSources(request, options)
listSources(request?: protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource[], protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListSourcesResponse]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource[], protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest | null, protos.google.cloud.securitycenter.v1p1beta1.IListSourcesResponse]> |
|
listSources(request, options, callback)
listSources(request: protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, protos.google.cloud.securitycenter.v1p1beta1.IListSourcesResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ISource>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, protos.google.cloud.securitycenter.v1p1beta1.IListSourcesResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ISource>
|
Returns
listSources(request, callback)
listSources(request: protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, callback: PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, protos.google.cloud.securitycenter.v1p1beta1.IListSourcesResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ISource>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest
|
| callback |
PaginationCallback<protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, protos.google.cloud.securitycenter.v1p1beta1.IListSourcesResponse | null | undefined, protos.google.cloud.securitycenter.v1p1beta1.ISource>
|
Returns
listSourcesAsync(request, options)
listSourcesAsync(request?: protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.ISource>;
Equivalent to listSources, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| AsyncIterable<protos.google.cloud.securitycenter.v1p1beta1.ISource> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Source]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listSourcesStream(request, options)
listSourcesStream(request?: protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IListSourcesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions for more details.
|
Returns
| Type |
Description |
| Transform |
{Stream} An object stream which emits an object representing [Source] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listSourcesAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
matchAssetFromFolderAssetName(folderAssetName)
matchAssetFromFolderAssetName(folderAssetName: string): string | number;
Parse the asset from FolderAsset resource.
Parameter
| Name |
Description |
| folderAssetName |
string
A fully-qualified path representing folder_asset resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the asset.
|
matchAssetFromFolderAssetSecurityMarksName(folderAssetSecurityMarksName)
matchAssetFromFolderAssetSecurityMarksName(folderAssetSecurityMarksName: string): string | number;
Parse the asset from FolderAssetSecurityMarks resource.
Parameter
| Name |
Description |
| folderAssetSecurityMarksName |
string
A fully-qualified path representing folder_asset_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the asset.
|
matchAssetFromOrganizationAssetName(organizationAssetName)
matchAssetFromOrganizationAssetName(organizationAssetName: string): string | number;
Parse the asset from OrganizationAsset resource.
Parameter
| Name |
Description |
| organizationAssetName |
string
A fully-qualified path representing organization_asset resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the asset.
|
matchAssetFromOrganizationAssetSecurityMarksName(organizationAssetSecurityMarksName)
matchAssetFromOrganizationAssetSecurityMarksName(organizationAssetSecurityMarksName: string): string | number;
Parse the asset from OrganizationAssetSecurityMarks resource.
Parameter
| Name |
Description |
| organizationAssetSecurityMarksName |
string
A fully-qualified path representing organization_asset_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the asset.
|
matchAssetFromProjectAssetName(projectAssetName)
matchAssetFromProjectAssetName(projectAssetName: string): string | number;
Parse the asset from ProjectAsset resource.
Parameter
| Name |
Description |
| projectAssetName |
string
A fully-qualified path representing project_asset resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the asset.
|
matchAssetFromProjectAssetSecurityMarksName(projectAssetSecurityMarksName)
matchAssetFromProjectAssetSecurityMarksName(projectAssetSecurityMarksName: string): string | number;
Parse the asset from ProjectAssetSecurityMarks resource.
Parameter
| Name |
Description |
| projectAssetSecurityMarksName |
string
A fully-qualified path representing project_asset_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the asset.
|
matchFindingFromFolderSourceFindingName(folderSourceFindingName)
matchFindingFromFolderSourceFindingName(folderSourceFindingName: string): string | number;
Parse the finding from FolderSourceFinding resource.
Parameter
| Name |
Description |
| folderSourceFindingName |
string
A fully-qualified path representing folder_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the finding.
|
matchFindingFromFolderSourceFindingSecurityMarksName(folderSourceFindingSecurityMarksName)
matchFindingFromFolderSourceFindingSecurityMarksName(folderSourceFindingSecurityMarksName: string): string | number;
Parse the finding from FolderSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| folderSourceFindingSecurityMarksName |
string
A fully-qualified path representing folder_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the finding.
|
matchFindingFromOrganizationSourceFindingName(organizationSourceFindingName)
matchFindingFromOrganizationSourceFindingName(organizationSourceFindingName: string): string | number;
Parse the finding from OrganizationSourceFinding resource.
Parameter
| Name |
Description |
| organizationSourceFindingName |
string
A fully-qualified path representing organization_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the finding.
|
matchFindingFromOrganizationSourceFindingSecurityMarksName(organizationSourceFindingSecurityMarksName)
matchFindingFromOrganizationSourceFindingSecurityMarksName(organizationSourceFindingSecurityMarksName: string): string | number;
Parse the finding from OrganizationSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| organizationSourceFindingSecurityMarksName |
string
A fully-qualified path representing organization_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the finding.
|
matchFindingFromProjectSourceFindingName(projectSourceFindingName)
matchFindingFromProjectSourceFindingName(projectSourceFindingName: string): string | number;
Parse the finding from ProjectSourceFinding resource.
Parameter
| Name |
Description |
| projectSourceFindingName |
string
A fully-qualified path representing project_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the finding.
|
matchFindingFromProjectSourceFindingSecurityMarksName(projectSourceFindingSecurityMarksName)
matchFindingFromProjectSourceFindingSecurityMarksName(projectSourceFindingSecurityMarksName: string): string | number;
Parse the finding from ProjectSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| projectSourceFindingSecurityMarksName |
string
A fully-qualified path representing project_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the finding.
|
matchFolderFromFolderAssetName(folderAssetName)
matchFolderFromFolderAssetName(folderAssetName: string): string | number;
Parse the folder from FolderAsset resource.
Parameter
| Name |
Description |
| folderAssetName |
string
A fully-qualified path representing folder_asset resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the folder.
|
matchFolderFromFolderAssetSecurityMarksName(folderAssetSecurityMarksName)
matchFolderFromFolderAssetSecurityMarksName(folderAssetSecurityMarksName: string): string | number;
Parse the folder from FolderAssetSecurityMarks resource.
Parameter
| Name |
Description |
| folderAssetSecurityMarksName |
string
A fully-qualified path representing folder_asset_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the folder.
|
matchFolderFromFolderSourceFindingName(folderSourceFindingName)
matchFolderFromFolderSourceFindingName(folderSourceFindingName: string): string | number;
Parse the folder from FolderSourceFinding resource.
Parameter
| Name |
Description |
| folderSourceFindingName |
string
A fully-qualified path representing folder_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the folder.
|
matchFolderFromFolderSourceFindingSecurityMarksName(folderSourceFindingSecurityMarksName)
matchFolderFromFolderSourceFindingSecurityMarksName(folderSourceFindingSecurityMarksName: string): string | number;
Parse the folder from FolderSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| folderSourceFindingSecurityMarksName |
string
A fully-qualified path representing folder_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the folder.
|
matchFolderFromFolderSourceName(folderSourceName)
matchFolderFromFolderSourceName(folderSourceName: string): string | number;
Parse the folder from FolderSource resource.
Parameter
| Name |
Description |
| folderSourceName |
string
A fully-qualified path representing folder_source resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the folder.
|
matchNotificationConfigFromNotificationConfigName(notificationConfigName)
matchNotificationConfigFromNotificationConfigName(notificationConfigName: string): string | number;
Parse the notification_config from NotificationConfig resource.
Parameter
| Name |
Description |
| notificationConfigName |
string
A fully-qualified path representing NotificationConfig resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the notification_config.
|
matchOrganizationFromNotificationConfigName(notificationConfigName)
matchOrganizationFromNotificationConfigName(notificationConfigName: string): string | number;
Parse the organization from NotificationConfig resource.
Parameter
| Name |
Description |
| notificationConfigName |
string
A fully-qualified path representing NotificationConfig resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchOrganizationFromOrganizationAssetName(organizationAssetName)
matchOrganizationFromOrganizationAssetName(organizationAssetName: string): string | number;
Parse the organization from OrganizationAsset resource.
Parameter
| Name |
Description |
| organizationAssetName |
string
A fully-qualified path representing organization_asset resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchOrganizationFromOrganizationAssetSecurityMarksName(organizationAssetSecurityMarksName)
matchOrganizationFromOrganizationAssetSecurityMarksName(organizationAssetSecurityMarksName: string): string | number;
Parse the organization from OrganizationAssetSecurityMarks resource.
Parameter
| Name |
Description |
| organizationAssetSecurityMarksName |
string
A fully-qualified path representing organization_asset_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchOrganizationFromOrganizationName(organizationName)
matchOrganizationFromOrganizationName(organizationName: string): string | number;
Parse the organization from Organization resource.
Parameter
| Name |
Description |
| organizationName |
string
A fully-qualified path representing Organization resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchOrganizationFromOrganizationSettingsName(organizationSettingsName)
matchOrganizationFromOrganizationSettingsName(organizationSettingsName: string): string | number;
Parse the organization from OrganizationSettings resource.
Parameter
| Name |
Description |
| organizationSettingsName |
string
A fully-qualified path representing OrganizationSettings resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchOrganizationFromOrganizationSourceFindingName(organizationSourceFindingName)
matchOrganizationFromOrganizationSourceFindingName(organizationSourceFindingName: string): string | number;
Parse the organization from OrganizationSourceFinding resource.
Parameter
| Name |
Description |
| organizationSourceFindingName |
string
A fully-qualified path representing organization_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchOrganizationFromOrganizationSourceFindingSecurityMarksName(organizationSourceFindingSecurityMarksName)
matchOrganizationFromOrganizationSourceFindingSecurityMarksName(organizationSourceFindingSecurityMarksName: string): string | number;
Parse the organization from OrganizationSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| organizationSourceFindingSecurityMarksName |
string
A fully-qualified path representing organization_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchOrganizationFromOrganizationSourceName(organizationSourceName)
matchOrganizationFromOrganizationSourceName(organizationSourceName: string): string | number;
Parse the organization from OrganizationSource resource.
Parameter
| Name |
Description |
| organizationSourceName |
string
A fully-qualified path representing organization_source resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the organization.
|
matchProjectFromProjectAssetName(projectAssetName)
matchProjectFromProjectAssetName(projectAssetName: string): string | number;
Parse the project from ProjectAsset resource.
Parameter
| Name |
Description |
| projectAssetName |
string
A fully-qualified path representing project_asset resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the project.
|
matchProjectFromProjectAssetSecurityMarksName(projectAssetSecurityMarksName)
matchProjectFromProjectAssetSecurityMarksName(projectAssetSecurityMarksName: string): string | number;
Parse the project from ProjectAssetSecurityMarks resource.
Parameter
| Name |
Description |
| projectAssetSecurityMarksName |
string
A fully-qualified path representing project_asset_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the project.
|
matchProjectFromProjectSourceFindingName(projectSourceFindingName)
matchProjectFromProjectSourceFindingName(projectSourceFindingName: string): string | number;
Parse the project from ProjectSourceFinding resource.
Parameter
| Name |
Description |
| projectSourceFindingName |
string
A fully-qualified path representing project_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the project.
|
matchProjectFromProjectSourceFindingSecurityMarksName(projectSourceFindingSecurityMarksName)
matchProjectFromProjectSourceFindingSecurityMarksName(projectSourceFindingSecurityMarksName: string): string | number;
Parse the project from ProjectSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| projectSourceFindingSecurityMarksName |
string
A fully-qualified path representing project_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the project.
|
matchProjectFromProjectSourceName(projectSourceName)
matchProjectFromProjectSourceName(projectSourceName: string): string | number;
Parse the project from ProjectSource resource.
Parameter
| Name |
Description |
| projectSourceName |
string
A fully-qualified path representing project_source resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the project.
|
matchSourceFromFolderSourceFindingName(folderSourceFindingName)
matchSourceFromFolderSourceFindingName(folderSourceFindingName: string): string | number;
Parse the source from FolderSourceFinding resource.
Parameter
| Name |
Description |
| folderSourceFindingName |
string
A fully-qualified path representing folder_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromFolderSourceFindingSecurityMarksName(folderSourceFindingSecurityMarksName)
matchSourceFromFolderSourceFindingSecurityMarksName(folderSourceFindingSecurityMarksName: string): string | number;
Parse the source from FolderSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| folderSourceFindingSecurityMarksName |
string
A fully-qualified path representing folder_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromFolderSourceName(folderSourceName)
matchSourceFromFolderSourceName(folderSourceName: string): string | number;
Parse the source from FolderSource resource.
Parameter
| Name |
Description |
| folderSourceName |
string
A fully-qualified path representing folder_source resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromOrganizationSourceFindingName(organizationSourceFindingName)
matchSourceFromOrganizationSourceFindingName(organizationSourceFindingName: string): string | number;
Parse the source from OrganizationSourceFinding resource.
Parameter
| Name |
Description |
| organizationSourceFindingName |
string
A fully-qualified path representing organization_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromOrganizationSourceFindingSecurityMarksName(organizationSourceFindingSecurityMarksName)
matchSourceFromOrganizationSourceFindingSecurityMarksName(organizationSourceFindingSecurityMarksName: string): string | number;
Parse the source from OrganizationSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| organizationSourceFindingSecurityMarksName |
string
A fully-qualified path representing organization_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromOrganizationSourceName(organizationSourceName)
matchSourceFromOrganizationSourceName(organizationSourceName: string): string | number;
Parse the source from OrganizationSource resource.
Parameter
| Name |
Description |
| organizationSourceName |
string
A fully-qualified path representing organization_source resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromProjectSourceFindingName(projectSourceFindingName)
matchSourceFromProjectSourceFindingName(projectSourceFindingName: string): string | number;
Parse the source from ProjectSourceFinding resource.
Parameter
| Name |
Description |
| projectSourceFindingName |
string
A fully-qualified path representing project_source_finding resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromProjectSourceFindingSecurityMarksName(projectSourceFindingSecurityMarksName)
matchSourceFromProjectSourceFindingSecurityMarksName(projectSourceFindingSecurityMarksName: string): string | number;
Parse the source from ProjectSourceFindingSecurityMarks resource.
Parameter
| Name |
Description |
| projectSourceFindingSecurityMarksName |
string
A fully-qualified path representing project_source_finding_securityMarks resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
matchSourceFromProjectSourceName(projectSourceName)
matchSourceFromProjectSourceName(projectSourceName: string): string | number;
Parse the source from ProjectSource resource.
Parameter
| Name |
Description |
| projectSourceName |
string
A fully-qualified path representing project_source resource.
|
Returns
| Type |
Description |
| string | number |
{string} A string representing the source.
|
notificationConfigPath(organization, notificationConfig)
notificationConfigPath(organization: string, notificationConfig: string): string;
Return a fully-qualified notificationConfig resource name string.
Parameters
| Name |
Description |
| organization |
string
|
| notificationConfig |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
organizationAssetPath(organization, asset)
organizationAssetPath(organization: string, asset: string): string;
Return a fully-qualified organizationAsset resource name string.
Parameters
| Name |
Description |
| organization |
string
|
| asset |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
organizationAssetSecurityMarksPath(organization, asset)
organizationAssetSecurityMarksPath(organization: string, asset: string): string;
Return a fully-qualified organizationAssetSecurityMarks resource name string.
Parameters
| Name |
Description |
| organization |
string
|
| asset |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
organizationPath(organization)
organizationPath(organization: string): string;
Return a fully-qualified organization resource name string.
Parameter
| Name |
Description |
| organization |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
organizationSettingsPath(organization)
organizationSettingsPath(organization: string): string;
Return a fully-qualified organizationSettings resource name string.
Parameter
| Name |
Description |
| organization |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
organizationSourceFindingPath(organization, source, finding)
organizationSourceFindingPath(organization: string, source: string, finding: string): string;
Return a fully-qualified organizationSourceFinding resource name string.
Parameters
| Name |
Description |
| organization |
string
|
| source |
string
|
| finding |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
organizationSourceFindingSecurityMarksPath(organization, source, finding)
organizationSourceFindingSecurityMarksPath(organization: string, source: string, finding: string): string;
Return a fully-qualified organizationSourceFindingSecurityMarks resource name string.
Parameters
| Name |
Description |
| organization |
string
|
| source |
string
|
| finding |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
organizationSourcePath(organization, source)
organizationSourcePath(organization: string, source: string): string;
Return a fully-qualified organizationSource resource name string.
Parameters
| Name |
Description |
| organization |
string
|
| source |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
projectAssetPath(project, asset)
projectAssetPath(project: string, asset: string): string;
Return a fully-qualified projectAsset resource name string.
Parameters
| Name |
Description |
| project |
string
|
| asset |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
projectAssetSecurityMarksPath(project, asset)
projectAssetSecurityMarksPath(project: string, asset: string): string;
Return a fully-qualified projectAssetSecurityMarks resource name string.
Parameters
| Name |
Description |
| project |
string
|
| asset |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
projectSourceFindingPath(project, source, finding)
projectSourceFindingPath(project: string, source: string, finding: string): string;
Return a fully-qualified projectSourceFinding resource name string.
Parameters
| Name |
Description |
| project |
string
|
| source |
string
|
| finding |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
projectSourceFindingSecurityMarksPath(project, source, finding)
projectSourceFindingSecurityMarksPath(project: string, source: string, finding: string): string;
Return a fully-qualified projectSourceFindingSecurityMarks resource name string.
Parameters
| Name |
Description |
| project |
string
|
| source |
string
|
| finding |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
projectSourcePath(project, source)
projectSourcePath(project: string, source: string): string;
Return a fully-qualified projectSource resource name string.
Parameters
| Name |
Description |
| project |
string
|
| source |
string
|
Returns
| Type |
Description |
| string |
{string} Resource name string.
|
runAssetDiscovery(request, options)
runAssetDiscovery(request?: protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest, options?: CallOptions): Promise<[LROperation<protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryResponse, protos.google.protobuf.IEmpty>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[LROperation<protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryResponse, protos.google.protobuf.IEmpty>, protos.google.longrunning.IOperation | undefined, {} | undefined]> |
|
runAssetDiscovery(request, options, callback)
runAssetDiscovery(request: protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryResponse, protos.google.protobuf.IEmpty>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest
|
| options |
CallOptions
|
| callback |
Callback<LROperation<protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryResponse, protos.google.protobuf.IEmpty>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
runAssetDiscovery(request, callback)
runAssetDiscovery(request: protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest, callback: Callback<LROperation<protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryResponse, protos.google.protobuf.IEmpty>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryRequest
|
| callback |
Callback<LROperation<protos.google.cloud.securitycenter.v1p1beta1.IRunAssetDiscoveryResponse, protos.google.protobuf.IEmpty>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Returns
setFindingState(request, options)
setFindingState(request?: protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.IFinding, (protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.IFinding, (protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest | undefined), {} | undefined]> |
|
setFindingState(request, options, callback)
setFindingState(request: protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest | null | undefined, {} | null | undefined>
|
Returns
setFindingState(request, callback)
setFindingState(request: protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.ISetFindingStateRequest | null | undefined, {} | null | undefined>
|
Returns
setIamPolicy(request, options)
setIamPolicy(request?: protos.google.iam.v1.ISetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | undefined, {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.ISetIamPolicyRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | undefined, {} | undefined]> |
|
setIamPolicy(request, options, callback)
setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.ISetIamPolicyRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>
|
Returns
setIamPolicy(request, callback)
setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.ISetIamPolicyRequest
|
| callback |
Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>
|
Returns
testIamPermissions(request, options)
testIamPermissions(request?: protos.google.iam.v1.ITestIamPermissionsRequest, options?: CallOptions): Promise<[protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | undefined, {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.ITestIamPermissionsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | undefined, {} | undefined]> |
|
testIamPermissions(request, options, callback)
testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.ITestIamPermissionsRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>
|
Returns
testIamPermissions(request, callback)
testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.iam.v1.ITestIamPermissionsRequest
|
| callback |
Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>
|
Returns
updateFinding(request, options)
updateFinding(request?: protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.IFinding, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.IFinding, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest | undefined), {} | undefined]> |
|
updateFinding(request, options, callback)
updateFinding(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest | null | undefined, {} | null | undefined>
|
Returns
updateFinding(request, callback)
updateFinding(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IFinding, protos.google.cloud.securitycenter.v1p1beta1.IUpdateFindingRequest | null | undefined, {} | null | undefined>
|
Returns
updateNotificationConfig(request, options)
updateNotificationConfig(request?: protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest | undefined), {} | undefined]> |
|
updateNotificationConfig(request, options, callback)
updateNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
updateNotificationConfig(request, callback)
updateNotificationConfig(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.INotificationConfig, protos.google.cloud.securitycenter.v1p1beta1.IUpdateNotificationConfigRequest | null | undefined, {} | null | undefined>
|
Returns
updateOrganizationSettings(request, options)
updateOrganizationSettings(request?: protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest | undefined), {} | undefined]> |
|
updateOrganizationSettings(request, options, callback)
updateOrganizationSettings(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest | null | undefined, {} | null | undefined>
|
Returns
updateOrganizationSettings(request, callback)
updateOrganizationSettings(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.IOrganizationSettings, protos.google.cloud.securitycenter.v1p1beta1.IUpdateOrganizationSettingsRequest | null | undefined, {} | null | undefined>
|
Returns
updateSecurityMarks(request, options)
updateSecurityMarks(request?: protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISecurityMarks, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISecurityMarks, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest | undefined), {} | undefined]> |
|
updateSecurityMarks(request, options, callback)
updateSecurityMarks(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISecurityMarks, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISecurityMarks, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest | null | undefined, {} | null | undefined>
|
Returns
updateSecurityMarks(request, callback)
updateSecurityMarks(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISecurityMarks, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISecurityMarks, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSecurityMarksRequest | null | undefined, {} | null | undefined>
|
Returns
updateSource(request, options)
updateSource(request?: protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest, options?: CallOptions): Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest | undefined), {} | undefined]>;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest
|
| options |
CallOptions
|
Returns
| Type |
Description |
| Promise<[protos.google.cloud.securitycenter.v1p1beta1.ISource, (protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest | undefined), {} | undefined]> |
|
updateSource(request, options, callback)
updateSource(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest, options: CallOptions, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest
|
| options |
CallOptions
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest | null | undefined, {} | null | undefined>
|
Returns
updateSource(request, callback)
updateSource(request: protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest, callback: Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
| Name |
Description |
| request |
protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest
|
| callback |
Callback<protos.google.cloud.securitycenter.v1p1beta1.ISource, protos.google.cloud.securitycenter.v1p1beta1.IUpdateSourceRequest | null | undefined, {} | null | undefined>
|
Returns