Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::GetInventoryRequest.
A request message for getting inventory data for the specified VM.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
-
(::String) — Required. API resource name for inventory resource.
Format:
projects/{project}/locations/{location}/instances/{instance}/inventory
For
{project}
, eitherproject-number
orproject-id
can be provided. For{instance}
, either Compute Engineinstance-id
orinstance-name
can be provided.
#name=
def name=(value) -> ::String
-
value (::String) — Required. API resource name for inventory resource.
Format:
projects/{project}/locations/{location}/instances/{instance}/inventory
For
{project}
, eitherproject-number
orproject-id
can be provided. For{instance}
, either Compute Engineinstance-id
orinstance-name
can be provided.
-
(::String) — Required. API resource name for inventory resource.
Format:
projects/{project}/locations/{location}/instances/{instance}/inventory
For
{project}
, eitherproject-number
orproject-id
can be provided. For{instance}
, either Compute Engineinstance-id
orinstance-name
can be provided.
#view
def view() -> ::Google::Cloud::OsConfig::V1alpha::InventoryView
- (::Google::Cloud::OsConfig::V1alpha::InventoryView) — Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
#view=
def view=(value) -> ::Google::Cloud::OsConfig::V1alpha::InventoryView
- value (::Google::Cloud::OsConfig::V1alpha::InventoryView) — Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
- (::Google::Cloud::OsConfig::V1alpha::InventoryView) — Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.