GKE Hub v1 API - Class ListMembershipsRequest (2.2.0)

public sealed class ListMembershipsRequest : IPageRequest, IMessage<ListMembershipsRequest>, IEquatable<ListMembershipsRequest>, IDeepCloneable<ListMembershipsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class ListMembershipsRequest.

Request message for GkeHub.ListMemberships method.

Inheritance

object > ListMembershipsRequest

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

ListMembershipsRequest()

public ListMembershipsRequest()

ListMembershipsRequest(ListMembershipsRequest)

public ListMembershipsRequest(ListMembershipsRequest other)
Parameter
NameDescription
otherListMembershipsRequest

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 project foo-proj and location global:

    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 is bar:

    labels.foo = bar

  • Memberships in the CREATING state:

    state = CREATING

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName