Class ProjectsResource.LocationsResource.InstancesResource.ListRequest
Lists Instances in a given location.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudMemorystoreforMemcached.v1beta2
Assembly: Google.Apis.CloudMemorystoreforMemcached.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.ListRequest : CloudMemorystoreforMemcachedBaseServiceRequest<ListInstancesResponse>, IClientServiceRequest<ListInstancesResponse>, 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
List filter. For example, exclude all Memcached instances with name as my-instance by specifying
"name != my-instance"
.
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
Sort results. Supported values are "name", "name desc" or "" (unsorted).
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
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 instances
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 List 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 instance 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()