public sealed class TerminateSessionRequest : IMessage<TerminateSessionRequest>, IEquatable<TerminateSessionRequest>, IDeepCloneable<TerminateSessionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class TerminateSessionRequest.
A request to terminate an interactive session.
Implements
IMessageTerminateSessionRequest, IEquatableTerminateSessionRequest, IDeepCloneableTerminateSessionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
TerminateSessionRequest()
public TerminateSessionRequest()
TerminateSessionRequest(TerminateSessionRequest)
public TerminateSessionRequest(TerminateSessionRequest other)
Parameter | |
---|---|
Name | Description |
other | TerminateSessionRequest |
Properties
Name
public string Name { get; set; }
Required. The name of the session resource to terminate.
Property Value | |
---|---|
Type | Description |
string |
RequestId
public string RequestId { get; set; }
Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequests with the same ID, the second request is ignored.
Recommendation: Set this value to a UUID.
The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Property Value | |
---|---|
Type | Description |
string |
SessionName
public SessionName SessionName { get; set; }
SessionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SessionName |