Class ProjectsResource.LocationsResource.ScopesResource.ListMembershipsRequest
Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.
Inheritance
Inherited Members
Namespace: Google.Apis.GKEHub.v1beta
Assembly: Google.Apis.GKEHub.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.ScopesResource.ListMembershipsRequest : GKEHubBaseServiceRequest<ListBoundMembershipsResponse>, IClientServiceRequest<ListBoundMembershipsResponse>, IClientServiceRequest
Constructors
ListMembershipsRequest(IClientService, string)
Constructs a new ListMemberships request.
Declaration
public ListMembershipsRequest(IClientService service, string scopeName)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | scopeName |
Properties
Filter
Optional. Lists Memberships that match the filter expression, following the syntax outlined in
https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's name,
labels, create_time, update_time, and unique_id.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageSize
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. Pagination is currently not
supported; therefore, setting this field does not have any impact for now.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. Token returned by previous call to ListBoundMemberships which specifies the position
in the list from where to continue listing the resources.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ScopeName
Required. Name of the Scope, in the format projects/*/locations/global/scopes/*, to which the
Memberships are bound.
Declaration
[RequestParameter("scopeName", RequestParameterType.Path)]
public virtual string ScopeName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes ListMemberships parameter list.
Declaration
protected override void InitParameters()