Class ProjectsResource.LocationsResource.ClustersResource.ListRequest
Lists all Redis clusters owned by a project in either the specified location (region) or all
locations. The location should have the following format: *
projects/{project_id}/locations/{location_id}
If location_id
is specified as -
(wildcard),
then all regions available to the project are queried, and the results are aggregated.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRedis.v1
Assembly: Google.Apis.CloudRedis.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.ListRequest : CloudRedisBaseServiceRequest<ListClustersResponse>, IClientServiceRequest<ListClustersResponse>, 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
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
The maximum number of items to return. If not specified, a default value of 1000 will be used by
the service. Regardless of the page_size value, the response may include a partial list and a
caller should only rely on response's next_page_token
to determine if there are more clusters
left to be queried.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The next_page_token
value returned from a previous ListClusters request, if any.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The resource name of the cluster location using the form:
projects/{project_id}/locations/{location_id}
where location_id
refers to a GCP region.
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()