Class ProjectsResource.LocationsResource.BackupPlansResource.ListRequest
Lists BackupPlans in a given project and location.
Inheritance
Inherited Members
Namespace: Google.Apis.Backupdr.v1
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BackupPlansResource.ListRequest : BackupdrBaseServiceRequest<ListBackupPlansResponse>, IClientServiceRequest<ListBackupPlansResponse>, 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. Field match expression used to filter the results.
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. Field by which to sort the results.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. The maximum number of BackupPlans
to return in a single response. If not specified,
a default value will be chosen by the service. Note that the response may include a partial list
and a caller should only rely on the 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
Optional. The value of next_page_token received from a previous ListBackupPlans
call. Provide
this to retrieve the subsequent page in a multi-page list of results. When paginating, all other
parameters provided to ListBackupPlans
must match the call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The project and location for which to retrieve BackupPlans
information. Format:
projects/{project}/locations/{location}
. In Cloud BackupDR, locations map to GCP regions, for
e.g. us-central1. To retrieve backup plans for all locations, use "-" for the {location}
value.
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()