/// <summary> /// Lists operations that match the specified filter in the request. If the /// server doesn't support this method, it returns `UNIMPLEMENTED`. /// /// NOTE: the `name` binding below allows API services to override the binding /// to use different resource name schemes, such as `users/*/operations`. /// </summary> /// <param name="name"> /// The name of the operation collection. /// </param> /// <param name="filter"> /// The standard list filter. /// </param> /// <param name="pageToken"> /// The token returned from the previous request. /// A value of <c>null</c> or an empty string retrieves the first page. /// </param> /// <param name="pageSize"> /// The size of page to request. The response will not be larger than this, but may be smaller. /// A value of <c>null</c> or 0 uses a server-defined page size. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// A pageable sequence of <see cref="Operation"/> resources. /// </returns> public override IPagedEnumerable <ListOperationsResponse, Operation> ListOperations( string name, string filter, string pageToken = null, int?pageSize = null, CallSettings callSettings = null) { ListOperationsRequest request = new ListOperationsRequest { Name = name, Filter = filter, PageToken = pageToken ?? "", PageSize = pageSize ?? 0, }; Modify_ListOperationsRequest(ref request, ref callSettings); return(new PagedEnumerable <ListOperationsRequest, ListOperationsResponse, Operation>(_callListOperations, request, callSettings)); }
partial void Modify_ListOperationsRequest(ref ListOperationsRequest request, ref CallSettings settings);