Class ProjectsResource.LocationsResource.StudiesResource.TrialsResource.AddMeasurementRequest
Adds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken before the trial is complete.
Inheritance
ProjectsResource.LocationsResource.StudiesResource.TrialsResource.AddMeasurementRequest
Inherited Members
Namespace: Google.Apis.CloudMachineLearningEngine.v1
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.StudiesResource.TrialsResource.AddMeasurementRequest : CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Trial>, IClientServiceRequest<GoogleCloudMlV1Trial>, IClientServiceRequest
Constructors
AddMeasurementRequest(IClientService, GoogleCloudMlV1AddTrialMeasurementRequest, string)
Constructs a new AddMeasurement request.
Declaration
public AddMeasurementRequest(IClientService service, GoogleCloudMlV1AddTrialMeasurementRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudMlV1AddTrialMeasurementRequest | 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.GoogleCloudMlV1Trial>.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.GoogleCloudMlV1Trial>.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.GoogleCloudMlV1Trial>.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.GoogleCloudMlV1Trial>.GetBody()
InitParameters()
Initializes AddMeasurement parameter list.
Declaration
protected override void InitParameters()