Class: Google::Apis::BigqueryV2::SparkStatistics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::SparkStatistics
- 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
-
#endpoints ⇒ Hash<String,String>
[Output-only] Endpoints generated for the Spark job.
-
#logging_info ⇒ Google::Apis::BigqueryV2::SparkLoggingInfo
[Output-only] Logging info is used to generate a link to Cloud Logging.
-
#spark_job_id ⇒ String
[Output-only] Spark job id if a Spark job is created successfully.
-
#spark_job_location ⇒ String
[Output-only] Location where the Spark job is executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkStatistics
constructor
A new instance of SparkStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#endpoints ⇒ Hash<String,String>
[Output-only] Endpoints generated for the Spark job.
Corresponds to the JSON property endpoints
7326 7327 7328 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7326 def endpoints @endpoints end |
#logging_info ⇒ Google::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_id ⇒ String
[Output-only] Spark job id if a Spark job is created successfully.
Corresponds to the JSON property sparkJobId
7336 7337 7338 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7336 def spark_job_id @spark_job_id end |
#spark_job_location ⇒ String
[Output-only] Location where the Spark job is executed.
Corresponds to the JSON property sparkJobLocation
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 |