App Engine v1 API - Class VersionsClientImpl (2.3.0)

public sealed class VersionsClientImpl : VersionsClient

Reference documentation and code samples for the App Engine v1 API class VersionsClientImpl.

Versions client wrapper implementation, for convenient use.

Inheritance

object > VersionsClient > VersionsClientImpl

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Remarks

Manages versions of a service.

Constructors

VersionsClientImpl(VersionsClient, VersionsSettings, ILogger)

public VersionsClientImpl(Versions.VersionsClient grpcClient, VersionsSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientVersionsVersionsClient

The underlying gRPC client.

settingsVersionsSettings

The base VersionsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateVersionOperationsClient

public override OperationsClient CreateVersionOperationsClient { get; }

The long-running operations client for CreateVersion.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteVersionOperationsClient

public override OperationsClient DeleteVersionOperationsClient { get; }

The long-running operations client for DeleteVersion.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Versions.VersionsClient GrpcClient { get; }

The underlying gRPC Versions client

Property Value
TypeDescription
VersionsVersionsClient
Overrides

UpdateVersionOperationsClient

public override OperationsClient UpdateVersionOperationsClient { get; }

The long-running operations client for UpdateVersion.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateVersion(CreateVersionRequest, CallSettings)

public override Operation<Version, CreateVersionMetadataV1> CreateVersion(CreateVersionRequest request, CallSettings callSettings = null)

Deploys code and resource files to a new version.

Parameters
NameDescription
requestCreateVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationVersionCreateVersionMetadataV1

The RPC response.

Overrides

CreateVersionAsync(CreateVersionRequest, CallSettings)

public override Task<Operation<Version, CreateVersionMetadataV1>> CreateVersionAsync(CreateVersionRequest request, CallSettings callSettings = null)

Deploys code and resource files to a new version.

Parameters
NameDescription
requestCreateVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationVersionCreateVersionMetadataV1

A Task containing the RPC response.

Overrides

DeleteVersion(DeleteVersionRequest, CallSettings)

public override Operation<Empty, OperationMetadataV1> DeleteVersion(DeleteVersionRequest request, CallSettings callSettings = null)

Deletes an existing Version resource.

Parameters
NameDescription
requestDeleteVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadataV1

The RPC response.

Overrides

DeleteVersionAsync(DeleteVersionRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadataV1>> DeleteVersionAsync(DeleteVersionRequest request, CallSettings callSettings = null)

Deletes an existing Version resource.

Parameters
NameDescription
requestDeleteVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadataV1

A Task containing the RPC response.

Overrides

GetVersion(GetVersionRequest, CallSettings)

public override Version GetVersion(GetVersionRequest request, CallSettings callSettings = null)

Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.

Parameters
NameDescription
requestGetVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Version

The RPC response.

Overrides

GetVersionAsync(GetVersionRequest, CallSettings)

public override Task<Version> GetVersionAsync(GetVersionRequest request, CallSettings callSettings = null)

Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.

Parameters
NameDescription
requestGetVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskVersion

A Task containing the RPC response.

Overrides

ListVersions(ListVersionsRequest, CallSettings)

public override PagedEnumerable<ListVersionsResponse, Version> ListVersions(ListVersionsRequest request, CallSettings callSettings = null)

Lists the versions of a service.

Parameters
NameDescription
requestListVersionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListVersionsResponseVersion

A pageable sequence of Version resources.

Overrides

ListVersionsAsync(ListVersionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListVersionsResponse, Version> ListVersionsAsync(ListVersionsRequest request, CallSettings callSettings = null)

Lists the versions of a service.

Parameters
NameDescription
requestListVersionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListVersionsResponseVersion

A pageable asynchronous sequence of Version resources.

Overrides

UpdateVersion(UpdateVersionRequest, CallSettings)

public override Operation<Version, OperationMetadataV1> UpdateVersion(UpdateVersionRequest request, CallSettings callSettings = null)

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:

Standard environment

automatic scaling in the standard environment:

basic scaling or manual scaling in the standard environment:

Flexible environment

automatic scaling in the flexible environment:

manual scaling in the flexible environment:

Parameters
NameDescription
requestUpdateVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationVersionOperationMetadataV1

The RPC response.

Overrides

UpdateVersionAsync(UpdateVersionRequest, CallSettings)

public override Task<Operation<Version, OperationMetadataV1>> UpdateVersionAsync(UpdateVersionRequest request, CallSettings callSettings = null)

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:

Standard environment

automatic scaling in the standard environment:

basic scaling or manual scaling in the standard environment:

Flexible environment

automatic scaling in the flexible environment:

manual scaling in the flexible environment:

Parameters
NameDescription
requestUpdateVersionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationVersionOperationMetadataV1

A Task containing the RPC response.

Overrides