Class OperationsResource.ListRequest
Lists service operations that match the specified filter in the request.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceManagement.v1
Assembly: Google.Apis.ServiceManagement.v1.dll
Syntax
public class OperationsResource.ListRequest : ServiceManagementBaseServiceRequest<ListOperationsResponse>, IClientServiceRequest<ListOperationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Filter
A string for filtering Operations. The following filter fields are supported: * serviceName: Required.
Only = operator is allowed. * startTime: The time this job was started, in ISO 8601 format. Allowed
operators are >=, >, <=, and <. * status: Can be done,
in_progress, or failed. Allowed operators are =, and !=. Filter expression supports conjunction
(AND) and disjunction (OR) logical operators. However, the serviceName restriction must be at the
top-level and can only be combined with other restrictions via the AND logical operator. Examples: *
serviceName={some-service}.googleapis.com * serviceName={some-service}.googleapis.com AND startTime>="2017-02-01" * serviceName={some-service}.googleapis.com AND status=done *
serviceName={some-service}.googleapis.com AND (status=done OR startTime>="2017-02-01")
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
Name
Not used.
Declaration
[RequestParameter("name", RequestParameterType.Query)]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
The maximum number of operations to return. If unspecified, defaults to 50. The maximum value is 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
The standard 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
ReturnPartialSuccess
When set to true, operations that are reachable are returned as normal, and those that are unreachable
are returned in the ListOperationsResponse.unreachable field. This can only be true when reading
across collections. For example, when parent is set to "projects/example/locations/-". This field is
not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented
otherwise in service or product specific documentation.
Declaration
[RequestParameter("returnPartialSuccess", RequestParameterType.Query)]
public virtual bool? ReturnPartialSuccess { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()