Class: Google::Apis::BigqueryV2::RoutineBuildStatus
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::RoutineBuildStatus
- 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
Overview
The status of a routine build.
Instance Attribute Summary collapse
-
#build_duration ⇒ String
Output only.
-
#build_state ⇒ String
Output only.
-
#build_state_update_time ⇒ String
Output only.
-
#error_result ⇒ Google::Apis::BigqueryV2::ErrorProto
Error details.
-
#image_size_bytes ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoutineBuildStatus
constructor
A new instance of RoutineBuildStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoutineBuildStatus
Returns a new instance of RoutineBuildStatus.
9540 9541 9542 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build_duration ⇒ String
Output only. The time taken for the image build. Populated only after the
build succeeds or fails.
Corresponds to the JSON property buildDuration
9517 9518 9519 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9517 def build_duration @build_duration end |
#build_state ⇒ String
Output only. The current build state of the routine.
Corresponds to the JSON property buildState
9522 9523 9524 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9522 def build_state @build_state end |
#build_state_update_time ⇒ String
Output only. The time when the build state was updated last.
Corresponds to the JSON property buildStateUpdateTime
9527 9528 9529 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9527 def build_state_update_time @build_state_update_time end |
#error_result ⇒ Google::Apis::BigqueryV2::ErrorProto
Error details.
Corresponds to the JSON property errorResult
9532 9533 9534 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9532 def error_result @error_result end |
#image_size_bytes ⇒ Fixnum
Output only. The size of the image in bytes. Populated only after the build
succeeds.
Corresponds to the JSON property imageSizeBytes
9538 9539 9540 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9538 def image_size_bytes @image_size_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9545 9546 9547 9548 9549 9550 9551 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9545 def update!(**args) @build_duration = args[:build_duration] if args.key?(:build_duration) @build_state = args[:build_state] if args.key?(:build_state) @build_state_update_time = args[:build_state_update_time] if args.key?(:build_state_update_time) @error_result = args[:error_result] if args.key?(:error_result) @image_size_bytes = args[:image_size_bytes] if args.key?(:image_size_bytes) end |