public class StorageInsights.StorageInsightsClient : ClientBase<StorageInsights.StorageInsightsClient>
Reference documentation and code samples for the Google Cloud Storage Insights v1 API class StorageInsights.StorageInsightsClient.
Client for StorageInsights
Inheritance
object > ClientBase > ClientBaseStorageInsightsStorageInsightsClient > StorageInsights.StorageInsightsClientNamespace
Google.Cloud.StorageInsights.V1Assembly
Google.Cloud.StorageInsights.V1.dll
Constructors
StorageInsightsClient()
protected StorageInsightsClient()
Protected parameterless constructor to allow creation of test doubles.
StorageInsightsClient(CallInvoker)
public StorageInsightsClient(CallInvoker callInvoker)
Creates a new client for StorageInsights that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
StorageInsightsClient(ChannelBase)
public StorageInsightsClient(ChannelBase channel)
Creates a new client for StorageInsights
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
StorageInsightsClient(ClientBaseConfiguration)
protected StorageInsightsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient | A new Locations.LocationsClient for the same target as this client. |
CreateReportConfig(CreateReportConfigRequest, CallOptions)
public virtual ReportConfig CreateReportConfig(CreateReportConfigRequest request, CallOptions options)
Creates a new ReportConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ReportConfig | The response received from the server. |
CreateReportConfig(CreateReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual ReportConfig CreateReportConfig(CreateReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new ReportConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ReportConfig | The response received from the server. |
CreateReportConfigAsync(CreateReportConfigRequest, CallOptions)
public virtual AsyncUnaryCall<ReportConfig> CreateReportConfigAsync(CreateReportConfigRequest request, CallOptions options)
Creates a new ReportConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportConfig | The call object. |
CreateReportConfigAsync(CreateReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ReportConfig> CreateReportConfigAsync(CreateReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new ReportConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportConfig | The call object. |
DeleteReportConfig(DeleteReportConfigRequest, CallOptions)
public virtual Empty DeleteReportConfig(DeleteReportConfigRequest request, CallOptions options)
Deletes a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteReportConfig(DeleteReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteReportConfig(DeleteReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteReportConfigAsync(DeleteReportConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteReportConfigAsync(DeleteReportConfigRequest request, CallOptions options)
Deletes a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
DeleteReportConfigAsync(DeleteReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteReportConfigAsync(DeleteReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
GetReportConfig(GetReportConfigRequest, CallOptions)
public virtual ReportConfig GetReportConfig(GetReportConfigRequest request, CallOptions options)
Gets details of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | GetReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ReportConfig | The response received from the server. |
GetReportConfig(GetReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual ReportConfig GetReportConfig(GetReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | GetReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ReportConfig | The response received from the server. |
GetReportConfigAsync(GetReportConfigRequest, CallOptions)
public virtual AsyncUnaryCall<ReportConfig> GetReportConfigAsync(GetReportConfigRequest request, CallOptions options)
Gets details of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | GetReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportConfig | The call object. |
GetReportConfigAsync(GetReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ReportConfig> GetReportConfigAsync(GetReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | GetReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportConfig | The call object. |
GetReportDetail(GetReportDetailRequest, CallOptions)
public virtual ReportDetail GetReportDetail(GetReportDetailRequest request, CallOptions options)
Gets details of a single ReportDetail.
Parameters | |
---|---|
Name | Description |
request | GetReportDetailRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ReportDetail | The response received from the server. |
GetReportDetail(GetReportDetailRequest, Metadata, DateTime?, CancellationToken)
public virtual ReportDetail GetReportDetail(GetReportDetailRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single ReportDetail.
Parameters | |
---|---|
Name | Description |
request | GetReportDetailRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ReportDetail | The response received from the server. |
GetReportDetailAsync(GetReportDetailRequest, CallOptions)
public virtual AsyncUnaryCall<ReportDetail> GetReportDetailAsync(GetReportDetailRequest request, CallOptions options)
Gets details of a single ReportDetail.
Parameters | |
---|---|
Name | Description |
request | GetReportDetailRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportDetail | The call object. |
GetReportDetailAsync(GetReportDetailRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ReportDetail> GetReportDetailAsync(GetReportDetailRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single ReportDetail.
Parameters | |
---|---|
Name | Description |
request | GetReportDetailRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportDetail | The call object. |
ListReportConfigs(ListReportConfigsRequest, CallOptions)
public virtual ListReportConfigsResponse ListReportConfigs(ListReportConfigsRequest request, CallOptions options)
Lists ReportConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListReportConfigsResponse | The response received from the server. |
ListReportConfigs(ListReportConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListReportConfigsResponse ListReportConfigs(ListReportConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists ReportConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListReportConfigsResponse | The response received from the server. |
ListReportConfigsAsync(ListReportConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListReportConfigsResponse> ListReportConfigsAsync(ListReportConfigsRequest request, CallOptions options)
Lists ReportConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListReportConfigsResponse | The call object. |
ListReportConfigsAsync(ListReportConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListReportConfigsResponse> ListReportConfigsAsync(ListReportConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists ReportConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListReportConfigsResponse | The call object. |
ListReportDetails(ListReportDetailsRequest, CallOptions)
public virtual ListReportDetailsResponse ListReportDetails(ListReportDetailsRequest request, CallOptions options)
Lists ReportDetails in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportDetailsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListReportDetailsResponse | The response received from the server. |
ListReportDetails(ListReportDetailsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListReportDetailsResponse ListReportDetails(ListReportDetailsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists ReportDetails in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportDetailsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListReportDetailsResponse | The response received from the server. |
ListReportDetailsAsync(ListReportDetailsRequest, CallOptions)
public virtual AsyncUnaryCall<ListReportDetailsResponse> ListReportDetailsAsync(ListReportDetailsRequest request, CallOptions options)
Lists ReportDetails in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportDetailsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListReportDetailsResponse | The call object. |
ListReportDetailsAsync(ListReportDetailsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListReportDetailsResponse> ListReportDetailsAsync(ListReportDetailsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists ReportDetails in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListReportDetailsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListReportDetailsResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override StorageInsights.StorageInsightsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
StorageInsightsStorageInsightsClient |
UpdateReportConfig(UpdateReportConfigRequest, CallOptions)
public virtual ReportConfig UpdateReportConfig(UpdateReportConfigRequest request, CallOptions options)
Updates the parameters of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ReportConfig | The response received from the server. |
UpdateReportConfig(UpdateReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual ReportConfig UpdateReportConfig(UpdateReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ReportConfig | The response received from the server. |
UpdateReportConfigAsync(UpdateReportConfigRequest, CallOptions)
public virtual AsyncUnaryCall<ReportConfig> UpdateReportConfigAsync(UpdateReportConfigRequest request, CallOptions options)
Updates the parameters of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateReportConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportConfig | The call object. |
UpdateReportConfigAsync(UpdateReportConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ReportConfig> UpdateReportConfigAsync(UpdateReportConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateReportConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallReportConfig | The call object. |