public sealed class ListMembershipsRequest : IPageRequest, IMessage<ListMembershipsRequest>, IEquatable<ListMembershipsRequest>, IDeepCloneable<ListMembershipsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1beta1 API class ListMembershipsRequest.
Request message for GkeHubMembershipService.ListMemberships
method.
Implements
IPageRequest, IMessageListMembershipsRequest, IEquatableListMembershipsRequest, IDeepCloneableListMembershipsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.GkeHub.V1Beta1Assembly
Google.Cloud.GkeHub.V1Beta1.dll
Constructors
ListMembershipsRequest()
public ListMembershipsRequest()
ListMembershipsRequest(ListMembershipsRequest)
public ListMembershipsRequest(ListMembershipsRequest other)
Parameter | |
---|---|
Name | Description |
other | ListMembershipsRequest |
Properties
Filter
public string Filter { get; set; }
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
Property Value | |
---|---|
Type | Description |
string |
OrderBy
public string OrderBy { get; set; }
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
Property Value | |
---|---|
Type | Description |
string |
PageSize
public int PageSize { get; set; }
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.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
Optional. Token returned by previous call to ListMemberships
which
specifies the position in the list from where to continue listing the
resources.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |