Class ProjectsResource.LocationsResource.CatalogsResource.ServingConfigsResource.RemoveControlRequest
Disables a Control on the specified ServingConfig. The control is removed from the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for the ServingConfig.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.ServingConfigsResource.RemoveControlRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.ServingConfigsResource.RemoveControlRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaServingConfig>, IClientServiceRequest<GoogleCloudRetailV2alphaServingConfig>, IClientServiceRequest
Constructors
RemoveControlRequest(IClientService, GoogleCloudRetailV2alphaRemoveControlRequest, string)
Constructs a new RemoveControl request.
Declaration
public RemoveControlRequest(IClientService service, GoogleCloudRetailV2alphaRemoveControlRequest body, string servingConfig)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2alphaRemoveControlRequest | body | |
string | servingConfig |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ServingConfig
Required. The source ServingConfig resource name . Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
Declaration
[RequestParameter("servingConfig", RequestParameterType.Path)]
public virtual string ServingConfig { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes RemoveControl parameter list.
Declaration
protected override void InitParameters()