Show / Hide Table of Contents

Class AppsResource.ServicesResource.VersionsResource

The "versions" collection of methods.

Inheritance
object
AppsResource.ServicesResource.VersionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Appengine.v1
Assembly: Google.Apis.Appengine.v1.dll
Syntax
public class AppsResource.ServicesResource.VersionsResource

Constructors

VersionsResource(IClientService)

Constructs a new resource.

Declaration
public VersionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Instances

Gets the Instances resource.

Declaration
public virtual AppsResource.ServicesResource.VersionsResource.InstancesResource Instances { get; }
Property Value
Type Description
AppsResource.ServicesResource.VersionsResource.InstancesResource

Methods

Create(Version, string, string)

Deploys code and resource files to a new version.

Declaration
public virtual AppsResource.ServicesResource.VersionsResource.CreateRequest Create(Version body, string appsId, string servicesId)
Parameters
Type Name Description
Version body

The body of the request.

string appsId

Part of parent. Name of the parent resource to create this version under. Example: apps/myapp/services/default.

string servicesId

Part of parent. See documentation of appsId.

Returns
Type Description
AppsResource.ServicesResource.VersionsResource.CreateRequest

Delete(string, string, string)

Deletes an existing Version resource.

Declaration
public virtual AppsResource.ServicesResource.VersionsResource.DeleteRequest Delete(string appsId, string servicesId, string versionsId)
Parameters
Type Name Description
string appsId

Part of name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.

string servicesId

Part of name. See documentation of appsId.

string versionsId

Part of name. See documentation of appsId.

Returns
Type Description
AppsResource.ServicesResource.VersionsResource.DeleteRequest

Get(string, string, string)

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

Declaration
public virtual AppsResource.ServicesResource.VersionsResource.GetRequest Get(string appsId, string servicesId, string versionsId)
Parameters
Type Name Description
string appsId

Part of name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.

string servicesId

Part of name. See documentation of appsId.

string versionsId

Part of name. See documentation of appsId.

Returns
Type Description
AppsResource.ServicesResource.VersionsResource.GetRequest

List(string, string)

Lists the versions of a service.

Declaration
public virtual AppsResource.ServicesResource.VersionsResource.ListRequest List(string appsId, string servicesId)
Parameters
Type Name Description
string appsId

Part of parent. Name of the parent Service resource. Example: apps/myapp/services/default.

string servicesId

Part of parent. See documentation of appsId.

Returns
Type Description
AppsResource.ServicesResource.VersionsResource.ListRequest

Patch(Version, string, string, string)

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 instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)

Declaration
public virtual AppsResource.ServicesResource.VersionsResource.PatchRequest Patch(Version body, string appsId, string servicesId, string versionsId)
Parameters
Type Name Description
Version body

The body of the request.

string appsId

Part of name. Name of the resource to update. Example: apps/myapp/services/default/versions/1.

string servicesId

Part of name. See documentation of appsId.

string versionsId

Part of name. See documentation of appsId.

Returns
Type Description
AppsResource.ServicesResource.VersionsResource.PatchRequest
In this article
Back to top Generated by DocFX