Class TransferOperationsResource.ListRequest
Lists transfer operations. Operations are ordered by their creation time in reverse chronological order.
Inheritance
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class TransferOperationsResource.ListRequest : StoragetransferBaseServiceRequest<ListOperationsResponse>, IClientServiceRequest<ListOperationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string name, string filter)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name | |
string | filter |
Properties
Filter
Required. A list of query parameters specified as JSON text in the form of:
{"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobNamePattern": "job_name_pattern", "operationNames":["opid1","opid2",...], "operationNamePattern": "operation_name_pattern", "minCreationTime": "min_creation_time", "maxCreationTime": "max_creation_time", "transferStatuses":["status1","status2",...]}
Since jobNames
, operationNames
, and
transferStatuses
support multiple values, they must be specified with array notation. projectId
is
the only argument that is required. If specified, jobNamePattern
and operationNamePattern
must match
the full job or operation name respectively. '*' is a wildcard matching 0 or more characters.
minCreationTime
and maxCreationTime
should be timestamps encoded as a string in the RFC
3339 format. The valid values for transferStatuses
are
case-insensitive: IN_PROGRESS, PAUSED, SUCCESS, FAILED, and ABORTED.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; }
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
Name
Required. The name of the type being listed; must be transferOperations
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
The list page size. The max allowed value is 256.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The list page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
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()