Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::ListMembershipsRequest.
Request message for GkeHub.ListMemberships
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String
-
(::String) —
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
Examples:
Name is
bar
in projectfoo-proj
and locationglobal
:name = "projects/foo-proj/locations/global/membership/bar"
Memberships that have a label called
foo
:labels.foo:*
Memberships that have a label called
foo
whose value isbar
:labels.foo = bar
Memberships in the CREATING state:
state = CREATING
#filter=
def filter=(value) -> ::String
-
value (::String) —
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
Examples:
Name is
bar
in projectfoo-proj
and locationglobal
:name = "projects/foo-proj/locations/global/membership/bar"
Memberships that have a label called
foo
:labels.foo:*
Memberships that have a label called
foo
whose value isbar
:labels.foo = bar
Memberships in the CREATING state:
state = CREATING
-
(::String) —
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
Examples:
Name is
bar
in projectfoo-proj
and locationglobal
:name = "projects/foo-proj/locations/global/membership/bar"
Memberships that have a label called
foo
:labels.foo:*
Memberships that have a label called
foo
whose value isbar
:labels.foo = bar
Memberships in the CREATING state:
state = CREATING
#order_by
def order_by() -> ::String
- (::String) — Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
#order_by=
def order_by=(value) -> ::String
- value (::String) — Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
- (::String) — Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
#page_size
def page_size() -> ::Integer
-
(::Integer) — 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.
#page_size=
def page_size=(value) -> ::Integer
-
value (::Integer) — 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.
-
(::Integer) — 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.
#page_token
def page_token() -> ::String
-
(::String) — Optional. Token returned by previous call to
ListMemberships
which specifies the position in the list from where to continue listing the resources.
#page_token=
def page_token=(value) -> ::String
-
value (::String) — Optional. Token returned by previous call to
ListMemberships
which specifies the position in the list from where to continue listing the resources.
-
(::String) — Optional. Token returned by previous call to
ListMemberships
which specifies the position in the list from where to continue listing the resources.
#parent
def parent() -> ::String
-
(::String) — Required. The parent (project and location) where the Memberships will be listed.
Specified in the format
projects/*/locations/*
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The parent (project and location) where the Memberships will be listed.
Specified in the format
projects/*/locations/*
.
-
(::String) — Required. The parent (project and location) where the Memberships will be listed.
Specified in the format
projects/*/locations/*
.