Class Session
A representation of a session.
Implements
Inherited Members
Namespace: Google.Apis.Dataproc.v1.Data
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class Session : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time when the session was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Creator
Output only. The email address of the user who created the session.
Declaration
[JsonProperty("creator")]
public virtual string Creator { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnvironmentConfig
Optional. Environment configuration for the session execution.
Declaration
[JsonProperty("environmentConfig")]
public virtual EnvironmentConfig EnvironmentConfig { get; set; }
Property Value
Type | Description |
---|---|
EnvironmentConfig |
JupyterSession
Optional. Jupyter session config.
Declaration
[JsonProperty("jupyterSession")]
public virtual JupyterConfig JupyterSession { get; set; }
Property Value
Type | Description |
---|---|
JupyterConfig |
Labels
Optional. The labels to associate with the session. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Required. The resource name of the session.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RuntimeConfig
Optional. Runtime configuration for the session execution.
Declaration
[JsonProperty("runtimeConfig")]
public virtual RuntimeConfig RuntimeConfig { get; set; }
Property Value
Type | Description |
---|---|
RuntimeConfig |
RuntimeInfo
Output only. Runtime information about session execution.
Declaration
[JsonProperty("runtimeInfo")]
public virtual RuntimeInfo RuntimeInfo { get; set; }
Property Value
Type | Description |
---|---|
RuntimeInfo |
SessionTemplate
Optional. The session template used by the session.Only resource names, including project ID and location, are valid.Example: * https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]
- projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]The template must be in the same project and Dataproc region as the session.
Declaration
[JsonProperty("sessionTemplate")]
public virtual string SessionTemplate { get; set; }
Property Value
Type | Description |
---|---|
string |
SparkConnectSession
Optional. Spark connect session config.
Declaration
[JsonProperty("sparkConnectSession")]
public virtual SparkConnectConfig SparkConnectSession { get; set; }
Property Value
Type | Description |
---|---|
SparkConnectConfig |
State
Output only. A state of the session.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
StateHistory
Output only. Historical state information for the session.
Declaration
[JsonProperty("stateHistory")]
public virtual IList<SessionStateHistory> StateHistory { get; set; }
Property Value
Type | Description |
---|---|
IList<SessionStateHistory> |
StateMessage
Output only. Session state details, such as the failure description if the state is FAILED.
Declaration
[JsonProperty("stateMessage")]
public virtual string StateMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
StateTime
object representation of StateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StateTimeDateTimeOffset instead.")]
public virtual object StateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StateTimeDateTimeOffset
DateTimeOffset representation of StateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StateTimeRaw
Output only. The time when the session entered the current state.
Declaration
[JsonProperty("stateTime")]
public virtual string StateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
User
Optional. The email address of the user who owns the session.
Declaration
[JsonProperty("user")]
public virtual string User { get; set; }
Property Value
Type | Description |
---|---|
string |
Uuid
Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.
Declaration
[JsonProperty("uuid")]
public virtual string Uuid { get; set; }
Property Value
Type | Description |
---|---|
string |