Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class UtilizationReport.
Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.
Generated from protobuf message google.cloud.vmmigration.v1.UtilizationReport
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The report unique name.
↳ display_name
string
The report display name, as assigned by the user.
↳ state
int
Output only. Current state of the report.
↳ state_time
↳ error
↳ create_time
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).
↳ time_frame
int
Time frame of the report.
↳ frame_end_time
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.
↳ vm_count
int
Output only. Total number of VMs included in the report.
↳ vms
array< 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.
getName
Output only. The report unique name.
string
setName
Output only. The report unique name.
var
string
$this
getDisplayName
The report display name, as assigned by the user.
string
setDisplayName
The report display name, as assigned by the user.
var
string
$this
getState
Output only. Current state of the report.
int
setState
Output only. Current state of the report.
var
int
$this
getStateTime
Output only. The time the state was last set.
hasStateTime
clearStateTime
setStateTime
Output only. The time the state was last set.
$this
getError
Output only. Provides details on the state of the report in case of an error.
hasError
clearError
setError
Output only. Provides details on the state of the report in case of an error.
$this
getCreateTime
Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).
$this
getTimeFrame
Time frame of the report.
int
setTimeFrame
Time frame of the report.
var
int
$this
getFrameEndTime
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.
hasFrameEndTime
clearFrameEndTime
setFrameEndTime
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.
$this
getVmCount
Output only. Total number of VMs included in the report.
int
setVmCount
Output only. Total number of VMs included in the report.
var
int
$this
getVms
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.
setVms
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.
$this