
.TH "GCLOUD_AI\-PLATFORM_MODELS_CREATE" 1



.SH "NAME"
.HP
gcloud ai\-platform models create \- create a new AI Platform model



.SH "SYNOPSIS"
.HP
\f5gcloud ai\-platform models create\fR \fIMODEL\fR [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-enable\-logging\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-region\fR=\fIREGION\fR\ |\ \fB\-\-regions\fR=\fIREGION\fR,[\fIREGION\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Create a new AI Platform model.



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fIMODEL\fR

Name of the model.


.RE
.sp

.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR

Description of the model.

.TP 2m
\fB\-\-enable\-logging\fR

If set, enables StackDriver Logging for online prediction. These logs are like
standard server access logs, containing information such as timestamps and
latency for each request.

.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]

List of label KEY=VALUE pairs to add.

Keys must start with a lowercase character and contain only hyphens (\f5\-\fR),
underscores (\f5_\fR), lowercase characters, and numbers. Values must contain
only hyphens (\f5\-\fR), underscores (\f5_\fR), lowercase characters, and
numbers.

.TP 2m

At most one of these can be specified:


.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION\fR

Google Cloud region of the regional endpoint to use for this command.

If you specify this flag, do not specify \f5\-\-regions\fR.

If you specify \f5\-\-region=global\fR, the model will be deployed to
\'us\-central1' by default using the global endpoint. Please use
\f5\-\-regions\fR only if you want to change the region where the model will be
deployed against the global endpoint.

If both flags are unspecified and you don't set \f5\fIai_platform/region\fR\fR,
you will be prompted for region of the regional endpoint.

Learn more about regional endpoints and see a list of available regions:
https://cloud.google.com/ai\-platform/prediction/docs/regional\-endpoints

\fIREGION\fR must be one of: \fBglobal\fR, \fBasia\-east1\fR,
\fBasia\-northeast1\fR, \fBasia\-southeast1\fR, \fBaustralia\-southeast1\fR,
\fBeurope\-west1\fR, \fBeurope\-west2\fR, \fBeurope\-west3\fR,
\fBeurope\-west4\fR, \fBnorthamerica\-northeast1\fR, \fBus\-central1\fR,
\fBus\-east1\fR, \fBus\-east4\fR, \fBus\-west1\fR.

.TP 2m
\fB\-\-regions\fR=\fIREGION\fR,[\fIREGION\fR,...]

The Google Cloud region where the model will be deployed (currently only a
single region is supported) against the global endpoint.

If you specify this flag, do not specify \f5\-\-region\fR.

Defaults to 'us\-central1' while using the global endpoint.


.RE
.RE
.sp

.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.

Run \fB$ gcloud help\fR for details.



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha ai\-platform models create
.RE

.RS 2m
$ gcloud beta ai\-platform models create
.RE


