[BindServiceMethod(typeof(Versions), "BindService")]
public abstract class Versions.VersionsBaseReference documentation and code samples for the App Engine v1 API class Versions.VersionsBase.
Base class for server-side implementations of Versions
Namespace
Google.Cloud.AppEngine.V1Assembly
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 | |
|---|---|
| Name | Description |
request |
CreateVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListVersionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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:
automatic_scaling.min_idle_instancesautomatic_scaling.max_idle_instancesautomaticScaling.standard_scheduler_settings.max_instancesautomaticScaling.standard_scheduler_settings.min_instancesautomaticScaling.standard_scheduler_settings.target_cpu_utilizationautomaticScaling.standard_scheduler_settings.target_throughput_utilization
basic scaling or manual scaling in the standard environment:
Flexible environment
automatic scaling in the flexible environment:
automatic_scaling.min_total_instancesautomatic_scaling.max_total_instancesautomatic_scaling.cool_down_period_secautomatic_scaling.cpu_utilization.target_utilization
manual scaling in the flexible environment:
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |