Class AppsResource.ServicesResource.VersionsResource.InstancesResource.DeleteRequest
Stops a running instance.The instance might be automatically recreated based on the scaling settings of the version. For more information, see "How Instances are Managed" (standard environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | flexible environment (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure that instances are not re-created and avoid getting billed, you can stop all instances within the target version by changing the serving status of the version to STOPPED with the apps.services.versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) method.
Inheritance
Inherited Members
Namespace: Google.Apis.Appengine.v1
Assembly: Google.Apis.Appengine.v1.dll
Syntax
public class AppsResource.ServicesResource.VersionsResource.InstancesResource.DeleteRequest : AppengineBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string appsId, string servicesId, string versionsId, string instancesId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | appsId | |
string | servicesId | |
string | versionsId | |
string | instancesId |
Properties
AppsId
Part of name
. Name of the resource requested. Example:
apps/myapp/services/default/versions/v1/instances/instance-1.
Declaration
[RequestParameter("appsId", RequestParameterType.Path)]
public virtual string AppsId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
InstancesId
Part of name
. See documentation of appsId
.
Declaration
[RequestParameter("instancesId", RequestParameterType.Path)]
public virtual string InstancesId { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ServicesId
Part of name
. See documentation of appsId
.
Declaration
[RequestParameter("servicesId", RequestParameterType.Path)]
public virtual string ServicesId { get; }
Property Value
Type | Description |
---|---|
string |
VersionsId
Part of name
. See documentation of appsId
.
Declaration
[RequestParameter("versionsId", RequestParameterType.Path)]
public virtual string VersionsId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()