Class: Google::Apis::RunV2::GoogleCloudRunV2ExportStatusResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb

Overview

ExportStatusResponse contains the status of image export operation, with the status of each image export job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2ExportStatusResponse

Returns a new instance of GoogleCloudRunV2ExportStatusResponse.



881
882
883
# File 'lib/google/apis/run_v2/classes.rb', line 881

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

Instance Attribute Details

#image_export_statusesArray<Google::Apis::RunV2::GoogleCloudRunV2ImageExportStatus>

The status of each image export job. Corresponds to the JSON property imageExportStatuses



869
870
871
# File 'lib/google/apis/run_v2/classes.rb', line 869

def image_export_statuses
  @image_export_statuses
end

#operation_idString

The operation id. Corresponds to the JSON property operationId

Returns:

  • (String)


874
875
876
# File 'lib/google/apis/run_v2/classes.rb', line 874

def operation_id
  @operation_id
end

#operation_stateString

Output only. The state of the overall export operation. Corresponds to the JSON property operationState

Returns:

  • (String)


879
880
881
# File 'lib/google/apis/run_v2/classes.rb', line 879

def operation_state
  @operation_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



886
887
888
889
890
# File 'lib/google/apis/run_v2/classes.rb', line 886

def update!(**args)
  @image_export_statuses = args[:image_export_statuses] if args.key?(:image_export_statuses)
  @operation_id = args[:operation_id] if args.key?(:operation_id)
  @operation_state = args[:operation_state] if args.key?(:operation_state)
end