public sealed class CreateSessionRequest : IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, IDeepCloneable<CreateSessionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class CreateSessionRequest.
A request to create a session.
Implements
IMessageCreateSessionRequest, IEquatableCreateSessionRequest, IDeepCloneableCreateSessionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
CreateSessionRequest()
public CreateSessionRequest()
CreateSessionRequest(CreateSessionRequest)
public CreateSessionRequest(CreateSessionRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateSessionRequest |
Properties
Parent
public string Parent { get; set; }
Required. The parent resource where this session will be created.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
RequestId
public string RequestId { get; set; }
Optional. A unique ID used to identify the request. If the service receives two CreateSessionRequestss with the same ID, the second request is ignored, and the first [Session][google.cloud.dataproc.v1.Session] is created and stored in the backend.
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 |
Session
public Session Session { get; set; }
Required. The interactive session to create.
Property Value | |
---|---|
Type | Description |
Session |
SessionId
public string SessionId { get; set; }
Required. The ID to use for the session, which becomes the final component of the session's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
Property Value | |
---|---|
Type | Description |
string |