Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::MachineDetails.
Details of a machine.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#architecture
def architecture() -> ::Google::Cloud::MigrationCenter::V1::MachineArchitectureDetails
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineArchitectureDetails) — Architecture details (vendor, CPU architecture).
#architecture=
def architecture=(value) -> ::Google::Cloud::MigrationCenter::V1::MachineArchitectureDetails
Parameter
- value (::Google::Cloud::MigrationCenter::V1::MachineArchitectureDetails) — Architecture details (vendor, CPU architecture).
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineArchitectureDetails) — Architecture details (vendor, CPU architecture).
#core_count
def core_count() -> ::Integer
Returns
- (::Integer) — Number of CPU cores in the machine. Must be non-negative.
#core_count=
def core_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of CPU cores in the machine. Must be non-negative.
Returns
- (::Integer) — Number of CPU cores in the machine. Must be non-negative.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Machine creation time.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Machine creation time.
Returns
- (::Google::Protobuf::Timestamp) — Machine creation time.
#disks
def disks() -> ::Google::Cloud::MigrationCenter::V1::MachineDiskDetails
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineDiskDetails) — Disk details.
#disks=
def disks=(value) -> ::Google::Cloud::MigrationCenter::V1::MachineDiskDetails
Parameter
- value (::Google::Cloud::MigrationCenter::V1::MachineDiskDetails) — Disk details.
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineDiskDetails) — Disk details.
#guest_os
def guest_os() -> ::Google::Cloud::MigrationCenter::V1::GuestOsDetails
Returns
- (::Google::Cloud::MigrationCenter::V1::GuestOsDetails) — Guest OS information.
#guest_os=
def guest_os=(value) -> ::Google::Cloud::MigrationCenter::V1::GuestOsDetails
Parameter
- value (::Google::Cloud::MigrationCenter::V1::GuestOsDetails) — Guest OS information.
Returns
- (::Google::Cloud::MigrationCenter::V1::GuestOsDetails) — Guest OS information.
#machine_name
def machine_name() -> ::String
Returns
- (::String) — Machine name.
#machine_name=
def machine_name=(value) -> ::String
Parameter
- value (::String) — Machine name.
Returns
- (::String) — Machine name.
#memory_mb
def memory_mb() -> ::Integer
Returns
- (::Integer) — The amount of memory in the machine. Must be non-negative.
#memory_mb=
def memory_mb=(value) -> ::Integer
Parameter
- value (::Integer) — The amount of memory in the machine. Must be non-negative.
Returns
- (::Integer) — The amount of memory in the machine. Must be non-negative.
#network
def network() -> ::Google::Cloud::MigrationCenter::V1::MachineNetworkDetails
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineNetworkDetails) — Network details.
#network=
def network=(value) -> ::Google::Cloud::MigrationCenter::V1::MachineNetworkDetails
Parameter
- value (::Google::Cloud::MigrationCenter::V1::MachineNetworkDetails) — Network details.
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineNetworkDetails) — Network details.
#platform
def platform() -> ::Google::Cloud::MigrationCenter::V1::PlatformDetails
Returns
- (::Google::Cloud::MigrationCenter::V1::PlatformDetails) — Platform specific information.
#platform=
def platform=(value) -> ::Google::Cloud::MigrationCenter::V1::PlatformDetails
Parameter
- value (::Google::Cloud::MigrationCenter::V1::PlatformDetails) — Platform specific information.
Returns
- (::Google::Cloud::MigrationCenter::V1::PlatformDetails) — Platform specific information.
#power_state
def power_state() -> ::Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState) — Power state of the machine.
#power_state=
def power_state=(value) -> ::Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState
Parameter
- value (::Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState) — Power state of the machine.
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState) — Power state of the machine.
#uuid
def uuid() -> ::String
Returns
- (::String) — Machine unique identifier.
#uuid=
def uuid=(value) -> ::String
Parameter
- value (::String) — Machine unique identifier.
Returns
- (::String) — Machine unique identifier.