Class: Google::Apis::RunV2::GoogleCloudRunV2ExportImageResponse

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

ExportImageResponse contains an operation Id to track the image export operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2ExportImageResponse

Returns a new instance of GoogleCloudRunV2ExportImageResponse.



773
774
775
# File 'lib/google/apis/run_v2/classes.rb', line 773

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

Instance Attribute Details

#operation_idString

An operation ID used to track the status of image exports tied to the original pod ID in the request. Corresponds to the JSON property operationId

Returns:

  • (String)


771
772
773
# File 'lib/google/apis/run_v2/classes.rb', line 771

def operation_id
  @operation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



778
779
780
# File 'lib/google/apis/run_v2/classes.rb', line 778

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