Google Cloud Gke Hub V1beta1 Client - Class ListMembershipsResponse (0.6.3)

Reference documentation and code samples for the Google Cloud Gke Hub V1beta1 Client class ListMembershipsResponse.

Response message for the GkeHubMembershipService.ListMemberships method.

Generated from protobuf message google.cloud.gkehub.v1beta1.ListMembershipsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resources array<Google\Cloud\GkeHub\V1beta1\Membership>

The list of matching Memberships.

↳ next_page_token string

A token to request the next page of resources from the ListMemberships method. The value of an empty string means that there are no more resources to return.

↳ unreachable array

List of locations that could not be reached while fetching this list.

getResources

The list of matching Memberships.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResources

The list of matching Memberships.

Parameter
NameDescription
var array<Google\Cloud\GkeHub\V1beta1\Membership>
Returns
TypeDescription
$this

getNextPageToken

A token to request the next page of resources from the ListMemberships method. The value of an empty string means that there are no more resources to return.

Returns
TypeDescription
string

setNextPageToken

A token to request the next page of resources from the ListMemberships method. The value of an empty string means that there are no more resources to return.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

List of locations that could not be reached while fetching this list.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

List of locations that could not be reached while fetching this list.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this