Developer Connect v1 API - Class InsightsConfigServiceClientImpl (1.0.0-beta02)

public sealed class InsightsConfigServiceClientImpl : InsightsConfigServiceClient

Reference documentation and code samples for the Developer Connect v1 API class InsightsConfigServiceClientImpl.

InsightsConfigService client wrapper implementation, for convenient use.

Inheritance

object > InsightsConfigServiceClient > InsightsConfigServiceClientImpl

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Remarks

Creates and manages InsightsConfigs.

The InsightsConfig resource is the core configuration object to capture events from your Software Development Lifecycle. It acts as the central hub for managing how Developer connect understands your application, its runtime environments, and the artifacts deployed within them. A user can create an InsightsConfig, list previously-requested InsightsConfigs or get InsightsConfigs by their ID to determine the status of the InsightsConfig.

Constructors

InsightsConfigServiceClientImpl(InsightsConfigServiceClient, InsightsConfigServiceSettings, ILogger)

public InsightsConfigServiceClientImpl(InsightsConfigService.InsightsConfigServiceClient grpcClient, InsightsConfigServiceSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient InsightsConfigServiceInsightsConfigServiceClient

The underlying gRPC client.

settings InsightsConfigServiceSettings

The base InsightsConfigServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateInsightsConfigOperationsClient

public override OperationsClient CreateInsightsConfigOperationsClient { get; }

The long-running operations client for CreateInsightsConfig.

Property Value
Type Description
OperationsClient
Overrides

DeleteInsightsConfigOperationsClient

public override OperationsClient DeleteInsightsConfigOperationsClient { get; }

The long-running operations client for DeleteInsightsConfig.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override InsightsConfigService.InsightsConfigServiceClient GrpcClient { get; }

The underlying gRPC InsightsConfigService client

Property Value
Type Description
InsightsConfigServiceInsightsConfigServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateInsightsConfigOperationsClient

public override OperationsClient UpdateInsightsConfigOperationsClient { get; }

The long-running operations client for UpdateInsightsConfig.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateInsightsConfig(CreateInsightsConfigRequest, CallSettings)

public override Operation<InsightsConfig, OperationMetadata> CreateInsightsConfig(CreateInsightsConfigRequest request, CallSettings callSettings = null)

Creates a new InsightsConfig in a given project and location.

Parameters
Name Description
request CreateInsightsConfigRequest

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
OperationInsightsConfigOperationMetadata

The RPC response.

Overrides

CreateInsightsConfigAsync(CreateInsightsConfigRequest, CallSettings)

public override Task<Operation<InsightsConfig, OperationMetadata>> CreateInsightsConfigAsync(CreateInsightsConfigRequest request, CallSettings callSettings = null)

Creates a new InsightsConfig in a given project and location.

Parameters
Name Description
request CreateInsightsConfigRequest

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
TaskOperationInsightsConfigOperationMetadata

A Task containing the RPC response.

Overrides

DeleteInsightsConfig(DeleteInsightsConfigRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteInsightsConfig(DeleteInsightsConfigRequest request, CallSettings callSettings = null)

Delete a single Insight.

Parameters
Name Description
request DeleteInsightsConfigRequest

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
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteInsightsConfigAsync(DeleteInsightsConfigRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteInsightsConfigAsync(DeleteInsightsConfigRequest request, CallSettings callSettings = null)

Delete a single Insight.

Parameters
Name Description
request DeleteInsightsConfigRequest

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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetInsightsConfig(GetInsightsConfigRequest, CallSettings)

public override InsightsConfig GetInsightsConfig(GetInsightsConfigRequest request, CallSettings callSettings = null)

Gets details of a single Insight.

Parameters
Name Description
request GetInsightsConfigRequest

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
InsightsConfig

The RPC response.

Overrides

GetInsightsConfigAsync(GetInsightsConfigRequest, CallSettings)

public override Task<InsightsConfig> GetInsightsConfigAsync(GetInsightsConfigRequest request, CallSettings callSettings = null)

Gets details of a single Insight.

Parameters
Name Description
request GetInsightsConfigRequest

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
TaskInsightsConfig

A Task containing the RPC response.

Overrides

ListInsightsConfigs(ListInsightsConfigsRequest, CallSettings)

public override PagedEnumerable<ListInsightsConfigsResponse, InsightsConfig> ListInsightsConfigs(ListInsightsConfigsRequest request, CallSettings callSettings = null)

Lists InsightsConfigs in a given project and location.

Parameters
Name Description
request ListInsightsConfigsRequest

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
PagedEnumerableListInsightsConfigsResponseInsightsConfig

A pageable sequence of InsightsConfig resources.

Overrides

ListInsightsConfigsAsync(ListInsightsConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListInsightsConfigsResponse, InsightsConfig> ListInsightsConfigsAsync(ListInsightsConfigsRequest request, CallSettings callSettings = null)

Lists InsightsConfigs in a given project and location.

Parameters
Name Description
request ListInsightsConfigsRequest

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
PagedAsyncEnumerableListInsightsConfigsResponseInsightsConfig

A pageable asynchronous sequence of InsightsConfig resources.

Overrides

UpdateInsightsConfig(UpdateInsightsConfigRequest, CallSettings)

public override Operation<InsightsConfig, OperationMetadata> UpdateInsightsConfig(UpdateInsightsConfigRequest request, CallSettings callSettings = null)

Updates the parameters of a single InsightsConfig.

Parameters
Name Description
request UpdateInsightsConfigRequest

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
OperationInsightsConfigOperationMetadata

The RPC response.

Overrides

UpdateInsightsConfigAsync(UpdateInsightsConfigRequest, CallSettings)

public override Task<Operation<InsightsConfig, OperationMetadata>> UpdateInsightsConfigAsync(UpdateInsightsConfigRequest request, CallSettings callSettings = null)

Updates the parameters of a single InsightsConfig.

Parameters
Name Description
request UpdateInsightsConfigRequest

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
TaskOperationInsightsConfigOperationMetadata

A Task containing the RPC response.

Overrides