View Source GoogleApi.Dataproc.V1.Model.Session (google_api_dataproc v0.54.0)

A representation of a session.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the session was created.
  • creator (type: String.t, default: nil) - Output only. The email address of the user who created the session.
  • environmentConfig (type: GoogleApi.Dataproc.V1.Model.EnvironmentConfig.t, default: nil) - Optional. Environment configuration for the session execution.
  • jupyterSession (type: GoogleApi.Dataproc.V1.Model.JupyterConfig.t, default: nil) - Optional. Jupyter session config.
  • labels (type: map(), default: nil) - 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.
  • name (type: String.t, default: nil) - Required. The resource name of the session.
  • runtimeConfig (type: GoogleApi.Dataproc.V1.Model.RuntimeConfig.t, default: nil) - Optional. Runtime configuration for the session execution.
  • runtimeInfo (type: GoogleApi.Dataproc.V1.Model.RuntimeInfo.t, default: nil) - Output only. Runtime information about session execution.
  • sessionTemplate (type: String.t, default: nil) - 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.
  • state (type: String.t, default: nil) - Output only. A state of the session.
  • stateHistory (type: list(GoogleApi.Dataproc.V1.Model.SessionStateHistory.t), default: nil) - Output only. Historical state information for the session.
  • stateMessage (type: String.t, default: nil) - Output only. Session state details, such as the failure description if the state is FAILED.
  • stateTime (type: DateTime.t, default: nil) - Output only. The time when the session entered the current state.
  • user (type: String.t, default: nil) - Optional. The email address of the user who owns the session.
  • uuid (type: String.t, default: nil) - Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataproc.V1.Model.Session{
  createTime: DateTime.t() | nil,
  creator: String.t() | nil,
  environmentConfig: GoogleApi.Dataproc.V1.Model.EnvironmentConfig.t() | nil,
  jupyterSession: GoogleApi.Dataproc.V1.Model.JupyterConfig.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  runtimeConfig: GoogleApi.Dataproc.V1.Model.RuntimeConfig.t() | nil,
  runtimeInfo: GoogleApi.Dataproc.V1.Model.RuntimeInfo.t() | nil,
  sessionTemplate: String.t() | nil,
  state: String.t() | nil,
  stateHistory: [GoogleApi.Dataproc.V1.Model.SessionStateHistory.t()] | nil,
  stateMessage: String.t() | nil,
  stateTime: DateTime.t() | nil,
  user: String.t() | nil,
  uuid: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.