Class ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.ListRequest
List inventory data for all VM instances in the specified zone.
Inheritance
Inherited Members
Namespace: Google.Apis.OSConfig.v1alpha
Assembly: Google.Apis.OSConfig.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.ListRequest : OSConfigBaseServiceRequest<ListInventoriesResponse>, IClientServiceRequest<ListInventoriesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
Filter
If provided, this field specifies the criteria that must be met by a Inventory API
resource to be included in the response.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageSize
The maximum number of results to return.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
A pagination token returned from a previous call to ListInventories that indicates where
this listing should continue from.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | 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.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
View
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.ListRequest.ViewEnum? View { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.InstancesResource.InventoriesResource.ListRequest.ViewEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()