Class: Google::Apis::BigqueryV2::RoutineBuildStatus

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

Overview

The status of a routine build.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoutineBuildStatus

Returns a new instance of RoutineBuildStatus.



9262
9263
9264
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9262

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#build_durationString

Output only. The time taken for the image build. Populated only after the build succeeds or fails. Corresponds to the JSON property buildDuration

Returns:

  • (String)


9239
9240
9241
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9239

def build_duration
  @build_duration
end

#build_stateString

Output only. The current build state of the routine. Corresponds to the JSON property buildState

Returns:

  • (String)


9244
9245
9246
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9244

def build_state
  @build_state
end

#build_state_update_timeString

Output only. The time when the build state was updated last. Corresponds to the JSON property buildStateUpdateTime

Returns:

  • (String)


9249
9250
9251
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9249

def build_state_update_time
  @build_state_update_time
end

#error_resultGoogle::Apis::BigqueryV2::ErrorProto

Error details. Corresponds to the JSON property errorResult



9254
9255
9256
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9254

def error_result
  @error_result
end

#image_size_bytesFixnum

Output only. The size of the image in bytes. Populated only after the build succeeds. Corresponds to the JSON property imageSizeBytes

Returns:

  • (Fixnum)


9260
9261
9262
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9260

def image_size_bytes
  @image_size_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9267
9268
9269
9270
9271
9272
9273
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9267

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