Class: Google::Apis::MigrationcenterV1alpha1::InlinePayloadInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

A resource that represents the inline import job payload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InlinePayloadInfo

Returns a new instance of InlinePayloadInfo.



3472
3473
3474
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3472

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

Instance Attribute Details

#formatString

The import job format. Corresponds to the JSON property format

Returns:

  • (String)


3465
3466
3467
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3465

def format
  @format
end

#payloadArray<Google::Apis::MigrationcenterV1alpha1::PayloadFile>

List of payload files. Corresponds to the JSON property payload



3470
3471
3472
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3470

def payload
  @payload
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3477
3478
3479
3480
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3477

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