App Optimize v1beta API - Class AppOptimizeClientImpl (1.0.0-beta01)

public sealed class AppOptimizeClientImpl : AppOptimizeClient

Reference documentation and code samples for the App Optimize v1beta API class AppOptimizeClientImpl.

AppOptimize client wrapper implementation, for convenient use.

Inheritance

object > AppOptimizeClient > AppOptimizeClientImpl

Namespace

Google.Cloud.AppOptimize.V1Beta

Assembly

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 AppOptimizeAppOptimizeClient

The underlying gRPC client.

settings AppOptimizeSettings

The base AppOptimizeSettings used within this client.

logger ILogger

Optional 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
Overrides

GrpcClient

public override AppOptimize.AppOptimizeClient GrpcClient { get; }

The underlying gRPC AppOptimize client

Property Value
Type Description
AppOptimizeAppOptimizeClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

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 CreateReportRequest

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
OperationReportOperationMetadata

The RPC response.

Overrides

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 CreateReportRequest

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
TaskOperationReportOperationMetadata

A Task containing the RPC response.

Overrides

DeleteReport(DeleteReportRequest, CallSettings)

public override void DeleteReport(DeleteReportRequest request, CallSettings callSettings = null)

Deletes the specified report.

Parameters
Name Description
request DeleteReportRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteReportAsync(DeleteReportRequest, CallSettings)

public override Task DeleteReportAsync(DeleteReportRequest request, CallSettings callSettings = null)

Deletes the specified report.

Parameters
Name Description
request DeleteReportRequest

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

GetReport(GetReportRequest, CallSettings)

public override Report GetReport(GetReportRequest request, CallSettings callSettings = null)

Retrieves the details of a report configuration.

Parameters
Name Description
request GetReportRequest

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
Report

The RPC response.

Overrides

GetReportAsync(GetReportRequest, CallSettings)

public override Task<Report> GetReportAsync(GetReportRequest request, CallSettings callSettings = null)

Retrieves the details of a report configuration.

Parameters
Name Description
request GetReportRequest

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
TaskReport

A Task containing the RPC response.

Overrides

ListReports(ListReportsRequest, CallSettings)

public override PagedEnumerable<ListReportsResponse, Report> ListReports(ListReportsRequest request, CallSettings callSettings = null)

Lists reports within a given project.

Parameters
Name Description
request ListReportsRequest

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
PagedEnumerableListReportsResponseReport

A pageable sequence of Report resources.

Overrides

ListReportsAsync(ListReportsRequest, CallSettings)

public override PagedAsyncEnumerable<ListReportsResponse, Report> ListReportsAsync(ListReportsRequest request, CallSettings callSettings = null)

Lists reports within a given project.

Parameters
Name Description
request ListReportsRequest

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
PagedAsyncEnumerableListReportsResponseReport

A pageable asynchronous sequence of Report resources.

Overrides

ReadReport(ReadReportRequest, CallSettings)

public override PagedEnumerable<ReadReportResponse, ListValue> ReadReport(ReadReportRequest request, CallSettings callSettings = null)

Reads data within a specified report.

Parameters
Name Description
request ReadReportRequest

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
PagedEnumerableReadReportResponseListValue

A pageable sequence of ListValue resources.

Overrides

ReadReportAsync(ReadReportRequest, CallSettings)

public override PagedAsyncEnumerable<ReadReportResponse, ListValue> ReadReportAsync(ReadReportRequest request, CallSettings callSettings = null)

Reads data within a specified report.

Parameters
Name Description
request ReadReportRequest

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
PagedAsyncEnumerableReadReportResponseListValue

A pageable asynchronous sequence of ListValue resources.

Overrides