Class ClaimsResource.SearchRequest
Search through fact-checked claims.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.FactCheckTools.v1alpha1
Assembly: Google.Apis.FactCheckTools.v1alpha1.dll
Syntax
public class ClaimsResource.SearchRequest : FactCheckToolsBaseServiceRequest<GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse>, IClientServiceRequest<GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCode
The BCP-47 language code, such as "en-US" or "sr-Latn". Can be used to restrict results by language, though we do not currently consider the region.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxAgeDays
The maximum age of the returned search results, in days. Age is determined by either claim date or review date, whichever is newer.
Declaration
[RequestParameter("maxAgeDays", RequestParameterType.Query)]
public virtual int? MaxAgeDays { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Offset
An integer that specifies the current offset (that is, starting result location) in search results. This
field is only considered if page_token
is unset. For example, 0 means to return results starting from
the first matching result, and 10 means to return from the 11th result.
Declaration
[RequestParameter("offset", RequestParameterType.Query)]
public virtual int? Offset { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageSize
The pagination size. We will return up to that many results. Defaults to 10 if not set.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The pagination token. You may provide the next_page_token
returned from a previous List request, if
any, in order to get the next page. All other fields must have the same values as in the previous
request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Query
Textual query string. Required unless review_publisher_site_filter
is specified.
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ReviewPublisherSiteFilter
The review publisher site to filter results by, e.g. nytimes.com.
Declaration
[RequestParameter("reviewPublisherSiteFilter", RequestParameterType.Query)]
public virtual string ReviewPublisherSiteFilter { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()