Class: Google::Apis::MigrationcenterV1::MachineDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::MachineDetails
- 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
Details of a machine.
Instance Attribute Summary collapse
-
#architecture ⇒ Google::Apis::MigrationcenterV1::MachineArchitectureDetails
Details of the machine architecture.
-
#core_count ⇒ Fixnum
Number of logical CPU cores in the machine.
-
#create_time ⇒ String
Machine creation time.
-
#disk_partitions ⇒ Google::Apis::MigrationcenterV1::DiskPartitionDetails
Disk partition details.
-
#disks ⇒ Google::Apis::MigrationcenterV1::MachineDiskDetails
Details of machine disks.
-
#guest_os ⇒ Google::Apis::MigrationcenterV1::GuestOsDetails
Information from Guest-level collections.
-
#machine_name ⇒ String
Machine name.
-
#memory_mb ⇒ Fixnum
The amount of memory in the machine.
-
#network ⇒ Google::Apis::MigrationcenterV1::MachineNetworkDetails
Details of network adapters and settings.
-
#platform ⇒ Google::Apis::MigrationcenterV1::PlatformDetails
Information about the platform.
-
#power_state ⇒ String
Power state of the machine.
-
#uuid ⇒ String
Machine unique identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MachineDetails
constructor
A new instance of MachineDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MachineDetails
Returns a new instance of MachineDetails.
3750 3751 3752 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3750 def initialize(**args) update!(**args) end |
Instance Attribute Details
#architecture ⇒ Google::Apis::MigrationcenterV1::MachineArchitectureDetails
Details of the machine architecture.
Corresponds to the JSON property architecture
3693 3694 3695 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3693 def architecture @architecture end |
#core_count ⇒ Fixnum
Number of logical CPU cores in the machine. Must be non-negative.
Corresponds to the JSON property coreCount
3698 3699 3700 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3698 def core_count @core_count end |
#create_time ⇒ String
Machine creation time.
Corresponds to the JSON property createTime
3703 3704 3705 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3703 def create_time @create_time end |
#disk_partitions ⇒ Google::Apis::MigrationcenterV1::DiskPartitionDetails
Disk partition details.
Corresponds to the JSON property diskPartitions
3708 3709 3710 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3708 def disk_partitions @disk_partitions end |
#disks ⇒ Google::Apis::MigrationcenterV1::MachineDiskDetails
Details of machine disks.
Corresponds to the JSON property disks
3713 3714 3715 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3713 def disks @disks end |
#guest_os ⇒ Google::Apis::MigrationcenterV1::GuestOsDetails
Information from Guest-level collections.
Corresponds to the JSON property guestOs
3718 3719 3720 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3718 def guest_os @guest_os end |
#machine_name ⇒ String
Machine name.
Corresponds to the JSON property machineName
3723 3724 3725 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3723 def machine_name @machine_name end |
#memory_mb ⇒ Fixnum
The amount of memory in the machine. Must be non-negative.
Corresponds to the JSON property memoryMb
3728 3729 3730 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3728 def memory_mb @memory_mb end |
#network ⇒ Google::Apis::MigrationcenterV1::MachineNetworkDetails
Details of network adapters and settings.
Corresponds to the JSON property network
3733 3734 3735 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3733 def network @network end |
#platform ⇒ Google::Apis::MigrationcenterV1::PlatformDetails
Information about the platform.
Corresponds to the JSON property platform
3738 3739 3740 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3738 def platform @platform end |
#power_state ⇒ String
Power state of the machine.
Corresponds to the JSON property powerState
3743 3744 3745 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3743 def power_state @power_state end |
#uuid ⇒ String
Machine unique identifier.
Corresponds to the JSON property uuid
3748 3749 3750 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3748 def uuid @uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3755 def update!(**args) @architecture = args[:architecture] if args.key?(:architecture) @core_count = args[:core_count] if args.key?(:core_count) @create_time = args[:create_time] if args.key?(:create_time) @disk_partitions = args[:disk_partitions] if args.key?(:disk_partitions) @disks = args[:disks] if args.key?(:disks) @guest_os = args[:guest_os] if args.key?(:guest_os) @machine_name = args[:machine_name] if args.key?(:machine_name) @memory_mb = args[:memory_mb] if args.key?(:memory_mb) @network = args[:network] if args.key?(:network) @platform = args[:platform] if args.key?(:platform) @power_state = args[:power_state] if args.key?(:power_state) @uuid = args[:uuid] if args.key?(:uuid) end |