Class: Google::Apis::MigrationcenterV1alpha1::InlinePayloadInfo
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::InlinePayloadInfo
- 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
-
#format ⇒ String
The import job format.
-
#payload ⇒ Array<Google::Apis::MigrationcenterV1alpha1::PayloadFile>
List of payload files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InlinePayloadInfo
constructor
A new instance of InlinePayloadInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InlinePayloadInfo
Returns a new instance of InlinePayloadInfo.
2239 2240 2241 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#format ⇒ String
The import job format.
Corresponds to the JSON property format
2232 2233 2234 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2232 def format @format end |
#payload ⇒ Array<Google::Apis::MigrationcenterV1alpha1::PayloadFile>
List of payload files.
Corresponds to the JSON property payload
2237 2238 2239 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2237 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2244 2245 2246 2247 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2244 def update!(**args) @format = args[:format] if args.key?(:format) @payload = args[:payload] if args.key?(:payload) end |