Class TransferJobsResource.ListRequest
Lists transfer jobs.
Inheritance
TransferJobsResource.ListRequest
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class TransferJobsResource.ListRequest : StoragetransferBaseServiceRequest<ListTransferJobsResponse>, IClientServiceRequest<ListTransferJobsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string filter)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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",...], "jobStatuses":["status1","status2",...]}
Since jobNames
and jobStatuses
support multiple values,
their values must be specified with array notation. projectId
is required. jobNames
and
jobStatuses
are optional. The valid values for jobStatuses
are case-insensitive: ENABLED, DISABLED,
and DELETED.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storagetransfer.v1.Data.ListTransferJobsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storagetransfer.v1.Data.ListTransferJobsResponse>.MethodName
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storagetransfer.v1.Data.ListTransferJobsResponse>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()