public sealed class AppOptimizeClientImpl : AppOptimizeClientReference documentation and code samples for the App Optimize v1beta API class AppOptimizeClientImpl.
AppOptimize client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AppOptimize.V1BetaAssembly
Google.Cloud.AppOptimize.V1Beta.dll
Remarks
Service for managing and querying optimization reports.
Constructors
AppOptimizeClientImpl(AppOptimizeClient, AppOptimizeSettings, ILogger)
public AppOptimizeClientImpl(AppOptimize.AppOptimizeClient grpcClient, AppOptimizeSettings settings, ILogger logger)Constructs a client wrapper for the AppOptimize service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
AppOptimizeAppOptimizeClientThe underlying gRPC client. |
settings |
AppOptimizeSettingsThe base AppOptimizeSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateReportOperationsClient
public override OperationsClient CreateReportOperationsClient { get; }The long-running operations client for CreateReport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override AppOptimize.AppOptimizeClient GrpcClient { get; }The underlying gRPC AppOptimize client
| Property Value | |
|---|---|
| Type | Description |
AppOptimizeAppOptimizeClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateReport(CreateReportRequest, CallSettings)
public override Operation<Report, OperationMetadata> CreateReport(CreateReportRequest request, CallSettings callSettings = null)Creates a new report.
This initiates a long-running operation that, upon completion, results
in a report resource. Once the report is created, its results can be read
via ReadReport.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationReportOperationMetadata |
The RPC response. |
CreateReportAsync(CreateReportRequest, CallSettings)
public override Task<Operation<Report, OperationMetadata>> CreateReportAsync(CreateReportRequest request, CallSettings callSettings = null)Creates a new report.
This initiates a long-running operation that, upon completion, results
in a report resource. Once the report is created, its results can be read
via ReadReport.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationReportOperationMetadata |
A Task containing the RPC response. |
DeleteReport(DeleteReportRequest, CallSettings)
public override void DeleteReport(DeleteReportRequest request, CallSettings callSettings = null)Deletes the specified report.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteReportAsync(DeleteReportRequest, CallSettings)
public override Task DeleteReportAsync(DeleteReportRequest request, CallSettings callSettings = null)Deletes the specified report.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetReport(GetReportRequest, CallSettings)
public override Report GetReport(GetReportRequest request, CallSettings callSettings = null)Retrieves the details of a report configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Report |
The RPC response. |
GetReportAsync(GetReportRequest, CallSettings)
public override Task<Report> GetReportAsync(GetReportRequest request, CallSettings callSettings = null)Retrieves the details of a report configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReport |
A Task containing the RPC response. |
ListReports(ListReportsRequest, CallSettings)
public override PagedEnumerable<ListReportsResponse, Report> ListReports(ListReportsRequest request, CallSettings callSettings = null)Lists reports within a given project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListReportsResponseReport |
A pageable sequence of Report resources. |
ListReportsAsync(ListReportsRequest, CallSettings)
public override PagedAsyncEnumerable<ListReportsResponse, Report> ListReportsAsync(ListReportsRequest request, CallSettings callSettings = null)Lists reports within a given project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListReportsResponseReport |
A pageable asynchronous sequence of Report resources. |
ReadReport(ReadReportRequest, CallSettings)
public override PagedEnumerable<ReadReportResponse, ListValue> ReadReport(ReadReportRequest request, CallSettings callSettings = null)Reads data within a specified report.
| Parameters | |
|---|---|
| Name | Description |
request |
ReadReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableReadReportResponseListValue |
A pageable sequence of ListValue resources. |
ReadReportAsync(ReadReportRequest, CallSettings)
public override PagedAsyncEnumerable<ReadReportResponse, ListValue> ReadReportAsync(ReadReportRequest request, CallSettings callSettings = null)Reads data within a specified report.
| Parameters | |
|---|---|
| Name | Description |
request |
ReadReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableReadReportResponseListValue |
A pageable asynchronous sequence of ListValue resources. |