Class LocationsResource.QuestionsResource.PatchRequest
Updates a specific question written by the current user.
Inheritance
LocationsResource.QuestionsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.MyBusinessQA.v1
Assembly: Google.Apis.MyBusinessQA.v1.dll
Syntax
public class LocationsResource.QuestionsResource.PatchRequest : MyBusinessQABaseServiceRequest<Question>, IClientServiceRequest<Question>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Question, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Question body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Question | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessQA.v1.Data.Question>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessQA.v1.Data.Question>.MethodName
Name
Immutable. The unique name for the question. locations//questions/ This field will be ignored if set during question creation.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessQA.v1.Data.Question>.RestPath
UpdateMask
Required. The specific fields to update. Only question text can be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessQA.v1.Data.Question>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()