Class: Google::Apis::BigqueryV2::SparkStatistics

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SparkStatistics

Returns a new instance of SparkStatistics.



7343
7344
7345
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7343

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

Instance Attribute Details

#endpointsHash<String,String>

[Output-only] Endpoints generated for the Spark job. Corresponds to the JSON property endpoints

Returns:

  • (Hash<String,String>)


7326
7327
7328
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7326

def endpoints
  @endpoints
end

#logging_infoGoogle::Apis::BigqueryV2::SparkLoggingInfo

[Output-only] Logging info is used to generate a link to Cloud Logging. Corresponds to the JSON property loggingInfo



7331
7332
7333
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7331

def logging_info
  @logging_info
end

#spark_job_idString

[Output-only] Spark job id if a Spark job is created successfully. Corresponds to the JSON property sparkJobId

Returns:

  • (String)


7336
7337
7338
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7336

def spark_job_id
  @spark_job_id
end

#spark_job_locationString

[Output-only] Location where the Spark job is executed. Corresponds to the JSON property sparkJobLocation

Returns:

  • (String)


7341
7342
7343
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7341

def spark_job_location
  @spark_job_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7348
7349
7350
7351
7352
7353
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7348

def update!(**args)
  @endpoints = args[:endpoints] if args.key?(:endpoints)
  @logging_info = args[:logging_info] if args.key?(:logging_info)
  @spark_job_id = args[:spark_job_id] if args.key?(:spark_job_id)
  @spark_job_location = args[:spark_job_location] if args.key?(:spark_job_location)
end