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.



7110
7111
7112
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7110

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


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

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



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

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)


7103
7104
7105
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7103

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)


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

def spark_job_location
  @spark_job_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7115
7116
7117
7118
7119
7120
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7115

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