Class ProjectsResource.LocationsResource.StudiesResource.TrialsResource.CreateRequest
Adds a user provided trial to a study.
Inheritance
ProjectsResource.LocationsResource.StudiesResource.TrialsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudMachineLearningEngine.v1
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.StudiesResource.TrialsResource.CreateRequest : CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Trial>, IClientServiceRequest<GoogleCloudMlV1Trial>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudMlV1Trial, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudMlV1Trial body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudMlV1Trial | body | |
string | parent |
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
Parent
Required. The name of the study that the trial belongs to.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 Create parameter list.
Declaration
protected override void InitParameters()