ml  v1
Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest Class Reference

Creates a new version of a model from a trained TensorFlow model. More...

Inheritance diagram for Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest:
Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleLongrunningOperation >

Public Member Functions

 CreateRequest (Google.Apis.Services.IClientService service, Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Version body, string parent)
 Constructs a new Create request. More...

Protected Member Functions

override object GetBody ()
 summary>Gets the method name. More...
override void InitParameters ()
 Initializes Create parameter list. More...
- Protected Member Functions inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleLongrunningOperation >
 CloudMachineLearningEngineBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new CloudMachineLearningEngineBaseServiceRequest instance. More...
override void InitParameters ()
 Initializes CloudMachineLearningEngine parameter list. More...


virtual string Parent [get]
 Required. The name of the model. More...
override string MethodName [get]
 summary>Gets the HTTP method. More...
override string HttpMethod [get]
 summary>Gets the REST path. More...
override string RestPath [get]
- Properties inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleLongrunningOperation >
virtual System.Nullable< XgafvEnum > Xgafv [get, set]
 V1 error format. More...
virtual string AccessToken [get, set]
 OAuth access token. More...
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for response. More...
virtual string Callback [get, set]
 JSONP More...
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
virtual string QuotaUser [get, set]
 Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. More...
virtual string UploadType [get, set]
 Legacy upload protocol for media (e.g. "media", "multipart"). More...
virtual string UploadProtocol [get, set]
 Upload protocol for media (e.g. "raw", "multipart"). More...

Detailed Description

Creates a new version of a model from a trained TensorFlow model.

If the version created in the cloud by this call is the first deployed version of the specified model, it will be made the default version of the model. When you add a version to a model that already has one or more versions, the default version does not automatically change. If you want a new version to be the default, you must call projects.models.versions.setDefault.

Constructor & Destructor Documentation

◆ CreateRequest()

Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest.CreateRequest ( Google.Apis.Services.IClientService  service,
Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Version  body,
string  parent 

Constructs a new Create request.

Member Function Documentation

◆ GetBody()

override object Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest.GetBody ( )

summary>Gets the method name.

◆ InitParameters()

override void Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest.InitParameters ( )

Initializes Create parameter list.

Property Documentation

◆ HttpMethod

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest.HttpMethod

summary>Gets the REST path.

◆ MethodName

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest.MethodName

summary>Gets the HTTP method.

◆ Parent

virtual string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.VersionsResource.CreateRequest.Parent

Required. The name of the model.

The documentation for this class was generated from the following file: