Google Cloud Storage Insights v1 API - Class StorageInsightsClientImpl (1.2.0)

public sealed class StorageInsightsClientImpl : StorageInsightsClient

Reference documentation and code samples for the Google Cloud Storage Insights v1 API class StorageInsightsClientImpl.

StorageInsights client wrapper implementation, for convenient use.

Inheritance

object > StorageInsightsClient > StorageInsightsClientImpl

Namespace

Google.Cloud.StorageInsights.V1

Assembly

Google.Cloud.StorageInsights.V1.dll

Remarks

Service describing handlers for resources

Constructors

StorageInsightsClientImpl(StorageInsightsClient, StorageInsightsSettings, ILogger)

public StorageInsightsClientImpl(StorageInsights.StorageInsightsClient grpcClient, StorageInsightsSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient StorageInsightsStorageInsightsClient

The underlying gRPC client.

settings StorageInsightsSettings

The base StorageInsightsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override StorageInsights.StorageInsightsClient GrpcClient { get; }

The underlying gRPC StorageInsights client

Property Value
Type Description
StorageInsightsStorageInsightsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateReportConfig(CreateReportConfigRequest, CallSettings)

public override ReportConfig CreateReportConfig(CreateReportConfigRequest request, CallSettings callSettings = null)

Creates a new ReportConfig in a given project and location.

Parameters
Name Description
request CreateReportConfigRequest

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
ReportConfig

The RPC response.

Overrides

CreateReportConfigAsync(CreateReportConfigRequest, CallSettings)

public override Task<ReportConfig> CreateReportConfigAsync(CreateReportConfigRequest request, CallSettings callSettings = null)

Creates a new ReportConfig in a given project and location.

Parameters
Name Description
request CreateReportConfigRequest

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
TaskReportConfig

A Task containing the RPC response.

Overrides

DeleteReportConfig(DeleteReportConfigRequest, CallSettings)

public override void DeleteReportConfig(DeleteReportConfigRequest request, CallSettings callSettings = null)

Deletes a single ReportConfig.

Parameters
Name Description
request DeleteReportConfigRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteReportConfigAsync(DeleteReportConfigRequest, CallSettings)

public override Task DeleteReportConfigAsync(DeleteReportConfigRequest request, CallSettings callSettings = null)

Deletes a single ReportConfig.

Parameters
Name Description
request DeleteReportConfigRequest

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

GetReportConfig(GetReportConfigRequest, CallSettings)

public override ReportConfig GetReportConfig(GetReportConfigRequest request, CallSettings callSettings = null)

Gets details of a single ReportConfig.

Parameters
Name Description
request GetReportConfigRequest

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
ReportConfig

The RPC response.

Overrides

GetReportConfigAsync(GetReportConfigRequest, CallSettings)

public override Task<ReportConfig> GetReportConfigAsync(GetReportConfigRequest request, CallSettings callSettings = null)

Gets details of a single ReportConfig.

Parameters
Name Description
request GetReportConfigRequest

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
TaskReportConfig

A Task containing the RPC response.

Overrides

GetReportDetail(GetReportDetailRequest, CallSettings)

public override ReportDetail GetReportDetail(GetReportDetailRequest request, CallSettings callSettings = null)

Gets details of a single ReportDetail.

Parameters
Name Description
request GetReportDetailRequest

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
ReportDetail

The RPC response.

Overrides

GetReportDetailAsync(GetReportDetailRequest, CallSettings)

public override Task<ReportDetail> GetReportDetailAsync(GetReportDetailRequest request, CallSettings callSettings = null)

Gets details of a single ReportDetail.

Parameters
Name Description
request GetReportDetailRequest

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
TaskReportDetail

A Task containing the RPC response.

Overrides

ListReportConfigs(ListReportConfigsRequest, CallSettings)

public override PagedEnumerable<ListReportConfigsResponse, ReportConfig> ListReportConfigs(ListReportConfigsRequest request, CallSettings callSettings = null)

Lists ReportConfigs in a given project and location.

Parameters
Name Description
request ListReportConfigsRequest

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
PagedEnumerableListReportConfigsResponseReportConfig

A pageable sequence of ReportConfig resources.

Overrides

ListReportConfigsAsync(ListReportConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListReportConfigsResponse, ReportConfig> ListReportConfigsAsync(ListReportConfigsRequest request, CallSettings callSettings = null)

Lists ReportConfigs in a given project and location.

Parameters
Name Description
request ListReportConfigsRequest

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
PagedAsyncEnumerableListReportConfigsResponseReportConfig

A pageable asynchronous sequence of ReportConfig resources.

Overrides

ListReportDetails(ListReportDetailsRequest, CallSettings)

public override PagedEnumerable<ListReportDetailsResponse, ReportDetail> ListReportDetails(ListReportDetailsRequest request, CallSettings callSettings = null)

Lists ReportDetails in a given project and location.

Parameters
Name Description
request ListReportDetailsRequest

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
PagedEnumerableListReportDetailsResponseReportDetail

A pageable sequence of ReportDetail resources.

Overrides

ListReportDetailsAsync(ListReportDetailsRequest, CallSettings)

public override PagedAsyncEnumerable<ListReportDetailsResponse, ReportDetail> ListReportDetailsAsync(ListReportDetailsRequest request, CallSettings callSettings = null)

Lists ReportDetails in a given project and location.

Parameters
Name Description
request ListReportDetailsRequest

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
PagedAsyncEnumerableListReportDetailsResponseReportDetail

A pageable asynchronous sequence of ReportDetail resources.

Overrides

UpdateReportConfig(UpdateReportConfigRequest, CallSettings)

public override ReportConfig UpdateReportConfig(UpdateReportConfigRequest request, CallSettings callSettings = null)

Updates the parameters of a single ReportConfig.

Parameters
Name Description
request UpdateReportConfigRequest

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
ReportConfig

The RPC response.

Overrides

UpdateReportConfigAsync(UpdateReportConfigRequest, CallSettings)

public override Task<ReportConfig> UpdateReportConfigAsync(UpdateReportConfigRequest request, CallSettings callSettings = null)

Updates the parameters of a single ReportConfig.

Parameters
Name Description
request UpdateReportConfigRequest

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
TaskReportConfig

A Task containing the RPC response.

Overrides