Class ProjectsResource.LocationsResource.MembershipsResource.ListRequest
Lists Memberships in a given project and location.
Inheritance
Inherited Members
Namespace: Google.Apis.GKEHub.v1alpha2
Assembly: Google.Apis.GKEHub.v1alpha2.dll
Syntax
public class ProjectsResource.LocationsResource.MembershipsResource.ListRequest : GKEHubBaseServiceRequest<ListMembershipsResponse>, IClientServiceRequest<ListMembershipsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
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
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
OrderBy
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. Token returned by previous call to ListMemberships
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 |
Parent
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.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()