Class OperationsResource.ListRequest
Lists operations that match the specified filter in the request. Authorization requires the following
Google IAM permission: * genomics.operations.list
Inheritance
Inherited Members
Namespace: Google.Apis.Genomics.v1alpha2
Assembly: Google.Apis.Genomics.v1alpha2.dll
Syntax
public class ListRequest : GenomicsBaseServiceRequest<ListOperationsResponse>, IClientServiceRequest<ListOperationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, String)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | name |
Properties
Filter
A string for filtering Operations. In v2alpha1, the following filter fields are supported: * createTime:
The time this job was created * events: The set of event (names) that have occurred while running the
pipeline. The : operator can be used to determine if a particular event has occurred. * error: If the
pipeline is running, this value is NULL. Once the pipeline finishes, the value is the standard Google
error code. * labels.key or labels."key with space" where key is a label key. * done: If the pipeline is
running, this value is false. Once the pipeline finishes, the value is true. In v1 and v1alpha2, the
following filter fields are supported: * projectId: Required. Corresponds to
OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the
epoch. Can use &gt;=
and/or &lt;=
operators. *
status: Can be RUNNING
, SUCCESS
, FAILURE
, or CANCELED
. Only one status may be specified. *
labels.key where key is a label key. Examples: * projectId = my-project AND createTime &gt;=
1432140000
* projectId = my-project AND createTime &gt;= 1432140000 AND createTime &lt;=
1432150000 AND status = RUNNING
* projectId = my-project AND labels.color = *
* projectId =
my-project AND labels.color = red
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Name
The name of the operation's parent resource.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
PageSize
The maximum number of results to return. The maximum value is 256.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
PageToken
The standard list page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()