Class Versions.VersionsBase (1.0.0)

[BindServiceMethod(typeof(Versions), "BindService")]
public abstract class 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
Task<Google.LongRunning.Operation>

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
Task<Google.LongRunning.Operation>

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
Task<Version>

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
Task<ListVersionsResponse>

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
Task<Google.LongRunning.Operation>

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