Class: Google::Cloud::OsConfig::V1::Inventory::Item

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/inventory.rb

Overview

A single piece of inventory on a VM.

Defined Under Namespace

Modules: OriginType, Type

Instance Attribute Summary collapse

Instance Attribute Details

#available_package::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage

Returns Software package available to be installed on the VM instance.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 93

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The origin of a specific inventory item.
  module OriginType
    # Invalid. An origin type must be specified.
    ORIGIN_TYPE_UNSPECIFIED = 0

    # This inventory item was discovered as the result of the agent
    # reporting inventory via the reporting API.
    INVENTORY_REPORT = 1
  end

  # The different types of inventory that are tracked on a VM.
  module Type
    # Invalid. An type must be specified.
    TYPE_UNSPECIFIED = 0

    # This represents a package that is installed on the VM.
    INSTALLED_PACKAGE = 1

    # This represents an update that is available for a package.
    AVAILABLE_PACKAGE = 2
  end
end

#create_time::Google::Protobuf::Timestamp

Returns When this inventory item was first detected.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 93

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The origin of a specific inventory item.
  module OriginType
    # Invalid. An origin type must be specified.
    ORIGIN_TYPE_UNSPECIFIED = 0

    # This inventory item was discovered as the result of the agent
    # reporting inventory via the reporting API.
    INVENTORY_REPORT = 1
  end

  # The different types of inventory that are tracked on a VM.
  module Type
    # Invalid. An type must be specified.
    TYPE_UNSPECIFIED = 0

    # This represents a package that is installed on the VM.
    INSTALLED_PACKAGE = 1

    # This represents an update that is available for a package.
    AVAILABLE_PACKAGE = 2
  end
end

#id::String

Returns Identifier for this item, unique across items for this VM.

Returns:

  • (::String)

    Identifier for this item, unique across items for this VM.



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 93

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The origin of a specific inventory item.
  module OriginType
    # Invalid. An origin type must be specified.
    ORIGIN_TYPE_UNSPECIFIED = 0

    # This inventory item was discovered as the result of the agent
    # reporting inventory via the reporting API.
    INVENTORY_REPORT = 1
  end

  # The different types of inventory that are tracked on a VM.
  module Type
    # Invalid. An type must be specified.
    TYPE_UNSPECIFIED = 0

    # This represents a package that is installed on the VM.
    INSTALLED_PACKAGE = 1

    # This represents an update that is available for a package.
    AVAILABLE_PACKAGE = 2
  end
end

#installed_package::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage

Returns Software package present on the VM instance.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 93

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The origin of a specific inventory item.
  module OriginType
    # Invalid. An origin type must be specified.
    ORIGIN_TYPE_UNSPECIFIED = 0

    # This inventory item was discovered as the result of the agent
    # reporting inventory via the reporting API.
    INVENTORY_REPORT = 1
  end

  # The different types of inventory that are tracked on a VM.
  module Type
    # Invalid. An type must be specified.
    TYPE_UNSPECIFIED = 0

    # This represents a package that is installed on the VM.
    INSTALLED_PACKAGE = 1

    # This represents an update that is available for a package.
    AVAILABLE_PACKAGE = 2
  end
end

#origin_type::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType

Returns The origin of this inventory item.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 93

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The origin of a specific inventory item.
  module OriginType
    # Invalid. An origin type must be specified.
    ORIGIN_TYPE_UNSPECIFIED = 0

    # This inventory item was discovered as the result of the agent
    # reporting inventory via the reporting API.
    INVENTORY_REPORT = 1
  end

  # The different types of inventory that are tracked on a VM.
  module Type
    # Invalid. An type must be specified.
    TYPE_UNSPECIFIED = 0

    # This represents a package that is installed on the VM.
    INSTALLED_PACKAGE = 1

    # This represents an update that is available for a package.
    AVAILABLE_PACKAGE = 2
  end
end

#type::Google::Cloud::OsConfig::V1::Inventory::Item::Type

Returns The specific type of inventory, correlating to its specific details.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 93

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The origin of a specific inventory item.
  module OriginType
    # Invalid. An origin type must be specified.
    ORIGIN_TYPE_UNSPECIFIED = 0

    # This inventory item was discovered as the result of the agent
    # reporting inventory via the reporting API.
    INVENTORY_REPORT = 1
  end

  # The different types of inventory that are tracked on a VM.
  module Type
    # Invalid. An type must be specified.
    TYPE_UNSPECIFIED = 0

    # This represents a package that is installed on the VM.
    INSTALLED_PACKAGE = 1

    # This represents an update that is available for a package.
    AVAILABLE_PACKAGE = 2
  end
end

#update_time::Google::Protobuf::Timestamp

Returns When this inventory item was last modified.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 93

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The origin of a specific inventory item.
  module OriginType
    # Invalid. An origin type must be specified.
    ORIGIN_TYPE_UNSPECIFIED = 0

    # This inventory item was discovered as the result of the agent
    # reporting inventory via the reporting API.
    INVENTORY_REPORT = 1
  end

  # The different types of inventory that are tracked on a VM.
  module Type
    # Invalid. An type must be specified.
    TYPE_UNSPECIFIED = 0

    # This represents a package that is installed on the VM.
    INSTALLED_PACKAGE = 1

    # This represents an update that is available for a package.
    AVAILABLE_PACKAGE = 2
  end
end