App Engine v1 API - Class Versions.VersionsBase (2.3.0)

[BindServiceMethod(typeof(Versions), "BindService")]
public abstract class Versions.VersionsBase

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

Base class for server-side implementations of Versions

Inheritance

object > Versions.VersionsBase

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Methods

CreateVersion(CreateVersionRequest, ServerCallContext)

public virtual Task<Operation> CreateVersion(CreateVersionRequest request, ServerCallContext context)

Deploys code and resource files to a new version.

Parameters
NameDescription
requestCreateVersionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteVersion(DeleteVersionRequest, ServerCallContext)

public virtual Task<Operation> DeleteVersion(DeleteVersionRequest request, ServerCallContext context)

Deletes an existing Version resource.

Parameters
NameDescription
requestDeleteVersionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetVersion(GetVersionRequest, ServerCallContext)

public virtual Task<Version> GetVersion(GetVersionRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskVersion

The response to send back to the client (wrapped by a task).

ListVersions(ListVersionsRequest, ServerCallContext)

public virtual Task<ListVersionsResponse> ListVersions(ListVersionsRequest request, ServerCallContext context)

Lists the versions of a service.

Parameters
NameDescription
requestListVersionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListVersionsResponse

The response to send back to the client (wrapped by a task).

UpdateVersion(UpdateVersionRequest, ServerCallContext)

public virtual Task<Operation> UpdateVersion(UpdateVersionRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).