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.



851
852
853
# File 'lib/google/apis/run_v2/classes.rb', line 851

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)


849
850
851
# File 'lib/google/apis/run_v2/classes.rb', line 849

def operation_id
  @operation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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