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.



1120
1121
1122
# File 'lib/google/apis/run_v2/classes.rb', line 1120

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



1108
1109
1110
# File 'lib/google/apis/run_v2/classes.rb', line 1108

def image_export_statuses
  @image_export_statuses
end

#operation_idString

The operation id. Corresponds to the JSON property operationId

Returns:

  • (String)


1113
1114
1115
# File 'lib/google/apis/run_v2/classes.rb', line 1113

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)


1118
1119
1120
# File 'lib/google/apis/run_v2/classes.rb', line 1118

def operation_state
  @operation_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1125
1126
1127
1128
1129
# File 'lib/google/apis/run_v2/classes.rb', line 1125

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