Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::SessionTemplate (v1.0.1)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::SessionTemplate.

A representation of a session template.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#creator

def creator() -> ::String
Returns
  • (::String) — Output only. The email address of the user who created the template.

#description

def description() -> ::String
Returns
  • (::String) — Optional. Brief description of the template.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Brief description of the template.
Returns
  • (::String) — Optional. Brief description of the template.

#environment_config

def environment_config() -> ::Google::Cloud::Dataproc::V1::EnvironmentConfig
Returns

#environment_config=

def environment_config=(value) -> ::Google::Cloud::Dataproc::V1::EnvironmentConfig
Parameter
Returns

#jupyter_session

def jupyter_session() -> ::Google::Cloud::Dataproc::V1::JupyterConfig
Returns

#jupyter_session=

def jupyter_session=(value) -> ::Google::Cloud::Dataproc::V1::JupyterConfig
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035. No more than 32 labels can be associated with a session.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035. No more than 32 labels can be associated with a session.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035. No more than 32 labels can be associated with a session.

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the session template.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the session template.
Returns
  • (::String) — Required. The resource name of the session template.

#runtime_config

def runtime_config() -> ::Google::Cloud::Dataproc::V1::RuntimeConfig
Returns

#runtime_config=

def runtime_config=(value) -> ::Google::Cloud::Dataproc::V1::RuntimeConfig
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#uuid

def uuid() -> ::String
Returns
  • (::String) — Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.