Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class ListMembershipsRequest.
Request message for GkeHub.ListMemberships method.
Generated from protobuf message google.cloud.gkehub.v1.ListMembershipsRequest
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent (project and location) where the Memberships will be listed. Specified in the format |
↳ page_size |
int
Optional. When requesting a 'page' of resources, |
↳ page_token |
string
Optional. Token returned by previous call to |
↳ filter |
string
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Name is |
↳ order_by |
string
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering. |
getParent
Required. The parent (project and location) where the Memberships will be
listed. Specified in the format projects/*/locations/*.
projects/*/locations/- list memberships in all the regions.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent (project and location) where the Memberships will be
listed. Specified in the format projects/*/locations/*.
projects/*/locations/- list memberships in all the regions.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
Optional. When requesting a 'page' of resources, page_size specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
Optional. When requesting a 'page' of resources, page_size specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
Optional. Token returned by previous call to ListMemberships which
specifies the position in the list from where to continue listing the
resources.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
Optional. Token returned by previous call to ListMemberships which
specifies the position in the list from where to continue listing the
resources.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFilter
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
Examples:
- Name is
barin projectfoo-projand locationglobal: name = "projects/foo-proj/locations/global/membership/bar" - Memberships that have a label called
foo: labels.foo:* - Memberships that have a label called
foowhose value isbar: labels.foo = bar - Memberships in the CREATING state: state = CREATING
| Returns | |
|---|---|
| Type | Description |
string |
|
setFilter
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
Examples:
- Name is
barin projectfoo-projand locationglobal: name = "projects/foo-proj/locations/global/membership/bar" - Memberships that have a label called
foo: labels.foo:* - Memberships that have a label called
foowhose value isbar: labels.foo = bar - Memberships in the CREATING state: state = CREATING
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOrderBy
Optional. One or more fields to compare and use to sort the output.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOrderBy
Optional. One or more fields to compare and use to sort the output.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. The parent (project and location) where the Memberships will be
listed. Specified in the format |
| Returns | |
|---|---|
| Type | Description |
ListMembershipsRequest |
|