Class: Google::Apis::MigrationcenterV1alpha1::OpenFileDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::OpenFileDetails
- 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
Open file Information.
Instance Attribute Summary collapse
-
#command ⇒ String
Opened file command.
-
#file_path ⇒ String
Opened file file path.
-
#file_type ⇒ String
Opened file file type.
-
#user ⇒ String
Opened file user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OpenFileDetails
constructor
A new instance of OpenFileDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OpenFileDetails
Returns a new instance of OpenFileDetails.
3157 3158 3159 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#command ⇒ String
Opened file command.
Corresponds to the JSON property command
3140 3141 3142 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3140 def command @command end |
#file_path ⇒ String
Opened file file path.
Corresponds to the JSON property filePath
3145 3146 3147 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3145 def file_path @file_path end |
#file_type ⇒ String
Opened file file type.
Corresponds to the JSON property fileType
3150 3151 3152 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3150 def file_type @file_type end |
#user ⇒ String
Opened file user.
Corresponds to the JSON property user
3155 3156 3157 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3155 def user @user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3162 3163 3164 3165 3166 3167 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3162 def update!(**args) @command = args[:command] if args.key?(:command) @file_path = args[:file_path] if args.key?(:file_path) @file_type = args[:file_type] if args.key?(:file_type) @user = args[:user] if args.key?(:user) end |