Class: Google::Apis::MigrationcenterV1::ImportDataFile
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ImportDataFile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
A resource that represents a payload file in an import job.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
User-friendly display name.
-
#format ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#upload_file_info ⇒ Google::Apis::MigrationcenterV1::UploadFileInfo
A resource that contains a URI to which a data file can be uploaded.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportDataFile
constructor
A new instance of ImportDataFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportDataFile
Returns a new instance of ImportDataFile.
2042 2043 2044 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The timestamp when the file was created.
Corresponds to the JSON property createTime
2015 2016 2017 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2015 def create_time @create_time end |
#display_name ⇒ String
User-friendly display name. Maximum length is 63 characters.
Corresponds to the JSON property displayName
2020 2021 2022 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2020 def display_name @display_name end |
#format ⇒ String
Required. The payload format.
Corresponds to the JSON property format
2025 2026 2027 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2025 def format @format end |
#name ⇒ String
Output only. The name of the file.
Corresponds to the JSON property name
2030 2031 2032 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2030 def name @name end |
#state ⇒ String
Output only. The state of the import data file.
Corresponds to the JSON property state
2035 2036 2037 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2035 def state @state end |
#upload_file_info ⇒ Google::Apis::MigrationcenterV1::UploadFileInfo
A resource that contains a URI to which a data file can be uploaded.
Corresponds to the JSON property uploadFileInfo
2040 2041 2042 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2040 def upload_file_info @upload_file_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2047 2048 2049 2050 2051 2052 2053 2054 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2047 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @format = args[:format] if args.key?(:format) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @upload_file_info = args[:upload_file_info] if args.key?(:upload_file_info) end |