Class: Google::Cloud::VMMigration::V1::UtilizationReport

Inherits:
Object
  • Object
show all
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

Modules: State, TimeFrame

Instance Attribute Summary collapse

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).

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).



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.

Returns:

  • (::String)

    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.

Returns:

  • (::Google::Rpc::Status)

    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.

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.



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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:

  • (::Integer)

    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.

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.



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