Class ProjectsResource.LocationsResource.SessionsResource.DeleteRequest
Deletes a session. This RPC returns immediately and deletion proceeds asynchronously. It will cancel the session at first if it is still running.
Inheritance
Inherited Members
Namespace: Google.Apis.DeviceRun.v1alpha
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.SessionsResource.DeleteRequest : DeviceRunBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| 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 name of the session. Format:
projects/{project}/locations/{location}/sessions/{session}.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
Optional. A unique identifier for this request. This request is only idempotent if a
request_id is provided, i.e. if a request with the same request_id is received, then the
previous result will be returned. The server will guarantee that for at least 60 minutes after
the first request. The value must be a UUID (e.g., 123e4567-e89b-12d3-a456-426655440000). See
github.com/google/uuid for more details.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()