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.



858
859
860
# File 'lib/google/apis/run_v2/classes.rb', line 858

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)


856
857
858
# File 'lib/google/apis/run_v2/classes.rb', line 856

def operation_id
  @operation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



863
864
865
# File 'lib/google/apis/run_v2/classes.rb', line 863

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