Class ProjectsResource.LocationsResource.InstancesResource.InventoriesResource
The "inventories" collection of methods.
Inherited Members
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:
|
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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.ListRequest |