Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::GetInventoryRequest (v0.9.0)

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
Returns
  • (::String) — Required. API resource name for inventory resource.

    Format: projects/{project}/locations/{location}/instances/{instance}/inventory

    For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. API resource name for inventory resource.

    Format: projects/{project}/locations/{location}/instances/{instance}/inventory

    For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

Returns
  • (::String) — Required. API resource name for inventory resource.

    Format: projects/{project}/locations/{location}/instances/{instance}/inventory

    For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

#view

def view() -> ::Google::Cloud::OsConfig::V1alpha::InventoryView
Returns

#view=

def view=(value) -> ::Google::Cloud::OsConfig::V1alpha::InventoryView
Parameter
Returns