Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<Operation>
AppengineBaseServiceRequest<Operation>
AppsResource.ServicesResource.VersionsResource.InstancesResource.DeleteRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
AppengineBaseServiceRequest<Operation>.Xgafv
AppengineBaseServiceRequest<Operation>.AccessToken
AppengineBaseServiceRequest<Operation>.Alt
AppengineBaseServiceRequest<Operation>.Callback
AppengineBaseServiceRequest<Operation>.Fields
AppengineBaseServiceRequest<Operation>.Key
AppengineBaseServiceRequest<Operation>.OauthToken
AppengineBaseServiceRequest<Operation>.PrettyPrint
AppengineBaseServiceRequest<Operation>.QuotaUser
AppengineBaseServiceRequest<Operation>.UploadType
AppengineBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetBody()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.ApiVersion
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Appengine.v1beta
Assembly: Google.Apis.Appengine.v1beta.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
ClientServiceRequest<Operation>.HttpMethod

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
ClientServiceRequest<Operation>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.RestPath

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()
Overrides
AppengineBaseServiceRequest<Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX