Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class ListFeaturesRequest.
Request message for GkeHub.ListFeatures
method.
Generated from protobuf message google.cloud.gkehub.v1.ListFeaturesRequest
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*
.
↳ page_size
int
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.
↳ page_token
string
Token returned by previous call to ListFeatures
which specifies the position in the list from where to continue listing the resources.
↳ filter
string
Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160
. Examples: - Feature with the name "servicemesh" in project "foo-proj": name = "projects/foo-proj/locations/global/features/servicemesh" - Features that have a label called foo
: labels.foo:* - Features that have a label called foo
whose value is bar
: labels.foo = bar
↳ order_by
string
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 Features will be listed.
Specified in the format projects/*/locations/*
.
string
setParent
Required. The parent (project and location) where the Features will be listed.
Specified in the format projects/*/locations/*
.
var
string
$this
getPageSize
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.
int
setPageSize
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.
var
int
$this
getPageToken
Token returned by previous call to ListFeatures
which
specifies the position in the list from where to continue listing the
resources.
string
setPageToken
Token returned by previous call to ListFeatures
which
specifies the position in the list from where to continue listing the
resources.
var
string
$this
getFilter
Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160 .
Examples:
- Feature with the name "servicemesh" in project "foo-proj": name = "projects/foo-proj/locations/global/features/servicemesh"
- Features that have a label called
foo
: labels.foo:* - Features that have a label called
foo
whose value isbar
: labels.foo = bar
string
setFilter
Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160 .
Examples:
- Feature with the name "servicemesh" in project "foo-proj": name = "projects/foo-proj/locations/global/features/servicemesh"
- Features that have a label called
foo
: labels.foo:* - Features that have a label called
foo
whose value isbar
: labels.foo = bar
var
string
$this
getOrderBy
One or more fields to compare and use to sort the output.
string
setOrderBy
One or more fields to compare and use to sort the output.
var
string
$this
static::build
parent
string
Required. The parent (project and location) where the Features will be listed.
Specified in the format projects/*/locations/*
.