Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class ListAwsClustersRequest.
Request message for AwsClusters.ListAwsClusters method.
Generated from protobuf message google.cloud.gkemulticloud.v1.ListAwsClustersRequest
Namespace
Google \ Cloud \ GkeMultiCloud \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent location which owns this collection of AwsCluster resources. Location names are formatted as projects/<project-id>/locations/<region>. See Resource Names for more details on Google Cloud Platform resource names.
↳ page_size
int
The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the pageSize value, the response can include a partial list and a caller should only rely on response's nextPageToken to determine if there are more instances left to be queried.
↳ page_token
string
The nextPageToken value returned from a previous awsClusters.list request, if any.
getParent
Required. The parent location which owns this collection of
AwsCluster resources.
Location names are formatted as projects/<project-id>/locations/<region>.
See Resource Names
for more details on Google Cloud Platform resource names.
Returns
Type
Description
string
setParent
Required. The parent location which owns this collection of
AwsCluster resources.
Location names are formatted as projects/<project-id>/locations/<region>.
See Resource Names
for more details on Google Cloud Platform resource names.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
The maximum number of items to return.
If not specified, a default value of 50 will be used by the service.
Regardless of the pageSize value, the response can include a partial list
and a caller should only rely on response's
nextPageToken
to determine if there are more instances left to be queried.
Returns
Type
Description
int
setPageSize
The maximum number of items to return.
If not specified, a default value of 50 will be used by the service.
Regardless of the pageSize value, the response can include a partial list
and a caller should only rely on response's
nextPageToken
to determine if there are more instances left to be queried.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
The nextPageToken value returned from a previous
awsClusters.list
request, if any.
Returns
Type
Description
string
setPageToken
The nextPageToken value returned from a previous
awsClusters.list
request, if any.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The parent location which owns this collection of
AwsCluster resources.
Location names are formatted as projects/<project-id>/locations/<region>.
See Resource Names
for more details on Google Cloud Platform resource names. Please see
AwsClustersClient::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 Anthos Multi Cloud V1 Client - Class ListAwsClustersRequest (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.ListAwsClustersRequest)\n- [1.2.1](/php/docs/reference/cloud-gke-multi-cloud/1.2.1/V1.ListAwsClustersRequest)\n- [1.1.2](/php/docs/reference/cloud-gke-multi-cloud/1.1.2/V1.ListAwsClustersRequest)\n- [1.0.0](/php/docs/reference/cloud-gke-multi-cloud/1.0.0/V1.ListAwsClustersRequest)\n- [0.6.1](/php/docs/reference/cloud-gke-multi-cloud/0.6.1/V1.ListAwsClustersRequest)\n- [0.5.4](/php/docs/reference/cloud-gke-multi-cloud/0.5.4/V1.ListAwsClustersRequest)\n- [0.4.4](/php/docs/reference/cloud-gke-multi-cloud/0.4.4/V1.ListAwsClustersRequest)\n- [0.3.0](/php/docs/reference/cloud-gke-multi-cloud/0.3.0/V1.ListAwsClustersRequest)\n- [0.2.3](/php/docs/reference/cloud-gke-multi-cloud/0.2.3/V1.ListAwsClustersRequest)\n- [0.1.4](/php/docs/reference/cloud-gke-multi-cloud/0.1.4/V1.ListAwsClustersRequest) \nReference documentation and code samples for the Google Anthos Multi Cloud V1 Client class ListAwsClustersRequest.\n\nRequest message for `AwsClusters.ListAwsClusters` method.\n\nGenerated from protobuf message `google.cloud.gkemulticloud.v1.ListAwsClustersRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeMultiCloud \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent location which owns this collection of\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) resources.\n\nLocation names are formatted as `projects/\u003cproject-id\u003e/locations/\u003cregion\u003e`.\nSee [Resource Names](https://cloud.google.com/apis/design/resource_names)\nfor more details on Google Cloud Platform resource names.\n\n### setParent\n\nRequired. The parent location which owns this collection of\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) resources.\n\nLocation names are formatted as `projects/\u003cproject-id\u003e/locations/\u003cregion\u003e`.\nSee [Resource Names](https://cloud.google.com/apis/design/resource_names)\nfor more details on Google Cloud Platform resource names.\n\n### getPageSize\n\nThe maximum number of items to return.\n\nIf not specified, a default value of 50 will be used by the service.\nRegardless of the pageSize value, the response can include a partial list\nand a caller should only rely on response's\n[nextPageToken](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.ListAwsClustersResponse#_Google_Cloud_GkeMultiCloud_V1_ListAwsClustersResponse__getNextPageToken__)\nto determine if there are more instances left to be queried.\n\n### setPageSize\n\nThe maximum number of items to return.\n\nIf not specified, a default value of 50 will be used by the service.\nRegardless of the pageSize value, the response can include a partial list\nand a caller should only rely on response's\n[nextPageToken](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.ListAwsClustersResponse#_Google_Cloud_GkeMultiCloud_V1_ListAwsClustersResponse__getNextPageToken__)\nto determine if there are more instances left to be queried.\n\n### getPageToken\n\nThe `nextPageToken` value returned from a previous\n[awsClusters.list](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.Client.AwsClustersClient#_Google_Cloud_GkeMultiCloud_V1_Client_AwsClustersClient__listAwsClusters__)\nrequest, if any.\n\n### setPageToken\n\nThe `nextPageToken` value returned from a previous\n[awsClusters.list](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.Client.AwsClustersClient#_Google_Cloud_GkeMultiCloud_V1_Client_AwsClustersClient__listAwsClusters__)\nrequest, if any.\n\n### static::build"]]