Class: Google::Cloud::GkeHub::V1beta1::ListMembershipsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1beta1/membership.rb

Overview

Request message for GkeHubMembershipService.ListMemberships method.

Instance Attribute Summary collapse

Instance Attribute Details

#filter::String

Returns 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



530
531
532
533
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 530

class ListMembershipsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#order_by::String

Returns Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

Returns:



530
531
532
533
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 530

class ListMembershipsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_size::Integer

Returns 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.



530
531
532
533
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 530

class ListMembershipsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_token::String

Returns 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.



530
531
532
533
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 530

class ListMembershipsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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.



530
531
532
533
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 530

class ListMembershipsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end