Class: Google::Cloud::OsConfig::V1alpha::Inventory::Item

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1alpha/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::V1alpha::Inventory::SoftwarePackage

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

Returns:



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/osconfig/v1alpha/inventory.rb', line 108

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:



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/osconfig/v1alpha/inventory.rb', line 108

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.



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/osconfig/v1alpha/inventory.rb', line 108

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::V1alpha::Inventory::SoftwarePackage

Returns Software package present on the VM instance.

Returns:



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/osconfig/v1alpha/inventory.rb', line 108

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::V1alpha::Inventory::Item::OriginType

Returns The origin of this inventory item.

Returns:



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/osconfig/v1alpha/inventory.rb', line 108

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::V1alpha::Inventory::Item::Type

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

Returns:



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/osconfig/v1alpha/inventory.rb', line 108

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:



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/osconfig/v1alpha/inventory.rb', line 108

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