Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.InstancesResource.InventoriesResource

The "inventories" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.InstancesResource.InventoriesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OSConfig.v1
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.InventoriesResource

Constructors

InventoriesResource(IClientService)

Constructs a new resource.

Declaration
public InventoriesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string)

Get inventory data for the specified VM instance. If the VM has no associated inventory, the message NOT_FOUND is returned.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

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
Type Description
ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.GetRequest

List(string)

List inventory data for all VM instances in the specified zone.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource name. Format: projects/{project}/locations/{location}/instances/- For {project}, either project-number or project-id can be provided.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.ListRequest
In this article
Back to top Generated by DocFX