Class PagesResource.UpdateRequest
Update for all ClaimReview
markup on a page Note that this is a full update. To retain the existing
ClaimReview
markup on a page, first perform a Get operation, then modify the returned markup, and finally
call Update with the entire ClaimReview
markup as the body.
Inheritance
PagesResource.UpdateRequest
Implements
Inherited Members
Namespace: Google.Apis.FactCheckTools.v1alpha1
Assembly: Google.Apis.FactCheckTools.v1alpha1.dll
Syntax
public class PagesResource.UpdateRequest : FactCheckToolsBaseServiceRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>, IClientServiceRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage | body | |
string | name |
Properties
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
The name of this ClaimReview
markup page resource, in the form of pages/{page_id}
. Except for update
requests, this field is output-only and should not be set by the user.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()