Class: Google::Cloud::VMMigration::V1::UtilizationReport
- Inherits:
-
Object
- Object
- Google::Cloud::VMMigration::V1::UtilizationReport
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vmmigration/v1/vmmigration.rb
Overview
Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.
Defined Under Namespace
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#display_name ⇒ ::String
The report display name, as assigned by the user.
-
#error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#frame_end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::VMMigration::V1::UtilizationReport::State
readonly
Output only.
-
#state_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#time_frame ⇒ ::Google::Cloud::VMMigration::V1::UtilizationReport::TimeFrame
Time frame of the report.
-
#vm_count ⇒ ::Integer
readonly
Output only.
-
#vms ⇒ ::Array<::Google::Cloud::VMMigration::V1::VmUtilizationInfo>
List of utilization information per VM.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#display_name ⇒ ::String
Returns The report display name, as assigned by the user.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#error ⇒ ::Google::Rpc::Status (readonly)
Returns Output only. Provides details on the state of the report in case of an error.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#frame_end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns 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.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#name ⇒ ::String (readonly)
Returns Output only. The report unique name.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#state ⇒ ::Google::Cloud::VMMigration::V1::UtilizationReport::State (readonly)
Returns Output only. Current state of the report.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#state_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the state was last set.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#time_frame ⇒ ::Google::Cloud::VMMigration::V1::UtilizationReport::TimeFrame
Returns Time frame of the report.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#vm_count ⇒ ::Integer (readonly)
Returns Output only. Total number of VMs included in the report.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |
#vms ⇒ ::Array<::Google::Cloud::VMMigration::V1::VmUtilizationInfo>
Returns 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.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1352 class UtilizationReport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Utilization report state. module State # The state is unknown. This value is not in use. STATE_UNSPECIFIED = 0 # The report is in the making. CREATING = 1 # Report creation completed successfully. SUCCEEDED = 2 # Report creation failed. FAILED = 3 end # Report time frame options. module TimeFrame # The time frame was not specified and will default to WEEK. TIME_FRAME_UNSPECIFIED = 0 # One week. WEEK = 1 # One month. MONTH = 2 # One year. YEAR = 3 end end |