Google Cloud Security Command Center v1p1beta1 API - Class SecurityCenterClientImpl (3.0.0-beta04)

public sealed class SecurityCenterClientImpl : SecurityCenterClient

Reference documentation and code samples for the Google Cloud Security Command Center v1p1beta1 API class SecurityCenterClientImpl.

SecurityCenter client wrapper implementation, for convenient use.

Inheritance

object > SecurityCenterClient > SecurityCenterClientImpl

Namespace

Google.Cloud.SecurityCenter.V1P1Beta1

Assembly

Google.Cloud.SecurityCenter.V1P1Beta1.dll

Remarks

V1p1Beta1 APIs for Security Center service.

Constructors

SecurityCenterClientImpl(SecurityCenterClient, SecurityCenterSettings, ILogger)

public SecurityCenterClientImpl(SecurityCenter.SecurityCenterClient grpcClient, SecurityCenterSettings settings, ILogger logger)

Constructs a client wrapper for the SecurityCenter service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient SecurityCenterSecurityCenterClient

The underlying gRPC client.

settings SecurityCenterSettings

The base SecurityCenterSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SecurityCenter.SecurityCenterClient GrpcClient { get; }

The underlying gRPC SecurityCenter client

Property Value
Type Description
SecurityCenterSecurityCenterClient
Overrides

RunAssetDiscoveryOperationsClient

public override OperationsClient RunAssetDiscoveryOperationsClient { get; }

The long-running operations client for RunAssetDiscovery.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateFinding(CreateFindingRequest, CallSettings)

public override Finding CreateFinding(CreateFindingRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateFindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Finding

The RPC response.

Overrides

CreateFindingAsync(CreateFindingRequest, CallSettings)

public override Task<Finding> CreateFindingAsync(CreateFindingRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateFindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFinding

A Task containing the RPC response.

Overrides

CreateNotificationConfig(CreateNotificationConfigRequest, CallSettings)

public override NotificationConfig CreateNotificationConfig(CreateNotificationConfigRequest request, CallSettings callSettings = null)

Creates a notification config.

Parameters
Name Description
request CreateNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NotificationConfig

The RPC response.

Overrides

CreateNotificationConfigAsync(CreateNotificationConfigRequest, CallSettings)

public override Task<NotificationConfig> CreateNotificationConfigAsync(CreateNotificationConfigRequest request, CallSettings callSettings = null)

Creates a notification config.

Parameters
Name Description
request CreateNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNotificationConfig

A Task containing the RPC response.

Overrides

CreateSource(CreateSourceRequest, CallSettings)

public override Source CreateSource(CreateSourceRequest request, CallSettings callSettings = null)

Creates a source.

Parameters
Name Description
request CreateSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Source

The RPC response.

Overrides

CreateSourceAsync(CreateSourceRequest, CallSettings)

public override Task<Source> CreateSourceAsync(CreateSourceRequest request, CallSettings callSettings = null)

Creates a source.

Parameters
Name Description
request CreateSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSource

A Task containing the RPC response.

Overrides

DeleteNotificationConfig(DeleteNotificationConfigRequest, CallSettings)

public override void DeleteNotificationConfig(DeleteNotificationConfigRequest request, CallSettings callSettings = null)

Deletes a notification config.

Parameters
Name Description
request DeleteNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteNotificationConfigAsync(DeleteNotificationConfigRequest, CallSettings)

public override Task DeleteNotificationConfigAsync(DeleteNotificationConfigRequest request, CallSettings callSettings = null)

Deletes a notification config.

Parameters
Name Description
request DeleteNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the access control policy on the specified Source.

Parameters
Name Description
request GetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the access control policy on the specified Source.

Parameters
Name Description
request GetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

GetNotificationConfig(GetNotificationConfigRequest, CallSettings)

public override NotificationConfig GetNotificationConfig(GetNotificationConfigRequest request, CallSettings callSettings = null)

Gets a notification config.

Parameters
Name Description
request GetNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NotificationConfig

The RPC response.

Overrides

GetNotificationConfigAsync(GetNotificationConfigRequest, CallSettings)

public override Task<NotificationConfig> GetNotificationConfigAsync(GetNotificationConfigRequest request, CallSettings callSettings = null)

Gets a notification config.

Parameters
Name Description
request GetNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNotificationConfig

A Task containing the RPC response.

Overrides

GetOrganizationSettings(GetOrganizationSettingsRequest, CallSettings)

public override OrganizationSettings GetOrganizationSettings(GetOrganizationSettingsRequest request, CallSettings callSettings = null)

Gets the settings for an organization.

Parameters
Name Description
request GetOrganizationSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OrganizationSettings

The RPC response.

Overrides

GetOrganizationSettingsAsync(GetOrganizationSettingsRequest, CallSettings)

public override Task<OrganizationSettings> GetOrganizationSettingsAsync(GetOrganizationSettingsRequest request, CallSettings callSettings = null)

Gets the settings for an organization.

Parameters
Name Description
request GetOrganizationSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOrganizationSettings

A Task containing the RPC response.

Overrides

GetSource(GetSourceRequest, CallSettings)

public override Source GetSource(GetSourceRequest request, CallSettings callSettings = null)

Gets a source.

Parameters
Name Description
request GetSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Source

The RPC response.

Overrides

GetSourceAsync(GetSourceRequest, CallSettings)

public override Task<Source> GetSourceAsync(GetSourceRequest request, CallSettings callSettings = null)

Gets a source.

Parameters
Name Description
request GetSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSource

A Task containing the RPC response.

Overrides

GroupAssets(GroupAssetsRequest, CallSettings)

public override PagedEnumerable<GroupAssetsResponse, GroupResult> GroupAssets(GroupAssetsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GroupAssetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableGroupAssetsResponseGroupResult

A pageable sequence of GroupResult resources.

Overrides

GroupAssetsAsync(GroupAssetsRequest, CallSettings)

public override PagedAsyncEnumerable<GroupAssetsResponse, GroupResult> GroupAssetsAsync(GroupAssetsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GroupAssetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableGroupAssetsResponseGroupResult

A pageable asynchronous sequence of GroupResult resources.

Overrides

GroupFindings(GroupFindingsRequest, CallSettings)

public override PagedEnumerable<GroupFindingsResponse, GroupResult> GroupFindings(GroupFindingsRequest request, CallSettings callSettings = null)

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
Name Description
request GroupFindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableGroupFindingsResponseGroupResult

A pageable sequence of GroupResult resources.

Overrides

GroupFindingsAsync(GroupFindingsRequest, CallSettings)

public override PagedAsyncEnumerable<GroupFindingsResponse, GroupResult> GroupFindingsAsync(GroupFindingsRequest request, CallSettings callSettings = null)

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
Name Description
request GroupFindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableGroupFindingsResponseGroupResult

A pageable asynchronous sequence of GroupResult resources.

Overrides

ListAssets(ListAssetsRequest, CallSettings)

public override PagedEnumerable<ListAssetsResponse, ListAssetsResponse.Types.ListAssetsResult> ListAssets(ListAssetsRequest request, CallSettings callSettings = null)

Lists an organization's assets.

Parameters
Name Description
request ListAssetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAssetsResponseListAssetsResponseTypesListAssetsResult

A pageable sequence of ListAssetsResponse.Types.ListAssetsResult resources.

Overrides

ListAssetsAsync(ListAssetsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAssetsResponse, ListAssetsResponse.Types.ListAssetsResult> ListAssetsAsync(ListAssetsRequest request, CallSettings callSettings = null)

Lists an organization's assets.

Parameters
Name Description
request ListAssetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAssetsResponseListAssetsResponseTypesListAssetsResult

A pageable asynchronous sequence of ListAssetsResponse.Types.ListAssetsResult resources.

Overrides

ListFindings(ListFindingsRequest, CallSettings)

public override PagedEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult> ListFindings(ListFindingsRequest request, CallSettings callSettings = null)

Lists an organization or source's findings.

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

Parameters
Name Description
request ListFindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFindingsResponseListFindingsResponseTypesListFindingsResult

A pageable sequence of ListFindingsResponse.Types.ListFindingsResult resources.

Overrides

ListFindingsAsync(ListFindingsRequest, CallSettings)

public override PagedAsyncEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult> ListFindingsAsync(ListFindingsRequest request, CallSettings callSettings = null)

Lists an organization or source's findings.

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

Parameters
Name Description
request ListFindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFindingsResponseListFindingsResponseTypesListFindingsResult

A pageable asynchronous sequence of ListFindingsResponse.Types.ListFindingsResult resources.

Overrides

ListNotificationConfigs(ListNotificationConfigsRequest, CallSettings)

public override PagedEnumerable<ListNotificationConfigsResponse, NotificationConfig> ListNotificationConfigs(ListNotificationConfigsRequest request, CallSettings callSettings = null)

Lists notification configs.

Parameters
Name Description
request ListNotificationConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNotificationConfigsResponseNotificationConfig

A pageable sequence of NotificationConfig resources.

Overrides

ListNotificationConfigsAsync(ListNotificationConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListNotificationConfigsResponse, NotificationConfig> ListNotificationConfigsAsync(ListNotificationConfigsRequest request, CallSettings callSettings = null)

Lists notification configs.

Parameters
Name Description
request ListNotificationConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNotificationConfigsResponseNotificationConfig

A pageable asynchronous sequence of NotificationConfig resources.

Overrides

ListSources(ListSourcesRequest, CallSettings)

public override PagedEnumerable<ListSourcesResponse, Source> ListSources(ListSourcesRequest request, CallSettings callSettings = null)

Lists all sources belonging to an organization.

Parameters
Name Description
request ListSourcesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListSourcesResponseSource

A pageable sequence of Source resources.

Overrides

ListSourcesAsync(ListSourcesRequest, CallSettings)

public override PagedAsyncEnumerable<ListSourcesResponse, Source> ListSourcesAsync(ListSourcesRequest request, CallSettings callSettings = null)

Lists all sources belonging to an organization.

Parameters
Name Description
request ListSourcesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListSourcesResponseSource

A pageable asynchronous sequence of Source resources.

Overrides

RunAssetDiscovery(RunAssetDiscoveryRequest, CallSettings)

public override Operation<RunAssetDiscoveryResponse, Empty> RunAssetDiscovery(RunAssetDiscoveryRequest request, CallSettings callSettings = null)

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
Name Description
request RunAssetDiscoveryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRunAssetDiscoveryResponseEmpty

The RPC response.

Overrides

RunAssetDiscoveryAsync(RunAssetDiscoveryRequest, CallSettings)

public override Task<Operation<RunAssetDiscoveryResponse, Empty>> RunAssetDiscoveryAsync(RunAssetDiscoveryRequest request, CallSettings callSettings = null)

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
Name Description
request RunAssetDiscoveryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRunAssetDiscoveryResponseEmpty

A Task containing the RPC response.

Overrides

SetFindingState(SetFindingStateRequest, CallSettings)

public override Finding SetFindingState(SetFindingStateRequest request, CallSettings callSettings = null)

Updates the state of a finding.

Parameters
Name Description
request SetFindingStateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Finding

The RPC response.

Overrides

SetFindingStateAsync(SetFindingStateRequest, CallSettings)

public override Task<Finding> SetFindingStateAsync(SetFindingStateRequest request, CallSettings callSettings = null)

Updates the state of a finding.

Parameters
Name Description
request SetFindingStateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFinding

A Task containing the RPC response.

Overrides

SetIamPolicy(SetIamPolicyRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified Source.

Parameters
Name Description
request SetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified Source.

Parameters
Name Description
request SetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRequest, CallSettings)

public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TestIamPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)

public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTestIamPermissionsResponse

A Task containing the RPC response.

Overrides

UpdateFinding(UpdateFindingRequest, CallSettings)

public override Finding UpdateFinding(UpdateFindingRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateFindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Finding

The RPC response.

Overrides

UpdateFindingAsync(UpdateFindingRequest, CallSettings)

public override Task<Finding> UpdateFindingAsync(UpdateFindingRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateFindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFinding

A Task containing the RPC response.

Overrides

UpdateNotificationConfig(UpdateNotificationConfigRequest, CallSettings)

public override NotificationConfig UpdateNotificationConfig(UpdateNotificationConfigRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NotificationConfig

The RPC response.

Overrides

UpdateNotificationConfigAsync(UpdateNotificationConfigRequest, CallSettings)

public override Task<NotificationConfig> UpdateNotificationConfigAsync(UpdateNotificationConfigRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateNotificationConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNotificationConfig

A Task containing the RPC response.

Overrides

UpdateOrganizationSettings(UpdateOrganizationSettingsRequest, CallSettings)

public override OrganizationSettings UpdateOrganizationSettings(UpdateOrganizationSettingsRequest request, CallSettings callSettings = null)

Updates an organization's settings.

Parameters
Name Description
request UpdateOrganizationSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OrganizationSettings

The RPC response.

Overrides

UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest, CallSettings)

public override Task<OrganizationSettings> UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest request, CallSettings callSettings = null)

Updates an organization's settings.

Parameters
Name Description
request UpdateOrganizationSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOrganizationSettings

A Task containing the RPC response.

Overrides

UpdateSecurityMarks(UpdateSecurityMarksRequest, CallSettings)

public override SecurityMarks UpdateSecurityMarks(UpdateSecurityMarksRequest request, CallSettings callSettings = null)

Updates security marks.

Parameters
Name Description
request UpdateSecurityMarksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SecurityMarks

The RPC response.

Overrides

UpdateSecurityMarksAsync(UpdateSecurityMarksRequest, CallSettings)

public override Task<SecurityMarks> UpdateSecurityMarksAsync(UpdateSecurityMarksRequest request, CallSettings callSettings = null)

Updates security marks.

Parameters
Name Description
request UpdateSecurityMarksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSecurityMarks

A Task containing the RPC response.

Overrides

UpdateSource(UpdateSourceRequest, CallSettings)

public override Source UpdateSource(UpdateSourceRequest request, CallSettings callSettings = null)

Updates a source.

Parameters
Name Description
request UpdateSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Source

The RPC response.

Overrides

UpdateSourceAsync(UpdateSourceRequest, CallSettings)

public override Task<Source> UpdateSourceAsync(UpdateSourceRequest request, CallSettings callSettings = null)

Updates a source.

Parameters
Name Description
request UpdateSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSource

A Task containing the RPC response.

Overrides