Struct google_dataproc1::api::Session
source · pub struct Session {Show 15 fields
pub create_time: Option<DateTime<Utc>>,
pub creator: Option<String>,
pub environment_config: Option<EnvironmentConfig>,
pub jupyter_session: Option<JupyterConfig>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub runtime_config: Option<RuntimeConfig>,
pub runtime_info: Option<RuntimeInfo>,
pub session_template: Option<String>,
pub state: Option<String>,
pub state_history: Option<Vec<SessionStateHistory>>,
pub state_message: Option<String>,
pub state_time: Option<DateTime<Utc>>,
pub user: Option<String>,
pub uuid: Option<String>,
}
Expand description
A representation of a session.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations sessions create projects (request)
- locations sessions get projects (response)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The time when the session was created.
creator: Option<String>
Output only. The email address of the user who created the session.
environment_config: Option<EnvironmentConfig>
Optional. Environment configuration for the session execution.
jupyter_session: Option<JupyterConfig>
Optional. Jupyter session config.
labels: Option<HashMap<String, String>>
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: Option<String>
Required. The resource name of the session.
runtime_config: Option<RuntimeConfig>
Optional. Runtime configuration for the session execution.
runtime_info: Option<RuntimeInfo>
Output only. Runtime information about session execution.
session_template: Option<String>
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: Option<String>
Output only. A state of the session.
state_history: Option<Vec<SessionStateHistory>>
Output only. Historical state information for the session.
state_message: Option<String>
Output only. Session state details, such as the failure description if the state is FAILED.
state_time: Option<DateTime<Utc>>
Output only. The time when the session entered the current state.
user: Option<String>
Optional. The email address of the user who owns the session.
uuid: Option<String>
Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.