Class UsersResource.EnvironmentsResource.StartRequest
Starts an existing environment, allowing clients to connect to it. The returned operation will contain an instance of StartEnvironmentMetadata in its metadata field. Users can wait for the environment to start by polling this operation via GetOperation. Once the environment has finished starting and is ready to accept connections, the operation will contain a StartEnvironmentResponse in its response field.
Inheritance
UsersResource.EnvironmentsResource.StartRequest
Inherited Members
Namespace: Google.Apis.CloudShell.v1
Assembly: Google.Apis.CloudShell.v1.dll
Syntax
public class UsersResource.EnvironmentsResource.StartRequest : CloudShellBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
StartRequest(IClientService, StartEnvironmentRequest, string)
Constructs a new Start request.
Declaration
public StartRequest(IClientService service, StartEnvironmentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
StartEnvironmentRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudShell.v1.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudShell.v1.Data.Operation>.MethodName
Name
Name of the resource that should be started, for example users/me/environments/default
or
users/someone@example.com/environments/default
.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudShell.v1.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudShell.v1.Data.Operation>.GetBody()
InitParameters()
Initializes Start parameter list.
Declaration
protected override void InitParameters()