GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::ListMembershipsRequest (v0.11.1)

Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::ListMembershipsRequest.

Request message for GkeHubMembershipService.ListMemberships method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filter

def filter() -> ::String
Returns
  • (::String) —

    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

#filter=

def filter=(value) -> ::String
Parameter
  • 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 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

Returns
  • (::String) —

    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

#order_by

def order_by() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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
Parameter
  • value (::String) — Optional. Token returned by previous call to ListMemberships which specifies the position in the list from where to continue listing the resources.
Returns
  • (::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
Returns
  • (::String) — 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.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.