[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
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 |
CreateVersionRequest The request received from the client. |
context |
ServerCallContext The 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 |
DeleteVersionRequest The request received from the client. |
context |
ServerCallContext The 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 |
GetVersionRequest The request received from the client. |
context |
ServerCallContext The 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 |
ListVersionsRequest The request received from the client. |
context |
ServerCallContext The 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_instances
automatic_scaling.max_idle_instances
automaticScaling.standard_scheduler_settings.max_instances
automaticScaling.standard_scheduler_settings.min_instances
automaticScaling.standard_scheduler_settings.target_cpu_utilization
automaticScaling.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_instances
automatic_scaling.max_total_instances
automatic_scaling.cool_down_period_sec
automatic_scaling.cpu_utilization.target_utilization
manual scaling in the flexible environment:
Parameters | |
---|---|
Name | Description |
request |
UpdateVersionRequest The request received from the client. |
context |
ServerCallContext The 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). |