Class ListMembershipsRequest (2.0.0)

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

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
System.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
System.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
Int32

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
System.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/*.

Property Value
TypeDescription
System.String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName