Class ProjectsResource.LocationsResource.StudiesResource.TrialsResource.CheckEarlyStoppingStateRequest
Checks whether a trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse.
Inheritance
ProjectsResource.LocationsResource.StudiesResource.TrialsResource.CheckEarlyStoppingStateRequest
Inherited Members
Namespace: Google.Apis.CloudMachineLearningEngine.v1
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.StudiesResource.TrialsResource.CheckEarlyStoppingStateRequest : CloudMachineLearningEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CheckEarlyStoppingStateRequest(IClientService, GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest, string)
Constructs a new CheckEarlyStoppingState request.
Declaration
public CheckEarlyStoppingStateRequest(IClientService service, GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleLongrunningOperation>.MethodName
Name
Required. The trial name.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleLongrunningOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes CheckEarlyStoppingState parameter list.
Declaration
protected override void InitParameters()