Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.PauseRequest
Pauses the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.PauseRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.PauseRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaEngine>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaEngine>, IClientServiceRequest
Constructors
PauseRequest(IClientService, GoogleCloudDiscoveryengineV1alphaPauseEngineRequest, string)
Constructs a new Pause request.
Declaration
public PauseRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaPauseEngineRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1alphaPauseEngineRequest | 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. The name of the engine to pause. Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Pause parameter list.
Declaration
protected override void InitParameters()