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.



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

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



791
792
793
# File 'lib/google/apis/run_v2/classes.rb', line 791

def image_export_statuses
  @image_export_statuses
end

#operation_idString

The operation id. Corresponds to the JSON property operationId

Returns:

  • (String)


796
797
798
# File 'lib/google/apis/run_v2/classes.rb', line 796

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)


801
802
803
# File 'lib/google/apis/run_v2/classes.rb', line 801

def operation_state
  @operation_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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