Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ListInventoriesRequest.
A request message for listing inventory data for all VMs in the specified location.
Generated from protobuf message google.cloud.osconfig.v1.ListInventoriesRequest
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource name. Format: projects/{project}/locations/{location}/instances/-
For {project}
, either project-number
or project-id
can be provided.
↳ view
int
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
↳ page_size
int
The maximum number of results to return.
↳ page_token
string
A pagination token returned from a previous call to ListInventories
that indicates where this listing should continue from.
↳ filter
string
If provided, this field specifies the criteria that must be met by a Inventory
API resource to be included in the response.
getParent
Required. The parent resource name.
Format: projects/{project}/locations/{location}/instances/-
For {project}
, either project-number
or project-id
can be provided.
string
setParent
Required. The parent resource name.
Format: projects/{project}/locations/{location}/instances/-
For {project}
, either project-number
or project-id
can be provided.
var
string
$this
getView
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
int
setView
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
var
int
$this
getPageSize
The maximum number of results to return.
int
setPageSize
The maximum number of results to return.
var
int
$this
getPageToken
A pagination token returned from a previous call to ListInventories
that indicates where this listing
should continue from.
string
setPageToken
A pagination token returned from a previous call to ListInventories
that indicates where this listing
should continue from.
var
string
$this
getFilter
If provided, this field specifies the criteria that must be met by a Inventory
API resource to be included in the response.
string
setFilter
If provided, this field specifies the criteria that must be met by a Inventory
API resource to be included in the response.
var
string
$this
static::build
parent
string
Required. The parent resource name.
Format: projects/{project}/locations/{location}/instances/-
For {project}
, either project-number
or project-id
can be provided. Please see OsConfigZonalServiceClient::instanceName()
for help formatting this field.