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.



830
831
832
# File 'lib/google/apis/run_v2/classes.rb', line 830

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)


828
829
830
# File 'lib/google/apis/run_v2/classes.rb', line 828

def destination_repo
  @destination_repo
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



835
836
837
# File 'lib/google/apis/run_v2/classes.rb', line 835

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