Class ProjectsResource.LocationsResource.FeaturesResource.ListRequest
Lists Features in a given project and location.
Inheritance
Inherited Members
Namespace: Google.Apis.GKEHub.v1alpha
Assembly: Google.Apis.GKEHub.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.FeaturesResource.ListRequest : GKEHubBaseServiceRequest<ListFeaturesResponse>, IClientServiceRequest<ListFeaturesResponse>, 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
Lists Features that match the filter expression, following the syntax outlined in
https://google.aip.dev/160. Examples: - Feature with the name "servicemesh" in project
"foo-proj": name = "projects/foo-proj/locations/global/features/servicemesh" - Features that
have a label called foo
: labels.foo:* - Features that have a label called foo
whose value is
bar
: labels.foo = bar
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
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
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
Token returned by previous call to ListFeatures
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 Features will be listed. Specified in the
format projects/*/locations/*
.
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
ReturnPartialSuccess
Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.
Declaration
[RequestParameter("returnPartialSuccess", RequestParameterType.Query)]
public virtual bool? ReturnPartialSuccess { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()