Class SecurityCenter.SecurityCenterClient (2.10.0)

public class SecurityCenterClient : ClientBase<SecurityCenter.SecurityCenterClient>

Client for SecurityCenter

Inheritance

Object > ClientBase > ClientBase<SecurityCenter.SecurityCenterClient> > SecurityCenter.SecurityCenterClient

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

SecurityCenterClient(Channel)

[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public SecurityCenterClient(Channel channel)

Creates a new client using a channel.

Parameter
NameDescription
channelGrpc.Core.Channel

The channel to use to make remote calls.

SecurityCenterClient(ChannelBase)

public SecurityCenterClient(ChannelBase channel)

Creates a new client for SecurityCenter

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

SecurityCenterClient(ClientBase.ClientBaseConfiguration)

protected SecurityCenterClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

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. 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
NameDescription
requestBulkMuteFindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BulkMuteFindings(BulkMuteFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Kicks off an LRO to bulk mute findings for a parent based on a filter. 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
NameDescription
requestBulkMuteFindingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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. 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
NameDescription
requestBulkMuteFindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

BulkMuteFindingsAsync(BulkMuteFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Kicks off an LRO to bulk mute findings for a parent based on a filter. 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
NameDescription
requestBulkMuteFindingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateFinding(CreateFindingRequest, CallOptions)

public virtual Finding CreateFinding(CreateFindingRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateFindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Finding

The response received from the server.

CreateFinding(CreateFindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestCreateFindingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Finding

The response received from the server.

CreateFindingAsync(CreateFindingRequest, CallOptions)

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

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

Parameters
NameDescription
requestCreateFindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

The call object.

CreateFindingAsync(CreateFindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestCreateFindingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

The call object.

CreateMuteConfig(CreateMuteConfigRequest, CallOptions)

public virtual MuteConfig CreateMuteConfig(CreateMuteConfigRequest request, CallOptions options)

Creates a mute config.

Parameters
NameDescription
requestCreateMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
MuteConfig

The response received from the server.

CreateMuteConfig(CreateMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a mute config.

Parameters
NameDescription
requestCreateMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
MuteConfig

The response received from the server.

CreateMuteConfigAsync(CreateMuteConfigRequest, CallOptions)

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

Creates a mute config.

Parameters
NameDescription
requestCreateMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<MuteConfig>

The call object.

CreateMuteConfigAsync(CreateMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a mute config.

Parameters
NameDescription
requestCreateMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<MuteConfig>

The call object.

CreateNotificationConfig(CreateNotificationConfigRequest, CallOptions)

public virtual NotificationConfig CreateNotificationConfig(CreateNotificationConfigRequest request, CallOptions options)

Creates a notification config.

Parameters
NameDescription
requestCreateNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationConfig

The response received from the server.

CreateNotificationConfig(CreateNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a notification config.

Parameters
NameDescription
requestCreateNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
NotificationConfig

The response received from the server.

CreateNotificationConfigAsync(CreateNotificationConfigRequest, CallOptions)

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

Creates a notification config.

Parameters
NameDescription
requestCreateNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationConfig>

The call object.

CreateNotificationConfigAsync(CreateNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a notification config.

Parameters
NameDescription
requestCreateNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationConfig>

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
TypeDescription
Operations.OperationsClient

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
NameDescription
requestCreateSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Source

The response received from the server.

CreateSource(CreateSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a source.

Parameters
NameDescription
requestCreateSourceRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Source

The response received from the server.

CreateSourceAsync(CreateSourceRequest, CallOptions)

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

Creates a source.

Parameters
NameDescription
requestCreateSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Source>

The call object.

CreateSourceAsync(CreateSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a source.

Parameters
NameDescription
requestCreateSourceRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Source>

The call object.

DeleteMuteConfig(DeleteMuteConfigRequest, CallOptions)

public virtual Empty DeleteMuteConfig(DeleteMuteConfigRequest request, CallOptions options)

Deletes an existing mute config.

Parameters
NameDescription
requestDeleteMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteMuteConfig(DeleteMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes an existing mute config.

Parameters
NameDescription
requestDeleteMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteMuteConfigAsync(DeleteMuteConfigRequest, CallOptions)

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

Deletes an existing mute config.

Parameters
NameDescription
requestDeleteMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteMuteConfigAsync(DeleteMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes an existing mute config.

Parameters
NameDescription
requestDeleteMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteNotificationConfig(DeleteNotificationConfigRequest, CallOptions)

public virtual Empty DeleteNotificationConfig(DeleteNotificationConfigRequest request, CallOptions options)

Deletes a notification config.

Parameters
NameDescription
requestDeleteNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteNotificationConfig(DeleteNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes a notification config.

Parameters
NameDescription
requestDeleteNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteNotificationConfigAsync(DeleteNotificationConfigRequest, CallOptions)

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

Deletes a notification config.

Parameters
NameDescription
requestDeleteNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteNotificationConfigAsync(DeleteNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes a notification config.

Parameters
NameDescription
requestDeleteNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the access control policy on the specified Source.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets the access control policy on the specified Source.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets the access control policy on the specified Source.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

GetMuteConfig(GetMuteConfigRequest, CallOptions)

public virtual MuteConfig GetMuteConfig(GetMuteConfigRequest request, CallOptions options)

Gets a mute config.

Parameters
NameDescription
requestGetMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
MuteConfig

The response received from the server.

GetMuteConfig(GetMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets a mute config.

Parameters
NameDescription
requestGetMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
MuteConfig

The response received from the server.

GetMuteConfigAsync(GetMuteConfigRequest, CallOptions)

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

Gets a mute config.

Parameters
NameDescription
requestGetMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<MuteConfig>

The call object.

GetMuteConfigAsync(GetMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets a mute config.

Parameters
NameDescription
requestGetMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<MuteConfig>

The call object.

GetNotificationConfig(GetNotificationConfigRequest, CallOptions)

public virtual NotificationConfig GetNotificationConfig(GetNotificationConfigRequest request, CallOptions options)

Gets a notification config.

Parameters
NameDescription
requestGetNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationConfig

The response received from the server.

GetNotificationConfig(GetNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets a notification config.

Parameters
NameDescription
requestGetNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
NotificationConfig

The response received from the server.

GetNotificationConfigAsync(GetNotificationConfigRequest, CallOptions)

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

Gets a notification config.

Parameters
NameDescription
requestGetNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationConfig>

The call object.

GetNotificationConfigAsync(GetNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets a notification config.

Parameters
NameDescription
requestGetNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationConfig>

The call object.

GetOrganizationSettings(GetOrganizationSettingsRequest, CallOptions)

public virtual OrganizationSettings GetOrganizationSettings(GetOrganizationSettingsRequest request, CallOptions options)

Gets the settings for an organization.

Parameters
NameDescription
requestGetOrganizationSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
OrganizationSettings

The response received from the server.

GetOrganizationSettings(GetOrganizationSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual OrganizationSettings GetOrganizationSettings(GetOrganizationSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the settings for an organization.

Parameters
NameDescription
requestGetOrganizationSettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
OrganizationSettings

The response received from the server.

GetOrganizationSettingsAsync(GetOrganizationSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<OrganizationSettings> GetOrganizationSettingsAsync(GetOrganizationSettingsRequest request, CallOptions options)

Gets the settings for an organization.

Parameters
NameDescription
requestGetOrganizationSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<OrganizationSettings>

The call object.

GetOrganizationSettingsAsync(GetOrganizationSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<OrganizationSettings> GetOrganizationSettingsAsync(GetOrganizationSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the settings for an organization.

Parameters
NameDescription
requestGetOrganizationSettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<OrganizationSettings>

The call object.

GetSource(GetSourceRequest, CallOptions)

public virtual Source GetSource(GetSourceRequest request, CallOptions options)

Gets a source.

Parameters
NameDescription
requestGetSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Source

The response received from the server.

GetSource(GetSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets a source.

Parameters
NameDescription
requestGetSourceRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Source

The response received from the server.

GetSourceAsync(GetSourceRequest, CallOptions)

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

Gets a source.

Parameters
NameDescription
requestGetSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Source>

The call object.

GetSourceAsync(GetSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets a source.

Parameters
NameDescription
requestGetSourceRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Source>

The call object.

GroupAssets(GroupAssetsRequest, CallOptions)

public virtual GroupAssetsResponse GroupAssets(GroupAssetsRequest request, CallOptions options)

Filters an organization's assets and groups them by their specified properties.

Parameters
NameDescription
requestGroupAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GroupAssetsResponse

The response received from the server.

GroupAssets(GroupAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual GroupAssetsResponse GroupAssets(GroupAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Filters an organization's assets and groups them by their specified properties.

Parameters
NameDescription
requestGroupAssetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
GroupAssetsResponse

The response received from the server.

GroupAssetsAsync(GroupAssetsRequest, CallOptions)

public virtual AsyncUnaryCall<GroupAssetsResponse> GroupAssetsAsync(GroupAssetsRequest request, CallOptions options)

Filters an organization's assets and groups them by their specified properties.

Parameters
NameDescription
requestGroupAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<GroupAssetsResponse>

The call object.

GroupAssetsAsync(GroupAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<GroupAssetsResponse> GroupAssetsAsync(GroupAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Filters an organization's assets and groups them by their specified properties.

Parameters
NameDescription
requestGroupAssetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<GroupAssetsResponse>

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.

To group across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings

Parameters
NameDescription
requestGroupFindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GroupFindingsResponse

The response received from the server.

GroupFindings(GroupFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Filters an organization or source's findings and groups them by their specified properties.

To group across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings

Parameters
NameDescription
requestGroupFindingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

To group across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings

Parameters
NameDescription
requestGroupFindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<GroupFindingsResponse>

The call object.

GroupFindingsAsync(GroupFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Filters an organization or source's findings and groups them by their specified properties.

To group across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings

Parameters
NameDescription
requestGroupFindingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<GroupFindingsResponse>

The call object.

ListAssets(ListAssetsRequest, CallOptions)

public virtual ListAssetsResponse ListAssets(ListAssetsRequest request, CallOptions options)

Lists an organization's assets.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAssetsResponse

The response received from the server.

ListAssets(ListAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListAssetsResponse ListAssets(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists an organization's assets.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListAssetsResponse

The response received from the server.

ListAssetsAsync(ListAssetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAssetsResponse> ListAssetsAsync(ListAssetsRequest request, CallOptions options)

Lists an organization's assets.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListAssetsResponse>

The call object.

ListAssetsAsync(ListAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListAssetsResponse> ListAssetsAsync(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists an organization's assets.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListAssetsResponse>

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 provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings

Parameters
NameDescription
requestListFindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListFindingsResponse

The response received from the server.

ListFindings(ListFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists an organization or source's findings.

To list across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings

Parameters
NameDescription
requestListFindingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings

Parameters
NameDescription
requestListFindingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListFindingsResponse>

The call object.

ListFindingsAsync(ListFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists an organization or source's findings.

To list across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings

Parameters
NameDescription
requestListFindingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListFindingsResponse>

The call object.

ListMuteConfigs(ListMuteConfigsRequest, CallOptions)

public virtual ListMuteConfigsResponse ListMuteConfigs(ListMuteConfigsRequest request, CallOptions options)

Lists mute configs.

Parameters
NameDescription
requestListMuteConfigsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListMuteConfigsResponse

The response received from the server.

ListMuteConfigs(ListMuteConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists mute configs.

Parameters
NameDescription
requestListMuteConfigsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListMuteConfigsResponse

The response received from the server.

ListMuteConfigsAsync(ListMuteConfigsRequest, CallOptions)

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

Lists mute configs.

Parameters
NameDescription
requestListMuteConfigsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListMuteConfigsResponse>

The call object.

ListMuteConfigsAsync(ListMuteConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists mute configs.

Parameters
NameDescription
requestListMuteConfigsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListMuteConfigsResponse>

The call object.

ListNotificationConfigs(ListNotificationConfigsRequest, CallOptions)

public virtual ListNotificationConfigsResponse ListNotificationConfigs(ListNotificationConfigsRequest request, CallOptions options)

Lists notification configs.

Parameters
NameDescription
requestListNotificationConfigsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListNotificationConfigsResponse

The response received from the server.

ListNotificationConfigs(ListNotificationConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists notification configs.

Parameters
NameDescription
requestListNotificationConfigsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListNotificationConfigsResponse

The response received from the server.

ListNotificationConfigsAsync(ListNotificationConfigsRequest, CallOptions)

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

Lists notification configs.

Parameters
NameDescription
requestListNotificationConfigsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListNotificationConfigsResponse>

The call object.

ListNotificationConfigsAsync(ListNotificationConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists notification configs.

Parameters
NameDescription
requestListNotificationConfigsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListNotificationConfigsResponse>

The call object.

ListSources(ListSourcesRequest, CallOptions)

public virtual ListSourcesResponse ListSources(ListSourcesRequest request, CallOptions options)

Lists all sources belonging to an organization.

Parameters
NameDescription
requestListSourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListSourcesResponse

The response received from the server.

ListSources(ListSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists all sources belonging to an organization.

Parameters
NameDescription
requestListSourcesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListSourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListSourcesResponse>

The call object.

ListSourcesAsync(ListSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists all sources belonging to an organization.

Parameters
NameDescription
requestListSourcesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListSourcesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
SecurityCenter.SecurityCenterClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.SecurityCenter.V1.SecurityCenter.SecurityCenterClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

RunAssetDiscovery(RunAssetDiscoveryRequest, CallOptions)

public virtual Operation RunAssetDiscovery(RunAssetDiscoveryRequest request, CallOptions options)

Runs asset discovery. The discovery is tracked with a long-running operation.

This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

Parameters
NameDescription
requestRunAssetDiscoveryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

RunAssetDiscovery(RunAssetDiscoveryRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Runs asset discovery. The discovery is tracked with a long-running operation.

This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

Parameters
NameDescription
requestRunAssetDiscoveryRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

RunAssetDiscoveryAsync(RunAssetDiscoveryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RunAssetDiscoveryAsync(RunAssetDiscoveryRequest request, CallOptions options)

Runs asset discovery. The discovery is tracked with a long-running operation.

This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

Parameters
NameDescription
requestRunAssetDiscoveryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

RunAssetDiscoveryAsync(RunAssetDiscoveryRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Runs asset discovery. The discovery is tracked with a long-running operation.

This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

Parameters
NameDescription
requestRunAssetDiscoveryRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

SetFindingState(SetFindingStateRequest, CallOptions)

public virtual Finding SetFindingState(SetFindingStateRequest request, CallOptions options)

Updates the state of a finding.

Parameters
NameDescription
requestSetFindingStateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Finding

The response received from the server.

SetFindingState(SetFindingStateRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the state of a finding.

Parameters
NameDescription
requestSetFindingStateRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestSetFindingStateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

The call object.

SetFindingStateAsync(SetFindingStateRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the state of a finding.

Parameters
NameDescription
requestSetFindingStateRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

The call object.

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the access control policy on the specified Source.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Sets the access control policy on the specified Source.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Sets the access control policy on the specified Source.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

SetMute(SetMuteRequest, CallOptions)

public virtual Finding SetMute(SetMuteRequest request, CallOptions options)

Updates the mute state of a finding.

Parameters
NameDescription
requestSetMuteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Finding

The response received from the server.

SetMute(SetMuteRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the mute state of a finding.

Parameters
NameDescription
requestSetMuteRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestSetMuteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

The call object.

SetMuteAsync(SetMuteRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the mute state of a finding.

Parameters
NameDescription
requestSetMuteRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

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
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TestIamPermissionsResponse>

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TestIamPermissionsResponse>

The call object.

UpdateExternalSystem(UpdateExternalSystemRequest, CallOptions)

public virtual ExternalSystem UpdateExternalSystem(UpdateExternalSystemRequest request, CallOptions options)

Updates external system. This is for a given finding.

Parameters
NameDescription
requestUpdateExternalSystemRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ExternalSystem

The response received from the server.

UpdateExternalSystem(UpdateExternalSystemRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates external system. This is for a given finding.

Parameters
NameDescription
requestUpdateExternalSystemRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestUpdateExternalSystemRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ExternalSystem>

The call object.

UpdateExternalSystemAsync(UpdateExternalSystemRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates external system. This is for a given finding.

Parameters
NameDescription
requestUpdateExternalSystemRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ExternalSystem>

The call object.

UpdateFinding(UpdateFindingRequest, CallOptions)

public virtual Finding UpdateFinding(UpdateFindingRequest request, CallOptions options)

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

Parameters
NameDescription
requestUpdateFindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Finding

The response received from the server.

UpdateFinding(UpdateFindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

Parameters
NameDescription
requestUpdateFindingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Finding

The response received from the server.

UpdateFindingAsync(UpdateFindingRequest, CallOptions)

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

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

Parameters
NameDescription
requestUpdateFindingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

The call object.

UpdateFindingAsync(UpdateFindingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

Parameters
NameDescription
requestUpdateFindingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Finding>

The call object.

UpdateMuteConfig(UpdateMuteConfigRequest, CallOptions)

public virtual MuteConfig UpdateMuteConfig(UpdateMuteConfigRequest request, CallOptions options)

Updates a mute config.

Parameters
NameDescription
requestUpdateMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
MuteConfig

The response received from the server.

UpdateMuteConfig(UpdateMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a mute config.

Parameters
NameDescription
requestUpdateMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
MuteConfig

The response received from the server.

UpdateMuteConfigAsync(UpdateMuteConfigRequest, CallOptions)

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

Updates a mute config.

Parameters
NameDescription
requestUpdateMuteConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<MuteConfig>

The call object.

UpdateMuteConfigAsync(UpdateMuteConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a mute config.

Parameters
NameDescription
requestUpdateMuteConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<MuteConfig>

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
NameDescription
requestUpdateNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationConfig

The response received from the server.

UpdateNotificationConfig(UpdateNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestUpdateNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestUpdateNotificationConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationConfig>

The call object.

UpdateNotificationConfigAsync(UpdateNotificationConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestUpdateNotificationConfigRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationConfig>

The call object.

UpdateOrganizationSettings(UpdateOrganizationSettingsRequest, CallOptions)

public virtual OrganizationSettings UpdateOrganizationSettings(UpdateOrganizationSettingsRequest request, CallOptions options)

Updates an organization's settings.

Parameters
NameDescription
requestUpdateOrganizationSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
OrganizationSettings

The response received from the server.

UpdateOrganizationSettings(UpdateOrganizationSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual OrganizationSettings UpdateOrganizationSettings(UpdateOrganizationSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates an organization's settings.

Parameters
NameDescription
requestUpdateOrganizationSettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
OrganizationSettings

The response received from the server.

UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<OrganizationSettings> UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest request, CallOptions options)

Updates an organization's settings.

Parameters
NameDescription
requestUpdateOrganizationSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<OrganizationSettings>

The call object.

UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<OrganizationSettings> UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates an organization's settings.

Parameters
NameDescription
requestUpdateOrganizationSettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<OrganizationSettings>

The call object.

UpdateSecurityMarks(UpdateSecurityMarksRequest, CallOptions)

public virtual SecurityMarks UpdateSecurityMarks(UpdateSecurityMarksRequest request, CallOptions options)

Updates security marks.

Parameters
NameDescription
requestUpdateSecurityMarksRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SecurityMarks

The response received from the server.

UpdateSecurityMarks(UpdateSecurityMarksRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates security marks.

Parameters
NameDescription
requestUpdateSecurityMarksRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SecurityMarks

The response received from the server.

UpdateSecurityMarksAsync(UpdateSecurityMarksRequest, CallOptions)

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

Updates security marks.

Parameters
NameDescription
requestUpdateSecurityMarksRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SecurityMarks>

The call object.

UpdateSecurityMarksAsync(UpdateSecurityMarksRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates security marks.

Parameters
NameDescription
requestUpdateSecurityMarksRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<SecurityMarks>

The call object.

UpdateSource(UpdateSourceRequest, CallOptions)

public virtual Source UpdateSource(UpdateSourceRequest request, CallOptions options)

Updates a source.

Parameters
NameDescription
requestUpdateSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Source

The response received from the server.

UpdateSource(UpdateSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a source.

Parameters
NameDescription
requestUpdateSourceRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Source

The response received from the server.

UpdateSourceAsync(UpdateSourceRequest, CallOptions)

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

Updates a source.

Parameters
NameDescription
requestUpdateSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Source>

The call object.

UpdateSourceAsync(UpdateSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a source.

Parameters
NameDescription
requestUpdateSourceRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Source>

The call object.