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.
7101 7102 7103 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7101 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
7084 7085 7086 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7084 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 logging_info
7089 7090 7091 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7089 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 spark_job_id
7094 7095 7096 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7094 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 spark_job_location
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 |