Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::UtilizationReport (v1.0.2)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::UtilizationReport.

Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).

#display_name

def display_name() -> ::String
Returns
  • (::String) — The report display name, as assigned by the user.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The report display name, as assigned by the user.
Returns
  • (::String) — The report display name, as assigned by the user.

#error

def error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Output only. Provides details on the state of the report in case of an error.

#frame_end_time

def frame_end_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The point in time when the time frame ends. Notice that the time frame is counted backwards. For instance if the "frame_end_time" value is 2021/01/20 and the time frame is WEEK then the report covers the week between 2021/01/20 and 2021/01/14.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The report unique name.

#state

def state() -> ::Google::Cloud::VMMigration::V1::UtilizationReport::State
Returns

#state_time

def state_time() -> ::Google::Protobuf::Timestamp
Returns

#time_frame

def time_frame() -> ::Google::Cloud::VMMigration::V1::UtilizationReport::TimeFrame
Returns

#time_frame=

def time_frame=(value) -> ::Google::Cloud::VMMigration::V1::UtilizationReport::TimeFrame
Parameter
Returns

#vm_count

def vm_count() -> ::Integer
Returns
  • (::Integer) — Output only. Total number of VMs included in the report.

#vms

def vms() -> ::Array<::Google::Cloud::VMMigration::V1::VmUtilizationInfo>
Returns
  • (::Array<::Google::Cloud::VMMigration::V1::VmUtilizationInfo>) — List of utilization information per VM. When sent as part of the request, the "vm_id" field is used in order to specify which VMs to include in the report. In that case all other fields are ignored.

#vms=

def vms=(value) -> ::Array<::Google::Cloud::VMMigration::V1::VmUtilizationInfo>
Parameter
  • value (::Array<::Google::Cloud::VMMigration::V1::VmUtilizationInfo>) — List of utilization information per VM. When sent as part of the request, the "vm_id" field is used in order to specify which VMs to include in the report. In that case all other fields are ignored.
Returns
  • (::Array<::Google::Cloud::VMMigration::V1::VmUtilizationInfo>) — List of utilization information per VM. When sent as part of the request, the "vm_id" field is used in order to specify which VMs to include in the report. In that case all other fields are ignored.