Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::CreateModelRequest.
Request message for CreateModel.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#model
def model() -> ::Google::Cloud::Translate::V3::Model
Returns
- (::Google::Cloud::Translate::V3::Model) — Required. The Model to create.
#model=
def model=(value) -> ::Google::Cloud::Translate::V3::Model
Parameter
- value (::Google::Cloud::Translate::V3::Model) — Required. The Model to create.
Returns
- (::Google::Cloud::Translate::V3::Model) — Required. The Model to create.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The project name, in form of
projects/{project}/locations/{location}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The project name, in form of
projects/{project}/locations/{location}
Returns
-
(::String) — Required. The project name, in form of
projects/{project}/locations/{location}