Class ProjectsResource.LocationsResource.CatalogsResource.UpdateGenerativeQuestionRequest
Allows management of individual questions.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.UpdateGenerativeQuestionRequest
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.UpdateGenerativeQuestionRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2betaGenerativeQuestionConfig>, IClientServiceRequest<GoogleCloudRetailV2betaGenerativeQuestionConfig>, IClientServiceRequest
Constructors
UpdateGenerativeQuestionRequest(IClientService, GoogleCloudRetailV2betaGenerativeQuestionConfig, string)
Constructs a new UpdateGenerativeQuestion request.
Declaration
public UpdateGenerativeQuestionRequest(IClientService service, GoogleCloudRetailV2betaGenerativeQuestionConfig body, string catalog)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2betaGenerativeQuestionConfig | body | |
string | catalog |
Properties
Catalog
Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
Declaration
[RequestParameter("catalog", RequestParameterType.Path)]
public virtual string Catalog { get; }
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported: * GenerativeQuestionConfig.frequency If not set or empty, all supported fields are 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
InitParameters()
Initializes UpdateGenerativeQuestion parameter list.
Declaration
protected override void InitParameters()