Class: Google::Apis::NotebooksV1::GetInstanceHealthResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb

Overview

Response for checking if a notebook instance is healthy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetInstanceHealthResponse

Returns a new instance of GetInstanceHealthResponse.



824
825
826
# File 'lib/google/apis/notebooks_v1/classes.rb', line 824

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#health_infoHash<String,String>

Output only. Additional information about instance health. Example: healthInfo" : "docker_proxy_agent_status": "1", "docker_status": "1", " jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10- 18 09:40:03.573409" Corresponds to the JSON property healthInfo

Returns:

  • (Hash<String,String>)


817
818
819
# File 'lib/google/apis/notebooks_v1/classes.rb', line 817

def health_info
  @health_info
end

#health_stateString

Output only. Runtime health_state. Corresponds to the JSON property healthState

Returns:

  • (String)


822
823
824
# File 'lib/google/apis/notebooks_v1/classes.rb', line 822

def health_state
  @health_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



829
830
831
832
# File 'lib/google/apis/notebooks_v1/classes.rb', line 829

def update!(**args)
  @health_info = args[:health_info] if args.key?(:health_info)
  @health_state = args[:health_state] if args.key?(:health_state)
end