Class: Google::Apis::DataprocV1::RuntimeInfo

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

Overview

Runtime information about workload execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeInfo

Returns a new instance of RuntimeInfo.



4217
4218
4219
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4217

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

Instance Attribute Details

#approximate_usageGoogle::Apis::DataprocV1::UsageMetrics

Usage metrics represent approximate total resources consumed by a workload. Corresponds to the JSON property approximateUsage



4192
4193
4194
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4192

def approximate_usage
  @approximate_usage
end

#current_usageGoogle::Apis::DataprocV1::UsageSnapshot

The usage snaphot represents the resources consumed by a workload at a specified time. Corresponds to the JSON property currentUsage



4198
4199
4200
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4198

def current_usage
  @current_usage
end

#diagnostic_output_uriString

Output only. A URI pointing to the location of the diagnostics tarball. Corresponds to the JSON property diagnosticOutputUri

Returns:

  • (String)


4203
4204
4205
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4203

def diagnostic_output_uri
  @diagnostic_output_uri
end

#endpointsHash<String,String>

Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs. Corresponds to the JSON property endpoints

Returns:

  • (Hash<String,String>)


4209
4210
4211
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4209

def endpoints
  @endpoints
end

#output_uriString

Output only. A URI pointing to the location of the stdout and stderr of the workload. Corresponds to the JSON property outputUri

Returns:

  • (String)


4215
4216
4217
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4215

def output_uri
  @output_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4222
4223
4224
4225
4226
4227
4228
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4222

def update!(**args)
  @approximate_usage = args[:approximate_usage] if args.key?(:approximate_usage)
  @current_usage = args[:current_usage] if args.key?(:current_usage)
  @diagnostic_output_uri = args[:diagnostic_output_uri] if args.key?(:diagnostic_output_uri)
  @endpoints = args[:endpoints] if args.key?(:endpoints)
  @output_uri = args[:output_uri] if args.key?(:output_uri)
end