Cloud Run Admin v2 API - Class RevisionsClientImpl (2.0.0-beta05)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class RevisionsClientImpl : RevisionsClient

Reference documentation and code samples for the Cloud Run Admin v2 API class RevisionsClientImpl.

Revisions client wrapper implementation, for convenient use.

Inheritance

Object > RevisionsClient > RevisionsClientImpl

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Remarks

Cloud Run Revision Control Plane API.

Constructors

RevisionsClientImpl(Revisions.RevisionsClient, RevisionsSettings, ILogger)

public RevisionsClientImpl(Revisions.RevisionsClient grpcClient, RevisionsSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientRevisions.RevisionsClient

The underlying gRPC client.

settingsRevisionsSettings

The base RevisionsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteRevisionOperationsClient

public override OperationsClient DeleteRevisionOperationsClient { get; }

The long-running operations client for DeleteRevision.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Revisions.RevisionsClient GrpcClient { get; }

The underlying gRPC Revisions client

Property Value
TypeDescription
Revisions.RevisionsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

DeleteRevision(DeleteRevisionRequest, CallSettings)

public override Operation<Revision, Revision> DeleteRevision(DeleteRevisionRequest request, CallSettings callSettings = null)

Deletes a Revision.

Parameters
NameDescription
requestDeleteRevisionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Revision, Revision>

The RPC response.

Overrides

DeleteRevisionAsync(DeleteRevisionRequest, CallSettings)

public override async Task<Operation<Revision, Revision>> DeleteRevisionAsync(DeleteRevisionRequest request, CallSettings callSettings = null)

Deletes a Revision.

Parameters
NameDescription
requestDeleteRevisionRequest

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<Operation<Revision, Revision>>

A Task containing the RPC response.

Overrides

GetRevision(GetRevisionRequest, CallSettings)

public override Revision GetRevision(GetRevisionRequest request, CallSettings callSettings = null)

Gets information about a Revision.

Parameters
NameDescription
requestGetRevisionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Revision

The RPC response.

Overrides

GetRevisionAsync(GetRevisionRequest, CallSettings)

public override Task<Revision> GetRevisionAsync(GetRevisionRequest request, CallSettings callSettings = null)

Gets information about a Revision.

Parameters
NameDescription
requestGetRevisionRequest

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<Revision>

A Task containing the RPC response.

Overrides

ListRevisions(ListRevisionsRequest, CallSettings)

public override PagedEnumerable<ListRevisionsResponse, Revision> ListRevisions(ListRevisionsRequest request, CallSettings callSettings = null)

Lists Revisions from a given Service, or from a given location.

Parameters
NameDescription
requestListRevisionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListRevisionsResponse, Revision>

A pageable sequence of Revision resources.

Overrides

ListRevisionsAsync(ListRevisionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListRevisionsResponse, Revision> ListRevisionsAsync(ListRevisionsRequest request, CallSettings callSettings = null)

Lists Revisions from a given Service, or from a given location.

Parameters
NameDescription
requestListRevisionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListRevisionsResponse, Revision>

A pageable asynchronous sequence of Revision resources.

Overrides