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.



816
817
818
# File 'lib/google/apis/run_v2/classes.rb', line 816

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



804
805
806
# File 'lib/google/apis/run_v2/classes.rb', line 804

def image_export_statuses
  @image_export_statuses
end

#operation_idString

The operation id. Corresponds to the JSON property operationId

Returns:

  • (String)


809
810
811
# File 'lib/google/apis/run_v2/classes.rb', line 809

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)


814
815
816
# File 'lib/google/apis/run_v2/classes.rb', line 814

def operation_state
  @operation_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



821
822
823
824
825
# File 'lib/google/apis/run_v2/classes.rb', line 821

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