Class ProjectsResource.LocationsResource.CatalogsResource.UpdateGenerativeQuestionFeatureRequest
Manages overal generative question feature state -- enables toggling feature on and off.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.UpdateGenerativeQuestionFeatureRequest
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.UpdateGenerativeQuestionFeatureRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig>, IClientServiceRequest<GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig>, IClientServiceRequest
Constructors
UpdateGenerativeQuestionFeatureRequest(IClientService, GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig, string)
Constructs a new UpdateGenerativeQuestionFeature request.
Declaration
public UpdateGenerativeQuestionFeatureRequest(IClientService service, GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig body, string catalog)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig | body | |
string | catalog |
Properties
Catalog
Required. Resource name of the affected 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 GenerativeQuestionsFeatureConfig to update. 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 UpdateGenerativeQuestionFeature parameter list.
Declaration
protected override void InitParameters()