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.
Namespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Remarks
Cloud Run Revision Control Plane API.
Constructors
RevisionsClientImpl(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 | |
---|---|
Name | Description |
grpcClient |
RevisionsRevisionsClient The underlying gRPC client. |
settings |
RevisionsSettings The base RevisionsSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
DeleteRevisionOperationsClient
public override OperationsClient DeleteRevisionOperationsClient { get; }
The long-running operations client for DeleteRevision
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override Revisions.RevisionsClient GrpcClient { get; }
The underlying gRPC Revisions client
Property Value | |
---|---|
Type | Description |
RevisionsRevisionsClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
DeleteRevision(DeleteRevisionRequest, CallSettings)
public override Operation<Revision, Revision> DeleteRevision(DeleteRevisionRequest request, CallSettings callSettings = null)
Deletes a Revision.
Parameters | |
---|---|
Name | Description |
request |
DeleteRevisionRequest 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 |
OperationRevisionRevision |
The RPC response. |
DeleteRevisionAsync(DeleteRevisionRequest, CallSettings)
public override Task<Operation<Revision, Revision>> DeleteRevisionAsync(DeleteRevisionRequest request, CallSettings callSettings = null)
Deletes a Revision.
Parameters | |
---|---|
Name | Description |
request |
DeleteRevisionRequest 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 |
TaskOperationRevisionRevision |
A Task containing the RPC response. |
GetRevision(GetRevisionRequest, CallSettings)
public override Revision GetRevision(GetRevisionRequest request, CallSettings callSettings = null)
Gets information about a Revision.
Parameters | |
---|---|
Name | Description |
request |
GetRevisionRequest 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 |
Revision |
The RPC response. |
GetRevisionAsync(GetRevisionRequest, CallSettings)
public override Task<Revision> GetRevisionAsync(GetRevisionRequest request, CallSettings callSettings = null)
Gets information about a Revision.
Parameters | |
---|---|
Name | Description |
request |
GetRevisionRequest 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 |
TaskRevision |
A Task containing the RPC response. |
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. Results are sorted by creation time, descending.
Parameters | |
---|---|
Name | Description |
request |
ListRevisionsRequest 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 |
PagedEnumerableListRevisionsResponseRevision |
A pageable sequence of Revision resources. |
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. Results are sorted by creation time, descending.
Parameters | |
---|---|
Name | Description |
request |
ListRevisionsRequest 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 |
PagedAsyncEnumerableListRevisionsResponseRevision |
A pageable asynchronous sequence of Revision resources. |