Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class ListInstancesRequest.
Request message forListInstances.
Generated from protobuf messagegoogle.cloud.memorystore.v1beta.ListInstancesRequest
Namespace
Google \ Cloud \ Memorystore \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent to list instances from. Format: projects/{project}/locations/{location}
↳ page_size
int
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
↳ page_token
string
Optional. A token identifying a page of results the server should return.
↳ filter
string
Optional. Expression for filtering results.
↳ order_by
string
Optional. Sort results by a defined order. Supported values: "name", "create_time".
getParent
Required. The parent to list instances from.
Format: projects/{project}/locations/{location}
Returns
Type
Description
string
setParent
Required. The parent to list instances from.
Format: projects/{project}/locations/{location}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. Requested page size. Server may return fewer items than
requested. If unspecified, server will pick an appropriate default.
Returns
Type
Description
int
setPageSize
Optional. Requested page size. Server may return fewer items than
requested. If unspecified, server will pick an appropriate default.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. A token identifying a page of results the server should return.
Returns
Type
Description
string
setPageToken
Optional. A token identifying a page of results the server should return.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Optional. Expression for filtering results.
Returns
Type
Description
string
setFilter
Optional. Expression for filtering results.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOrderBy
Optional. Sort results by a defined order. Supported values: "name",
"create_time".
Returns
Type
Description
string
setOrderBy
Optional. Sort results by a defined order. Supported values: "name",
"create_time".
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The parent to list instances from.
Format: projects/{project}/locations/{location}
Please seeMemorystoreClient::locationName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Memorystore V1beta Client - Class ListInstancesRequest (0.4.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.2 (latest)](/php/docs/reference/cloud-memorystore/latest/V1beta.ListInstancesRequest)\n- [0.4.1](/php/docs/reference/cloud-memorystore/0.4.1/V1beta.ListInstancesRequest)\n- [0.3.0](/php/docs/reference/cloud-memorystore/0.3.0/V1beta.ListInstancesRequest)\n- [0.2.0](/php/docs/reference/cloud-memorystore/0.2.0/V1beta.ListInstancesRequest)\n- [0.1.1](/php/docs/reference/cloud-memorystore/0.1.1/V1beta.ListInstancesRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Memorystore V1beta Client class ListInstancesRequest.\n\nRequest message for ListInstances.\n\nGenerated from protobuf message `google.cloud.memorystore.v1beta.ListInstancesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Memorystore \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent to list instances from.\n\nFormat: projects/{project}/locations/{location}\n\n### setParent\n\nRequired. The parent to list instances from.\n\nFormat: projects/{project}/locations/{location}\n\n### getPageSize\n\nOptional. Requested page size. Server may return fewer items than\nrequested. If unspecified, server will pick an appropriate default.\n\n### setPageSize\n\nOptional. Requested page size. Server may return fewer items than\nrequested. If unspecified, server will pick an appropriate default.\n\n### getPageToken\n\nOptional. A token identifying a page of results the server should return.\n\n### setPageToken\n\nOptional. A token identifying a page of results the server should return.\n\n### getFilter\n\nOptional. Expression for filtering results.\n\n### setFilter\n\nOptional. Expression for filtering results.\n\n### getOrderBy\n\nOptional. Sort results by a defined order. Supported values: \"name\",\n\"create_time\".\n\n### setOrderBy\n\nOptional. Sort results by a defined order. Supported values: \"name\",\n\"create_time\".\n\n### static::build"]]