Google Cloud Storage Insights v1 API - Class StorageInsightsClientImpl (1.1.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
NameDescription
grpcClientStorageInsightsStorageInsightsClient

The underlying gRPC client.

settingsStorageInsightsSettings

The base StorageInsightsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override StorageInsights.StorageInsightsClient GrpcClient { get; }

The underlying gRPC StorageInsights client

Property Value
TypeDescription
StorageInsightsStorageInsightsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
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
NameDescription
requestCreateReportConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskReportConfig

A Task containing the RPC response.

Overrides