Class: Google::Apis::MigrationcenterV1::OpenFileDetails

Inherits:
Object
  • Object
show all
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

Open file Information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OpenFileDetails

Returns a new instance of OpenFileDetails.



3120
3121
3122
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3120

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

Instance Attribute Details

#commandString

Opened file command. Corresponds to the JSON property command

Returns:

  • (String)


3103
3104
3105
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3103

def command
  @command
end

#file_pathString

Opened file file path. Corresponds to the JSON property filePath

Returns:

  • (String)


3108
3109
3110
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3108

def file_path
  @file_path
end

#file_typeString

Opened file file type. Corresponds to the JSON property fileType

Returns:

  • (String)


3113
3114
3115
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3113

def file_type
  @file_type
end

#userString

Opened file user. Corresponds to the JSON property user

Returns:

  • (String)


3118
3119
3120
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3118

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3125
3126
3127
3128
3129
3130
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3125

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