Security Command Center v2 API - Class SecurityCenter.SecurityCenterClient (1.0.0-beta03)

public class SecurityCenter.SecurityCenterClient : ClientBase<SecurityCenter.SecurityCenterClient>

Reference documentation and code samples for the Security Command Center v2 API class SecurityCenter.SecurityCenterClient.

Client for SecurityCenter

Inheritance

object > ClientBase > ClientBaseSecurityCenterSecurityCenterClient > SecurityCenter.SecurityCenterClient

Namespace

Google.Cloud.SecurityCenter.V2

Assembly

Google.Cloud.SecurityCenter.V2.dll

Constructors

SecurityCenterClient()

protected SecurityCenterClient()

Protected parameterless constructor to allow creation of test doubles.

SecurityCenterClient(CallInvoker)

public SecurityCenterClient(CallInvoker callInvoker)

Creates a new client for SecurityCenter that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

SecurityCenterClient(ChannelBase)

public SecurityCenterClient(ChannelBase channel)

Creates a new client for SecurityCenter

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SecurityCenterClient(ClientBaseConfiguration)

protected SecurityCenterClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest, CallOptions)

public virtual BatchCreateResourceValueConfigsResponse BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest request, CallOptions options)

Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

Parameters
Name Description
request BatchCreateResourceValueConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BatchCreateResourceValueConfigsResponse

The response received from the server.

BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual BatchCreateResourceValueConfigsResponse BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

Parameters
Name Description
request BatchCreateResourceValueConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchCreateResourceValueConfigsResponse

The response received from the server.

BatchCreateResourceValueConfigsAsync(BatchCreateResourceValueConfigsRequest, CallOptions)

public virtual AsyncUnaryCall<BatchCreateResourceValueConfigsResponse> BatchCreateResourceValueConfigsAsync(BatchCreateResourceValueConfigsRequest request, CallOptions options)

Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

Parameters
Name Description
request BatchCreateResourceValueConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBatchCreateResourceValueConfigsResponse

The call object.

BatchCreateResourceValueConfigsAsync(BatchCreateResourceValueConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BatchCreateResourceValueConfigsResponse> BatchCreateResourceValueConfigsAsync(BatchCreateResourceValueConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

Parameters
Name Description
request BatchCreateResourceValueConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBatchCreateResourceValueConfigsResponse

The call object.

BulkMuteFindings(BulkMuteFindingsRequest, CallOptions)

public virtual Operation BulkMuteFindings(BulkMuteFindingsRequest request, CallOptions options)

Kicks off an LRO to bulk mute findings for a parent based on a filter. If no location is specified, findings are muted in global. The parent can be either an organization, folder, or project. The findings matched by the filter will be muted after the LRO is done.

Parameters
Name Description
request BulkMuteFindingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

BulkMuteFindings(BulkMuteFindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation BulkMuteFindings(BulkMuteFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Kicks off an LRO to bulk mute findings for a parent based on a filter. If no location is specified, findings are muted in global. The parent can be either an organization, folder, or project. The findings matched by the filter will be muted after the LRO is done.

Parameters
Name Description
request BulkMuteFindingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

BulkMuteFindingsAsync(BulkMuteFindingsRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BulkMuteFindingsAsync(BulkMuteFindingsRequest request, CallOptions options)

Kicks off an LRO to bulk mute findings for a parent based on a filter. If no location is specified, findings are muted in global. The parent can be either an organization, folder, or project. The findings matched by the filter will be muted after the LRO is done.

Parameters
Name Description
request BulkMuteFindingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

BulkMuteFindingsAsync(BulkMuteFindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> BulkMuteFindingsAsync(BulkMuteFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Kicks off an LRO to bulk mute findings for a parent based on a filter. If no location is specified, findings are muted in global. The parent can be either an organization, folder, or project. The findings matched by the filter will be muted after the LRO is done.

Parameters
Name Description
request BulkMuteFindingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateBigQueryExport(CreateBigQueryExportRequest, CallOptions)

public virtual BigQueryExport CreateBigQueryExport(CreateBigQueryExportRequest request, CallOptions options)

Creates a BigQuery export.

Parameters
Name Description
request CreateBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BigQueryExport

The response received from the server.

CreateBigQueryExport(CreateBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual BigQueryExport CreateBigQueryExport(CreateBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a BigQuery export.

Parameters
Name Description
request CreateBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BigQueryExport

The response received from the server.

CreateBigQueryExportAsync(CreateBigQueryExportRequest, CallOptions)

public virtual AsyncUnaryCall<BigQueryExport> CreateBigQueryExportAsync(CreateBigQueryExportRequest request, CallOptions options)

Creates a BigQuery export.

Parameters
Name Description
request CreateBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBigQueryExport

The call object.

CreateBigQueryExportAsync(CreateBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BigQueryExport> CreateBigQueryExportAsync(CreateBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a BigQuery export.

Parameters
Name Description
request CreateBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBigQueryExport

The call object.

CreateFinding(CreateFindingRequest, CallOptions)

public virtual Finding CreateFinding(CreateFindingRequest request, CallOptions options)

Creates a finding in a location. The corresponding source must exist for finding creation to succeed.

Parameters
Name Description
request CreateFindingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Finding

The response received from the server.

CreateFinding(CreateFindingRequest, Metadata, DateTime?, CancellationToken)

public virtual Finding CreateFinding(CreateFindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a finding in a location. The corresponding source must exist for finding creation to succeed.

Parameters
Name Description
request CreateFindingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Finding

The response received from the server.

CreateFindingAsync(CreateFindingRequest, CallOptions)

public virtual AsyncUnaryCall<Finding> CreateFindingAsync(CreateFindingRequest request, CallOptions options)

Creates a finding in a location. The corresponding source must exist for finding creation to succeed.

Parameters
Name Description
request CreateFindingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

CreateFindingAsync(CreateFindingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Finding> CreateFindingAsync(CreateFindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a finding in a location. The corresponding source must exist for finding creation to succeed.

Parameters
Name Description
request CreateFindingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

CreateMuteConfig(CreateMuteConfigRequest, CallOptions)

public virtual MuteConfig CreateMuteConfig(CreateMuteConfigRequest request, CallOptions options)

Creates a mute config.

Parameters
Name Description
request CreateMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
MuteConfig

The response received from the server.

CreateMuteConfig(CreateMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual MuteConfig CreateMuteConfig(CreateMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a mute config.

Parameters
Name Description
request CreateMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
MuteConfig

The response received from the server.

CreateMuteConfigAsync(CreateMuteConfigRequest, CallOptions)

public virtual AsyncUnaryCall<MuteConfig> CreateMuteConfigAsync(CreateMuteConfigRequest request, CallOptions options)

Creates a mute config.

Parameters
Name Description
request CreateMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallMuteConfig

The call object.

CreateMuteConfigAsync(CreateMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<MuteConfig> CreateMuteConfigAsync(CreateMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a mute config.

Parameters
Name Description
request CreateMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallMuteConfig

The call object.

CreateNotificationConfig(CreateNotificationConfigRequest, CallOptions)

public virtual NotificationConfig CreateNotificationConfig(CreateNotificationConfigRequest request, CallOptions options)

Creates a notification config.

Parameters
Name Description
request CreateNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NotificationConfig

The response received from the server.

CreateNotificationConfig(CreateNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual NotificationConfig CreateNotificationConfig(CreateNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a notification config.

Parameters
Name Description
request CreateNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
NotificationConfig

The response received from the server.

CreateNotificationConfigAsync(CreateNotificationConfigRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationConfig> CreateNotificationConfigAsync(CreateNotificationConfigRequest request, CallOptions options)

Creates a notification config.

Parameters
Name Description
request CreateNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNotificationConfig

The call object.

CreateNotificationConfigAsync(CreateNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NotificationConfig> CreateNotificationConfigAsync(CreateNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a notification config.

Parameters
Name Description
request CreateNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNotificationConfig

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateSource(CreateSourceRequest, CallOptions)

public virtual Source CreateSource(CreateSourceRequest request, CallOptions options)

Creates a source.

Parameters
Name Description
request CreateSourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Source

The response received from the server.

CreateSource(CreateSourceRequest, Metadata, DateTime?, CancellationToken)

public virtual Source CreateSource(CreateSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a source.

Parameters
Name Description
request CreateSourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Source

The response received from the server.

CreateSourceAsync(CreateSourceRequest, CallOptions)

public virtual AsyncUnaryCall<Source> CreateSourceAsync(CreateSourceRequest request, CallOptions options)

Creates a source.

Parameters
Name Description
request CreateSourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSource

The call object.

CreateSourceAsync(CreateSourceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Source> CreateSourceAsync(CreateSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a source.

Parameters
Name Description
request CreateSourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSource

The call object.

DeleteBigQueryExport(DeleteBigQueryExportRequest, CallOptions)

public virtual Empty DeleteBigQueryExport(DeleteBigQueryExportRequest request, CallOptions options)

Deletes an existing BigQuery export.

Parameters
Name Description
request DeleteBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteBigQueryExport(DeleteBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteBigQueryExport(DeleteBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an existing BigQuery export.

Parameters
Name Description
request DeleteBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteBigQueryExportAsync(DeleteBigQueryExportRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteBigQueryExportAsync(DeleteBigQueryExportRequest request, CallOptions options)

Deletes an existing BigQuery export.

Parameters
Name Description
request DeleteBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteBigQueryExportAsync(DeleteBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteBigQueryExportAsync(DeleteBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an existing BigQuery export.

Parameters
Name Description
request DeleteBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteMuteConfig(DeleteMuteConfigRequest, CallOptions)

public virtual Empty DeleteMuteConfig(DeleteMuteConfigRequest request, CallOptions options)

Deletes an existing mute config. If no location is specified, default is global.

Parameters
Name Description
request DeleteMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteMuteConfig(DeleteMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteMuteConfig(DeleteMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an existing mute config. If no location is specified, default is global.

Parameters
Name Description
request DeleteMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteMuteConfigAsync(DeleteMuteConfigRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteMuteConfigAsync(DeleteMuteConfigRequest request, CallOptions options)

Deletes an existing mute config. If no location is specified, default is global.

Parameters
Name Description
request DeleteMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteMuteConfigAsync(DeleteMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteMuteConfigAsync(DeleteMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an existing mute config. If no location is specified, default is global.

Parameters
Name Description
request DeleteMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteNotificationConfig(DeleteNotificationConfigRequest, CallOptions)

public virtual Empty DeleteNotificationConfig(DeleteNotificationConfigRequest request, CallOptions options)

Deletes a notification config.

Parameters
Name Description
request DeleteNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteNotificationConfig(DeleteNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteNotificationConfig(DeleteNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a notification config.

Parameters
Name Description
request DeleteNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteNotificationConfigAsync(DeleteNotificationConfigRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteNotificationConfigAsync(DeleteNotificationConfigRequest request, CallOptions options)

Deletes a notification config.

Parameters
Name Description
request DeleteNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteNotificationConfigAsync(DeleteNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteNotificationConfigAsync(DeleteNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a notification config.

Parameters
Name Description
request DeleteNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteResourceValueConfig(DeleteResourceValueConfigRequest, CallOptions)

public virtual Empty DeleteResourceValueConfig(DeleteResourceValueConfigRequest request, CallOptions options)

Deletes a ResourceValueConfig.

Parameters
Name Description
request DeleteResourceValueConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteResourceValueConfig(DeleteResourceValueConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteResourceValueConfig(DeleteResourceValueConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a ResourceValueConfig.

Parameters
Name Description
request DeleteResourceValueConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteResourceValueConfigAsync(DeleteResourceValueConfigRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteResourceValueConfigAsync(DeleteResourceValueConfigRequest request, CallOptions options)

Deletes a ResourceValueConfig.

Parameters
Name Description
request DeleteResourceValueConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteResourceValueConfigAsync(DeleteResourceValueConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteResourceValueConfigAsync(DeleteResourceValueConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a ResourceValueConfig.

Parameters
Name Description
request DeleteResourceValueConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetBigQueryExport(GetBigQueryExportRequest, CallOptions)

public virtual BigQueryExport GetBigQueryExport(GetBigQueryExportRequest request, CallOptions options)

Gets a BigQuery export.

Parameters
Name Description
request GetBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BigQueryExport

The response received from the server.

GetBigQueryExport(GetBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual BigQueryExport GetBigQueryExport(GetBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a BigQuery export.

Parameters
Name Description
request GetBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BigQueryExport

The response received from the server.

GetBigQueryExportAsync(GetBigQueryExportRequest, CallOptions)

public virtual AsyncUnaryCall<BigQueryExport> GetBigQueryExportAsync(GetBigQueryExportRequest request, CallOptions options)

Gets a BigQuery export.

Parameters
Name Description
request GetBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBigQueryExport

The call object.

GetBigQueryExportAsync(GetBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BigQueryExport> GetBigQueryExportAsync(GetBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a BigQuery export.

Parameters
Name Description
request GetBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBigQueryExport

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the access control policy on the specified Source.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the access control policy on the specified Source.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallOptions options)

Gets the access control policy on the specified Source.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the access control policy on the specified Source.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

GetMuteConfig(GetMuteConfigRequest, CallOptions)

public virtual MuteConfig GetMuteConfig(GetMuteConfigRequest request, CallOptions options)

Gets a mute config. If no location is specified, default is global.

Parameters
Name Description
request GetMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
MuteConfig

The response received from the server.

GetMuteConfig(GetMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual MuteConfig GetMuteConfig(GetMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a mute config. If no location is specified, default is global.

Parameters
Name Description
request GetMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
MuteConfig

The response received from the server.

GetMuteConfigAsync(GetMuteConfigRequest, CallOptions)

public virtual AsyncUnaryCall<MuteConfig> GetMuteConfigAsync(GetMuteConfigRequest request, CallOptions options)

Gets a mute config. If no location is specified, default is global.

Parameters
Name Description
request GetMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallMuteConfig

The call object.

GetMuteConfigAsync(GetMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<MuteConfig> GetMuteConfigAsync(GetMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a mute config. If no location is specified, default is global.

Parameters
Name Description
request GetMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallMuteConfig

The call object.

GetNotificationConfig(GetNotificationConfigRequest, CallOptions)

public virtual NotificationConfig GetNotificationConfig(GetNotificationConfigRequest request, CallOptions options)

Gets a notification config.

Parameters
Name Description
request GetNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NotificationConfig

The response received from the server.

GetNotificationConfig(GetNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual NotificationConfig GetNotificationConfig(GetNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a notification config.

Parameters
Name Description
request GetNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
NotificationConfig

The response received from the server.

GetNotificationConfigAsync(GetNotificationConfigRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationConfig> GetNotificationConfigAsync(GetNotificationConfigRequest request, CallOptions options)

Gets a notification config.

Parameters
Name Description
request GetNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNotificationConfig

The call object.

GetNotificationConfigAsync(GetNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NotificationConfig> GetNotificationConfigAsync(GetNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a notification config.

Parameters
Name Description
request GetNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNotificationConfig

The call object.

GetResourceValueConfig(GetResourceValueConfigRequest, CallOptions)

public virtual ResourceValueConfig GetResourceValueConfig(GetResourceValueConfigRequest request, CallOptions options)

Gets a ResourceValueConfig.

Parameters
Name Description
request GetResourceValueConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ResourceValueConfig

The response received from the server.

GetResourceValueConfig(GetResourceValueConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual ResourceValueConfig GetResourceValueConfig(GetResourceValueConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a ResourceValueConfig.

Parameters
Name Description
request GetResourceValueConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ResourceValueConfig

The response received from the server.

GetResourceValueConfigAsync(GetResourceValueConfigRequest, CallOptions)

public virtual AsyncUnaryCall<ResourceValueConfig> GetResourceValueConfigAsync(GetResourceValueConfigRequest request, CallOptions options)

Gets a ResourceValueConfig.

Parameters
Name Description
request GetResourceValueConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallResourceValueConfig

The call object.

GetResourceValueConfigAsync(GetResourceValueConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ResourceValueConfig> GetResourceValueConfigAsync(GetResourceValueConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a ResourceValueConfig.

Parameters
Name Description
request GetResourceValueConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallResourceValueConfig

The call object.

GetSimulation(GetSimulationRequest, CallOptions)

public virtual Simulation GetSimulation(GetSimulationRequest request, CallOptions options)

Get the simulation by name or the latest simulation for the given organization.

Parameters
Name Description
request GetSimulationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Simulation

The response received from the server.

GetSimulation(GetSimulationRequest, Metadata, DateTime?, CancellationToken)

public virtual Simulation GetSimulation(GetSimulationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the simulation by name or the latest simulation for the given organization.

Parameters
Name Description
request GetSimulationRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Simulation

The response received from the server.

GetSimulationAsync(GetSimulationRequest, CallOptions)

public virtual AsyncUnaryCall<Simulation> GetSimulationAsync(GetSimulationRequest request, CallOptions options)

Get the simulation by name or the latest simulation for the given organization.

Parameters
Name Description
request GetSimulationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSimulation

The call object.

GetSimulationAsync(GetSimulationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Simulation> GetSimulationAsync(GetSimulationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the simulation by name or the latest simulation for the given organization.

Parameters
Name Description
request GetSimulationRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSimulation

The call object.

GetSource(GetSourceRequest, CallOptions)

public virtual Source GetSource(GetSourceRequest request, CallOptions options)

Gets a source.

Parameters
Name Description
request GetSourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Source

The response received from the server.

GetSource(GetSourceRequest, Metadata, DateTime?, CancellationToken)

public virtual Source GetSource(GetSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a source.

Parameters
Name Description
request GetSourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Source

The response received from the server.

GetSourceAsync(GetSourceRequest, CallOptions)

public virtual AsyncUnaryCall<Source> GetSourceAsync(GetSourceRequest request, CallOptions options)

Gets a source.

Parameters
Name Description
request GetSourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSource

The call object.

GetSourceAsync(GetSourceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Source> GetSourceAsync(GetSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a source.

Parameters
Name Description
request GetSourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSource

The call object.

GetValuedResource(GetValuedResourceRequest, CallOptions)

public virtual ValuedResource GetValuedResource(GetValuedResourceRequest request, CallOptions options)

Get the valued resource by name

Parameters
Name Description
request GetValuedResourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ValuedResource

The response received from the server.

GetValuedResource(GetValuedResourceRequest, Metadata, DateTime?, CancellationToken)

public virtual ValuedResource GetValuedResource(GetValuedResourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the valued resource by name

Parameters
Name Description
request GetValuedResourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ValuedResource

The response received from the server.

GetValuedResourceAsync(GetValuedResourceRequest, CallOptions)

public virtual AsyncUnaryCall<ValuedResource> GetValuedResourceAsync(GetValuedResourceRequest request, CallOptions options)

Get the valued resource by name

Parameters
Name Description
request GetValuedResourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallValuedResource

The call object.

GetValuedResourceAsync(GetValuedResourceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ValuedResource> GetValuedResourceAsync(GetValuedResourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the valued resource by name

Parameters
Name Description
request GetValuedResourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallValuedResource

The call object.

GroupFindings(GroupFindingsRequest, CallOptions)

public virtual GroupFindingsResponse GroupFindings(GroupFindingsRequest request, CallOptions options)

Filters an organization or source's findings and groups them by their specified properties in a location. If no location is specified, findings are assumed to be in global

To group across all sources provide a - as the source id. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
  • /v2/folders/{folder_id}/sources/-/findings
  • /v2/folders/{folder_id}/sources/-/locations/{location_id}/findings
  • /v2/projects/{project_id}/sources/-/findings
  • /v2/projects/{project_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request GroupFindingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
GroupFindingsResponse

The response received from the server.

GroupFindings(GroupFindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual GroupFindingsResponse GroupFindings(GroupFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Filters an organization or source's findings and groups them by their specified properties in a location. If no location is specified, findings are assumed to be in global

To group across all sources provide a - as the source id. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
  • /v2/folders/{folder_id}/sources/-/findings
  • /v2/folders/{folder_id}/sources/-/locations/{location_id}/findings
  • /v2/projects/{project_id}/sources/-/findings
  • /v2/projects/{project_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request GroupFindingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
GroupFindingsResponse

The response received from the server.

GroupFindingsAsync(GroupFindingsRequest, CallOptions)

public virtual AsyncUnaryCall<GroupFindingsResponse> GroupFindingsAsync(GroupFindingsRequest request, CallOptions options)

Filters an organization or source's findings and groups them by their specified properties in a location. If no location is specified, findings are assumed to be in global

To group across all sources provide a - as the source id. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
  • /v2/folders/{folder_id}/sources/-/findings
  • /v2/folders/{folder_id}/sources/-/locations/{location_id}/findings
  • /v2/projects/{project_id}/sources/-/findings
  • /v2/projects/{project_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request GroupFindingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGroupFindingsResponse

The call object.

GroupFindingsAsync(GroupFindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GroupFindingsResponse> GroupFindingsAsync(GroupFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Filters an organization or source's findings and groups them by their specified properties in a location. If no location is specified, findings are assumed to be in global

To group across all sources provide a - as the source id. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
  • /v2/folders/{folder_id}/sources/-/findings
  • /v2/folders/{folder_id}/sources/-/locations/{location_id}/findings
  • /v2/projects/{project_id}/sources/-/findings
  • /v2/projects/{project_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request GroupFindingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallGroupFindingsResponse

The call object.

ListAttackPaths(ListAttackPathsRequest, CallOptions)

public virtual ListAttackPathsResponse ListAttackPaths(ListAttackPathsRequest request, CallOptions options)

Lists the attack paths for a set of simulation results or valued resources and filter.

Parameters
Name Description
request ListAttackPathsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListAttackPathsResponse

The response received from the server.

ListAttackPaths(ListAttackPathsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAttackPathsResponse ListAttackPaths(ListAttackPathsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the attack paths for a set of simulation results or valued resources and filter.

Parameters
Name Description
request ListAttackPathsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListAttackPathsResponse

The response received from the server.

ListAttackPathsAsync(ListAttackPathsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAttackPathsResponse> ListAttackPathsAsync(ListAttackPathsRequest request, CallOptions options)

Lists the attack paths for a set of simulation results or valued resources and filter.

Parameters
Name Description
request ListAttackPathsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListAttackPathsResponse

The call object.

ListAttackPathsAsync(ListAttackPathsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAttackPathsResponse> ListAttackPathsAsync(ListAttackPathsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the attack paths for a set of simulation results or valued resources and filter.

Parameters
Name Description
request ListAttackPathsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListAttackPathsResponse

The call object.

ListBigQueryExports(ListBigQueryExportsRequest, CallOptions)

public virtual ListBigQueryExportsResponse ListBigQueryExports(ListBigQueryExportsRequest request, CallOptions options)

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

Parameters
Name Description
request ListBigQueryExportsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListBigQueryExportsResponse

The response received from the server.

ListBigQueryExports(ListBigQueryExportsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListBigQueryExportsResponse ListBigQueryExports(ListBigQueryExportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

Parameters
Name Description
request ListBigQueryExportsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListBigQueryExportsResponse

The response received from the server.

ListBigQueryExportsAsync(ListBigQueryExportsRequest, CallOptions)

public virtual AsyncUnaryCall<ListBigQueryExportsResponse> ListBigQueryExportsAsync(ListBigQueryExportsRequest request, CallOptions options)

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

Parameters
Name Description
request ListBigQueryExportsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListBigQueryExportsResponse

The call object.

ListBigQueryExportsAsync(ListBigQueryExportsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListBigQueryExportsResponse> ListBigQueryExportsAsync(ListBigQueryExportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

Parameters
Name Description
request ListBigQueryExportsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListBigQueryExportsResponse

The call object.

ListFindings(ListFindingsRequest, CallOptions)

public virtual ListFindingsResponse ListFindings(ListFindingsRequest request, CallOptions options)

Lists an organization or source's findings.

To list across all sources for a given location provide a - as the source id. If no location is specified, finding are assumed to be in global. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request ListFindingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListFindingsResponse

The response received from the server.

ListFindings(ListFindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListFindingsResponse ListFindings(ListFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists an organization or source's findings.

To list across all sources for a given location provide a - as the source id. If no location is specified, finding are assumed to be in global. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request ListFindingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListFindingsResponse

The response received from the server.

ListFindingsAsync(ListFindingsRequest, CallOptions)

public virtual AsyncUnaryCall<ListFindingsResponse> ListFindingsAsync(ListFindingsRequest request, CallOptions options)

Lists an organization or source's findings.

To list across all sources for a given location provide a - as the source id. If no location is specified, finding are assumed to be in global. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request ListFindingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListFindingsResponse

The call object.

ListFindingsAsync(ListFindingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListFindingsResponse> ListFindingsAsync(ListFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists an organization or source's findings.

To list across all sources for a given location provide a - as the source id. If no location is specified, finding are assumed to be in global. The following list shows some examples:

  • /v2/organizations/{organization_id}/sources/-/findings + /v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings
Parameters
Name Description
request ListFindingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListFindingsResponse

The call object.

ListMuteConfigs(ListMuteConfigsRequest, CallOptions)

public virtual ListMuteConfigsResponse ListMuteConfigs(ListMuteConfigsRequest request, CallOptions options)

Lists mute configs. If no location is specified, default is global.

Parameters
Name Description
request ListMuteConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListMuteConfigsResponse

The response received from the server.

ListMuteConfigs(ListMuteConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListMuteConfigsResponse ListMuteConfigs(ListMuteConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists mute configs. If no location is specified, default is global.

Parameters
Name Description
request ListMuteConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListMuteConfigsResponse

The response received from the server.

ListMuteConfigsAsync(ListMuteConfigsRequest, CallOptions)

public virtual AsyncUnaryCall<ListMuteConfigsResponse> ListMuteConfigsAsync(ListMuteConfigsRequest request, CallOptions options)

Lists mute configs. If no location is specified, default is global.

Parameters
Name Description
request ListMuteConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListMuteConfigsResponse

The call object.

ListMuteConfigsAsync(ListMuteConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListMuteConfigsResponse> ListMuteConfigsAsync(ListMuteConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists mute configs. If no location is specified, default is global.

Parameters
Name Description
request ListMuteConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListMuteConfigsResponse

The call object.

ListNotificationConfigs(ListNotificationConfigsRequest, CallOptions)

public virtual ListNotificationConfigsResponse ListNotificationConfigs(ListNotificationConfigsRequest request, CallOptions options)

Lists notification configs.

Parameters
Name Description
request ListNotificationConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListNotificationConfigsResponse

The response received from the server.

ListNotificationConfigs(ListNotificationConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNotificationConfigsResponse ListNotificationConfigs(ListNotificationConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists notification configs.

Parameters
Name Description
request ListNotificationConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListNotificationConfigsResponse

The response received from the server.

ListNotificationConfigsAsync(ListNotificationConfigsRequest, CallOptions)

public virtual AsyncUnaryCall<ListNotificationConfigsResponse> ListNotificationConfigsAsync(ListNotificationConfigsRequest request, CallOptions options)

Lists notification configs.

Parameters
Name Description
request ListNotificationConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListNotificationConfigsResponse

The call object.

ListNotificationConfigsAsync(ListNotificationConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNotificationConfigsResponse> ListNotificationConfigsAsync(ListNotificationConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists notification configs.

Parameters
Name Description
request ListNotificationConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListNotificationConfigsResponse

The call object.

ListResourceValueConfigs(ListResourceValueConfigsRequest, CallOptions)

public virtual ListResourceValueConfigsResponse ListResourceValueConfigs(ListResourceValueConfigsRequest request, CallOptions options)

Lists all ResourceValueConfigs.

Parameters
Name Description
request ListResourceValueConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListResourceValueConfigsResponse

The response received from the server.

ListResourceValueConfigs(ListResourceValueConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListResourceValueConfigsResponse ListResourceValueConfigs(ListResourceValueConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all ResourceValueConfigs.

Parameters
Name Description
request ListResourceValueConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListResourceValueConfigsResponse

The response received from the server.

ListResourceValueConfigsAsync(ListResourceValueConfigsRequest, CallOptions)

public virtual AsyncUnaryCall<ListResourceValueConfigsResponse> ListResourceValueConfigsAsync(ListResourceValueConfigsRequest request, CallOptions options)

Lists all ResourceValueConfigs.

Parameters
Name Description
request ListResourceValueConfigsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListResourceValueConfigsResponse

The call object.

ListResourceValueConfigsAsync(ListResourceValueConfigsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListResourceValueConfigsResponse> ListResourceValueConfigsAsync(ListResourceValueConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all ResourceValueConfigs.

Parameters
Name Description
request ListResourceValueConfigsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListResourceValueConfigsResponse

The call object.

ListSources(ListSourcesRequest, CallOptions)

public virtual ListSourcesResponse ListSources(ListSourcesRequest request, CallOptions options)

Lists all sources belonging to an organization.

Parameters
Name Description
request ListSourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSourcesResponse

The response received from the server.

ListSources(ListSourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSourcesResponse ListSources(ListSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all sources belonging to an organization.

Parameters
Name Description
request ListSourcesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListSourcesResponse

The response received from the server.

ListSourcesAsync(ListSourcesRequest, CallOptions)

public virtual AsyncUnaryCall<ListSourcesResponse> ListSourcesAsync(ListSourcesRequest request, CallOptions options)

Lists all sources belonging to an organization.

Parameters
Name Description
request ListSourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSourcesResponse

The call object.

ListSourcesAsync(ListSourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSourcesResponse> ListSourcesAsync(ListSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all sources belonging to an organization.

Parameters
Name Description
request ListSourcesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListSourcesResponse

The call object.

ListValuedResources(ListValuedResourcesRequest, CallOptions)

public virtual ListValuedResourcesResponse ListValuedResources(ListValuedResourcesRequest request, CallOptions options)

Lists the valued resources for a set of simulation results and filter.

Parameters
Name Description
request ListValuedResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListValuedResourcesResponse

The response received from the server.

ListValuedResources(ListValuedResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListValuedResourcesResponse ListValuedResources(ListValuedResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the valued resources for a set of simulation results and filter.

Parameters
Name Description
request ListValuedResourcesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListValuedResourcesResponse

The response received from the server.

ListValuedResourcesAsync(ListValuedResourcesRequest, CallOptions)

public virtual AsyncUnaryCall<ListValuedResourcesResponse> ListValuedResourcesAsync(ListValuedResourcesRequest request, CallOptions options)

Lists the valued resources for a set of simulation results and filter.

Parameters
Name Description
request ListValuedResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListValuedResourcesResponse

The call object.

ListValuedResourcesAsync(ListValuedResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListValuedResourcesResponse> ListValuedResourcesAsync(ListValuedResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the valued resources for a set of simulation results and filter.

Parameters
Name Description
request ListValuedResourcesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListValuedResourcesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override SecurityCenter.SecurityCenterClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
SecurityCenterSecurityCenterClient
Overrides

SetFindingState(SetFindingStateRequest, CallOptions)

public virtual Finding SetFindingState(SetFindingStateRequest request, CallOptions options)

Updates the state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetFindingStateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Finding

The response received from the server.

SetFindingState(SetFindingStateRequest, Metadata, DateTime?, CancellationToken)

public virtual Finding SetFindingState(SetFindingStateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetFindingStateRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Finding

The response received from the server.

SetFindingStateAsync(SetFindingStateRequest, CallOptions)

public virtual AsyncUnaryCall<Finding> SetFindingStateAsync(SetFindingStateRequest request, CallOptions options)

Updates the state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetFindingStateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

SetFindingStateAsync(SetFindingStateRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Finding> SetFindingStateAsync(SetFindingStateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetFindingStateRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the access control policy on the specified Source.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the access control policy on the specified Source.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Policy

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallOptions options)

Sets the access control policy on the specified Source.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the access control policy on the specified Source.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

SetMute(SetMuteRequest, CallOptions)

public virtual Finding SetMute(SetMuteRequest request, CallOptions options)

Updates the mute state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetMuteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Finding

The response received from the server.

SetMute(SetMuteRequest, Metadata, DateTime?, CancellationToken)

public virtual Finding SetMute(SetMuteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the mute state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetMuteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Finding

The response received from the server.

SetMuteAsync(SetMuteRequest, CallOptions)

public virtual AsyncUnaryCall<Finding> SetMuteAsync(SetMuteRequest request, CallOptions options)

Updates the mute state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetMuteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

SetMuteAsync(SetMuteRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Finding> SetMuteAsync(SetMuteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the mute state of a finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request SetMuteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

Returns the permissions that a caller has on the specified source.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the permissions that a caller has on the specified source.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
TestIamPermissionsResponse

The response received from the server.

TestIamPermissionsAsync(TestIamPermissionsRequest, CallOptions)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallOptions options)

Returns the permissions that a caller has on the specified source.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTestIamPermissionsResponse

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the permissions that a caller has on the specified source.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallTestIamPermissionsResponse

The call object.

UpdateBigQueryExport(UpdateBigQueryExportRequest, CallOptions)

public virtual BigQueryExport UpdateBigQueryExport(UpdateBigQueryExportRequest request, CallOptions options)

Updates a BigQuery export.

Parameters
Name Description
request UpdateBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BigQueryExport

The response received from the server.

UpdateBigQueryExport(UpdateBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual BigQueryExport UpdateBigQueryExport(UpdateBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a BigQuery export.

Parameters
Name Description
request UpdateBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BigQueryExport

The response received from the server.

UpdateBigQueryExportAsync(UpdateBigQueryExportRequest, CallOptions)

public virtual AsyncUnaryCall<BigQueryExport> UpdateBigQueryExportAsync(UpdateBigQueryExportRequest request, CallOptions options)

Updates a BigQuery export.

Parameters
Name Description
request UpdateBigQueryExportRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBigQueryExport

The call object.

UpdateBigQueryExportAsync(UpdateBigQueryExportRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BigQueryExport> UpdateBigQueryExportAsync(UpdateBigQueryExportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a BigQuery export.

Parameters
Name Description
request UpdateBigQueryExportRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBigQueryExport

The call object.

UpdateExternalSystem(UpdateExternalSystemRequest, CallOptions)

public virtual ExternalSystem UpdateExternalSystem(UpdateExternalSystemRequest request, CallOptions options)

Updates external system. This is for a given finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request UpdateExternalSystemRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ExternalSystem

The response received from the server.

UpdateExternalSystem(UpdateExternalSystemRequest, Metadata, DateTime?, CancellationToken)

public virtual ExternalSystem UpdateExternalSystem(UpdateExternalSystemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates external system. This is for a given finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request UpdateExternalSystemRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ExternalSystem

The response received from the server.

UpdateExternalSystemAsync(UpdateExternalSystemRequest, CallOptions)

public virtual AsyncUnaryCall<ExternalSystem> UpdateExternalSystemAsync(UpdateExternalSystemRequest request, CallOptions options)

Updates external system. This is for a given finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request UpdateExternalSystemRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallExternalSystem

The call object.

UpdateExternalSystemAsync(UpdateExternalSystemRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ExternalSystem> UpdateExternalSystemAsync(UpdateExternalSystemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates external system. This is for a given finding. If no location is specified, finding is assumed to be in global

Parameters
Name Description
request UpdateExternalSystemRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallExternalSystem

The call object.

UpdateFinding(UpdateFindingRequest, CallOptions)

public virtual Finding UpdateFinding(UpdateFindingRequest request, CallOptions options)

Creates or updates a finding. If no location is specified, finding is assumed to be in global. The corresponding source must exist for a finding creation to succeed.

Parameters
Name Description
request UpdateFindingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Finding

The response received from the server.

UpdateFinding(UpdateFindingRequest, Metadata, DateTime?, CancellationToken)

public virtual Finding UpdateFinding(UpdateFindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates or updates a finding. If no location is specified, finding is assumed to be in global. The corresponding source must exist for a finding creation to succeed.

Parameters
Name Description
request UpdateFindingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Finding

The response received from the server.

UpdateFindingAsync(UpdateFindingRequest, CallOptions)

public virtual AsyncUnaryCall<Finding> UpdateFindingAsync(UpdateFindingRequest request, CallOptions options)

Creates or updates a finding. If no location is specified, finding is assumed to be in global. The corresponding source must exist for a finding creation to succeed.

Parameters
Name Description
request UpdateFindingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

UpdateFindingAsync(UpdateFindingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Finding> UpdateFindingAsync(UpdateFindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates or updates a finding. If no location is specified, finding is assumed to be in global. The corresponding source must exist for a finding creation to succeed.

Parameters
Name Description
request UpdateFindingRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallFinding

The call object.

UpdateMuteConfig(UpdateMuteConfigRequest, CallOptions)

public virtual MuteConfig UpdateMuteConfig(UpdateMuteConfigRequest request, CallOptions options)

Updates a mute config. If no location is specified, default is global.

Parameters
Name Description
request UpdateMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
MuteConfig

The response received from the server.

UpdateMuteConfig(UpdateMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual MuteConfig UpdateMuteConfig(UpdateMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a mute config. If no location is specified, default is global.

Parameters
Name Description
request UpdateMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
MuteConfig

The response received from the server.

UpdateMuteConfigAsync(UpdateMuteConfigRequest, CallOptions)

public virtual AsyncUnaryCall<MuteConfig> UpdateMuteConfigAsync(UpdateMuteConfigRequest request, CallOptions options)

Updates a mute config. If no location is specified, default is global.

Parameters
Name Description
request UpdateMuteConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallMuteConfig

The call object.

UpdateMuteConfigAsync(UpdateMuteConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<MuteConfig> UpdateMuteConfigAsync(UpdateMuteConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a mute config. If no location is specified, default is global.

Parameters
Name Description
request UpdateMuteConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallMuteConfig

The call object.

UpdateNotificationConfig(UpdateNotificationConfigRequest, CallOptions)

public virtual NotificationConfig UpdateNotificationConfig(UpdateNotificationConfigRequest request, CallOptions options)

Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Parameters
Name Description
request UpdateNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NotificationConfig

The response received from the server.

UpdateNotificationConfig(UpdateNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual NotificationConfig UpdateNotificationConfig(UpdateNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Parameters
Name Description
request UpdateNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
NotificationConfig

The response received from the server.

UpdateNotificationConfigAsync(UpdateNotificationConfigRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationConfig> UpdateNotificationConfigAsync(UpdateNotificationConfigRequest request, CallOptions options)

Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Parameters
Name Description
request UpdateNotificationConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNotificationConfig

The call object.

UpdateNotificationConfigAsync(UpdateNotificationConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NotificationConfig> UpdateNotificationConfigAsync(UpdateNotificationConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Parameters
Name Description
request UpdateNotificationConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNotificationConfig

The call object.

UpdateResourceValueConfig(UpdateResourceValueConfigRequest, CallOptions)

public virtual ResourceValueConfig UpdateResourceValueConfig(UpdateResourceValueConfigRequest request, CallOptions options)

Updates an existing ResourceValueConfigs with new rules.

Parameters
Name Description
request UpdateResourceValueConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ResourceValueConfig

The response received from the server.

UpdateResourceValueConfig(UpdateResourceValueConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual ResourceValueConfig UpdateResourceValueConfig(UpdateResourceValueConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing ResourceValueConfigs with new rules.

Parameters
Name Description
request UpdateResourceValueConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ResourceValueConfig

The response received from the server.

UpdateResourceValueConfigAsync(UpdateResourceValueConfigRequest, CallOptions)

public virtual AsyncUnaryCall<ResourceValueConfig> UpdateResourceValueConfigAsync(UpdateResourceValueConfigRequest request, CallOptions options)

Updates an existing ResourceValueConfigs with new rules.

Parameters
Name Description
request UpdateResourceValueConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallResourceValueConfig

The call object.

UpdateResourceValueConfigAsync(UpdateResourceValueConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ResourceValueConfig> UpdateResourceValueConfigAsync(UpdateResourceValueConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing ResourceValueConfigs with new rules.

Parameters
Name Description
request UpdateResourceValueConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallResourceValueConfig

The call object.

UpdateSecurityMarks(UpdateSecurityMarksRequest, CallOptions)

public virtual SecurityMarks UpdateSecurityMarks(UpdateSecurityMarksRequest request, CallOptions options)

Updates security marks. For Finding Security marks, if no location is specified, finding is assumed to be in global. Assets Security Marks can only be accessed through global endpoint.

Parameters
Name Description
request UpdateSecurityMarksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SecurityMarks

The response received from the server.

UpdateSecurityMarks(UpdateSecurityMarksRequest, Metadata, DateTime?, CancellationToken)

public virtual SecurityMarks UpdateSecurityMarks(UpdateSecurityMarksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates security marks. For Finding Security marks, if no location is specified, finding is assumed to be in global. Assets Security Marks can only be accessed through global endpoint.

Parameters
Name Description
request UpdateSecurityMarksRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SecurityMarks

The response received from the server.

UpdateSecurityMarksAsync(UpdateSecurityMarksRequest, CallOptions)

public virtual AsyncUnaryCall<SecurityMarks> UpdateSecurityMarksAsync(UpdateSecurityMarksRequest request, CallOptions options)

Updates security marks. For Finding Security marks, if no location is specified, finding is assumed to be in global. Assets Security Marks can only be accessed through global endpoint.

Parameters
Name Description
request UpdateSecurityMarksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSecurityMarks

The call object.

UpdateSecurityMarksAsync(UpdateSecurityMarksRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SecurityMarks> UpdateSecurityMarksAsync(UpdateSecurityMarksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates security marks. For Finding Security marks, if no location is specified, finding is assumed to be in global. Assets Security Marks can only be accessed through global endpoint.

Parameters
Name Description
request UpdateSecurityMarksRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSecurityMarks

The call object.

UpdateSource(UpdateSourceRequest, CallOptions)

public virtual Source UpdateSource(UpdateSourceRequest request, CallOptions options)

Updates a source.

Parameters
Name Description
request UpdateSourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Source

The response received from the server.

UpdateSource(UpdateSourceRequest, Metadata, DateTime?, CancellationToken)

public virtual Source UpdateSource(UpdateSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a source.

Parameters
Name Description
request UpdateSourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Source

The response received from the server.

UpdateSourceAsync(UpdateSourceRequest, CallOptions)

public virtual AsyncUnaryCall<Source> UpdateSourceAsync(UpdateSourceRequest request, CallOptions options)

Updates a source.

Parameters
Name Description
request UpdateSourceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSource

The call object.

UpdateSourceAsync(UpdateSourceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Source> UpdateSourceAsync(UpdateSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a source.

Parameters
Name Description
request UpdateSourceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSource

The call object.