Class ProjectsResource.LocationsResource.EnvironmentsResource.ResumeRequest
Resumes (unpauses) a hibernated environment. It requests the environment to switch to the RUNNING state, so that it is ready to use and run DAGs. This method is supported for Cloud Composer environments in development mode in versions composer-3-airflow-..-build. and newer.
Inheritance
ProjectsResource.LocationsResource.EnvironmentsResource.ResumeRequest
Inherited Members
Namespace: Google.Apis.CloudComposer.v1beta1
Assembly: Google.Apis.CloudComposer.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EnvironmentsResource.ResumeRequest : CloudComposerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ResumeRequest(IClientService, ResumeEnvironmentRequest, string)
Constructs a new Resume request.
Declaration
public ResumeRequest(IClientService service, ResumeEnvironmentRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ResumeEnvironmentRequest | 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 resume, 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 Resume parameter list.
Declaration
protected override void InitParameters()