Class: Google::Apis::MigrationcenterV1alpha1::OpenFileDetails

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

Open file Information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OpenFileDetails

Returns a new instance of OpenFileDetails.



2996
2997
2998
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2996

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

Instance Attribute Details

#commandString

Opened file command. Corresponds to the JSON property command

Returns:

  • (String)


2979
2980
2981
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2979

def command
  @command
end

#file_pathString

Opened file file path. Corresponds to the JSON property filePath

Returns:

  • (String)


2984
2985
2986
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2984

def file_path
  @file_path
end

#file_typeString

Opened file file type. Corresponds to the JSON property fileType

Returns:

  • (String)


2989
2990
2991
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2989

def file_type
  @file_type
end

#userString

Opened file user. Corresponds to the JSON property user

Returns:

  • (String)


2994
2995
2996
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2994

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3001
3002
3003
3004
3005
3006
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3001

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