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.



7101
7102
7103
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7101

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>)


7084
7085
7086
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7084

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 logging_info



7089
7090
7091
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7089

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 spark_job_id

Returns:

  • (String)


7094
7095
7096
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7094

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 spark_job_location

Returns:

  • (String)


7099
7100
7101
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7099

def spark_job_location
  @spark_job_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7106
7107
7108
7109
7110
7111
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7106

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