Class TransferJobsResource.ListRequest
Lists transfer jobs.
Inheritance
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",...], "dataBackend":"QUERY_REPLICATION_CONFIGS",
"sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", }
The JSON formatting in the
example is for display only; provide the query parameters without spaces or line breaks. * projectId
is required. * Since jobNames
and jobStatuses
support multiple values, their values must be
specified with array notation. jobNames
and jobStatuses
are optional. Valid values are
case-insensitive: * ENABLED * DISABLED * DELETED * Specify "dataBackend":"QUERY_REPLICATION_CONFIGS"
to return a list of cross-bucket replication jobs. * Limit the results to jobs from a particular bucket
with sourceBucket
and/or to a particular bucket with sinkBucket
.
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
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()