Class BackupsResource.ListBackupsRequest
Lists all backups associated with the project.
Inheritance
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1
Assembly: Google.Apis.SQLAdmin.v1.dll
Syntax
public class BackupsResource.ListBackupsRequest : SQLAdminBaseServiceRequest<ListBackupsResponse>, IClientServiceRequest<ListBackupsResponse>, IClientServiceRequest
Constructors
ListBackupsRequest(IClientService, string)
Constructs a new ListBackups request.
Declaration
public ListBackupsRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service | |
string | parent |
Properties
Filter
Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
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
PageSize
The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A page token, received from a previous ListBackups
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups
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 parent that owns this collection of backups. Format: projects/{project}
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 ListBackups parameter list.
Declaration
protected override void InitParameters()