Class ProjectsResource.LocationsResource.EnvironmentsResource.HibernateRequest
Hibernates (pauses) a running environment. It requests the environment to switch to the HIBERNATED state, keeping its data and minimizing cost, but not running any DAGs. This method is supported for Cloud Composer environments in development mode in versions composer-3-airflow-..-build. and newer.
Inheritance
ProjectsResource.LocationsResource.EnvironmentsResource.HibernateRequest
Inherited Members
Namespace: Google.Apis.CloudComposer.v1beta1
Assembly: Google.Apis.CloudComposer.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EnvironmentsResource.HibernateRequest : CloudComposerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
HibernateRequest(IClientService, HibernateEnvironmentRequest, string)
Constructs a new Hibernate request.
Declaration
public HibernateRequest(IClientService service, HibernateEnvironmentRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| HibernateEnvironmentRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the environment to hibernate, in the form: "projects/{project}/locations/{location}/environments/{environment}"
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Hibernate parameter list.
Declaration
protected override void InitParameters()