Class ProjectsResource.LocationsResource.CatalogsResource.UpdateCompletionConfigRequest
Updates the CompletionConfigs.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.UpdateCompletionConfigRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.UpdateCompletionConfigRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaCompletionConfig>, IClientServiceRequest<GoogleCloudRetailV2alphaCompletionConfig>, IClientServiceRequest
Constructors
UpdateCompletionConfigRequest(IClientService, GoogleCloudRetailV2alphaCompletionConfig, string)
Constructs a new UpdateCompletionConfig request.
Declaration
public UpdateCompletionConfigRequest(IClientService service, GoogleCloudRetailV2alphaCompletionConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2alphaCompletionConfig | 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
Required. Immutable. Fully qualified name projects/*/locations/*/catalogs/*/completionConfig
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
UpdateMask
Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, 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 UpdateCompletionConfig parameter list.
Declaration
protected override void InitParameters()