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



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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.



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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.



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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.



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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.



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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:



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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:



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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:



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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.



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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.



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1794

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