Class: Google::Apis::RunV2::GoogleCloudRunV2ExportImageRequest

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

Request message for exporting Cloud Run image.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2ExportImageRequest

Returns a new instance of GoogleCloudRunV2ExportImageRequest.



752
753
754
# File 'lib/google/apis/run_v2/classes.rb', line 752

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

Instance Attribute Details

#destination_repoString

Required. The export destination url (the Artifact Registry repo). Corresponds to the JSON property destinationRepo

Returns:

  • (String)


750
751
752
# File 'lib/google/apis/run_v2/classes.rb', line 750

def destination_repo
  @destination_repo
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



757
758
759
# File 'lib/google/apis/run_v2/classes.rb', line 757

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