Google Cloud Bare Metal Solution V2 Client - Class ListInstancesRequest (0.5.2)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ListInstancesRequest.

Message for requesting the list of servers.

Generated from protobuf message google.cloud.baremetalsolution.v2.ListInstancesRequest

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent value for ListInstancesRequest.

↳ page_size int

Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

↳ page_token string

A token identifying a page of results from the server.

↳ filter string

List filter.

getParent

Required. Parent value for ListInstancesRequest.

Returns
TypeDescription
string

setParent

Required. Parent value for ListInstancesRequest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, the server will pick an appropriate default.

Returns
TypeDescription
int

setPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, the server will pick an appropriate default.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying a page of results from the server.

Returns
TypeDescription
string

setPageToken

A token identifying a page of results from the server.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

List filter.

Returns
TypeDescription
string

setFilter

List filter.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Parent value for ListInstancesRequest. Please see Google\Cloud\BareMetalSolution\V2\BareMetalSolutionClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\ListInstancesRequest