Home | History | Annotate | Download | only in dyn
      1 <html><body>
      2 <style>
      3 
      4 body, h1, h2, h3, div, span, p, pre, a {
      5   margin: 0;
      6   padding: 0;
      7   border: 0;
      8   font-weight: inherit;
      9   font-style: inherit;
     10   font-size: 100%;
     11   font-family: inherit;
     12   vertical-align: baseline;
     13 }
     14 
     15 body {
     16   font-size: 13px;
     17   padding: 1em;
     18 }
     19 
     20 h1 {
     21   font-size: 26px;
     22   margin-bottom: 1em;
     23 }
     24 
     25 h2 {
     26   font-size: 24px;
     27   margin-bottom: 1em;
     28 }
     29 
     30 h3 {
     31   font-size: 20px;
     32   margin-bottom: 1em;
     33   margin-top: 1em;
     34 }
     35 
     36 pre, code {
     37   line-height: 1.5;
     38   font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
     39 }
     40 
     41 pre {
     42   margin-top: 0.5em;
     43 }
     44 
     45 h1, h2, h3, p {
     46   font-family: Arial, sans serif;
     47 }
     48 
     49 h1, h2, h3 {
     50   border-bottom: solid #CCC 1px;
     51 }
     52 
     53 .toc_element {
     54   margin-top: 0.5em;
     55 }
     56 
     57 .firstline {
     58   margin-left: 2 em;
     59 }
     60 
     61 .method  {
     62   margin-top: 1em;
     63   border: solid 1px #CCC;
     64   padding: 1em;
     65   background: #EEE;
     66 }
     67 
     68 .details {
     69   font-weight: bold;
     70   font-size: 14px;
     71 }
     72 
     73 </style>
     74 
     75 <h1><a href="ml_v1.html">Google Cloud Machine Learning Engine</a> . <a href="ml_v1.projects.html">projects</a> . <a href="ml_v1.projects.jobs.html">jobs</a></h1>
     76 <h2>Instance Methods</h2>
     77 <p class="toc_element">
     78   <code><a href="#cancel">cancel(name, body, x__xgafv=None)</a></code></p>
     79 <p class="firstline">Cancels a running job.</p>
     80 <p class="toc_element">
     81   <code><a href="#create">create(parent, body, x__xgafv=None)</a></code></p>
     82 <p class="firstline">Creates a training or a batch prediction job.</p>
     83 <p class="toc_element">
     84   <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
     85 <p class="firstline">Describes a job.</p>
     86 <p class="toc_element">
     87   <code><a href="#list">list(parent, pageSize=None, filter=None, pageToken=None, x__xgafv=None)</a></code></p>
     88 <p class="firstline">Lists the jobs in the project.</p>
     89 <p class="toc_element">
     90   <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
     91 <p class="firstline">Retrieves the next page of results.</p>
     92 <h3>Method Details</h3>
     93 <div class="method">
     94     <code class="details" id="cancel">cancel(name, body, x__xgafv=None)</code>
     95   <pre>Cancels a running job.
     96 
     97 Args:
     98   name: string, Required. The name of the job to cancel.
     99 
    100 Authorization: requires `Editor` role on the parent project. (required)
    101   body: object, The request body. (required)
    102     The object takes the form of:
    103 
    104 { # Request message for the CancelJob method.
    105   }
    106 
    107   x__xgafv: string, V1 error format.
    108     Allowed values
    109       1 - v1 error format
    110       2 - v2 error format
    111 
    112 Returns:
    113   An object of the form:
    114 
    115     { # A generic empty message that you can re-use to avoid defining duplicated
    116       # empty messages in your APIs. A typical example is to use it as the request
    117       # or the response type of an API method. For instance:
    118       #
    119       #     service Foo {
    120       #       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
    121       #     }
    122       #
    123       # The JSON representation for `Empty` is empty JSON object `{}`.
    124   }</pre>
    125 </div>
    126 
    127 <div class="method">
    128     <code class="details" id="create">create(parent, body, x__xgafv=None)</code>
    129   <pre>Creates a training or a batch prediction job.
    130 
    131 Args:
    132   parent: string, Required. The project name.
    133 
    134 Authorization: requires `Editor` role on the specified project. (required)
    135   body: object, The request body. (required)
    136     The object takes the form of:
    137 
    138 { # Represents a training or prediction job.
    139     "trainingOutput": { # Represents results of a training job. Output only. # The current training job result.
    140       "trials": [ # Results for individual Hyperparameter trials.
    141           # Only set for hyperparameter tuning jobs.
    142         { # Represents the result of a single hyperparameter tuning trial from a
    143             # training job. The TrainingOutput object that is returned on successful
    144             # completion of a training job with hyperparameter tuning includes a list
    145             # of HyperparameterOutput objects, one for each successful trial.
    146           "hyperparameters": { # The hyperparameters given to this trial.
    147             "a_key": "A String",
    148           },
    149           "trialId": "A String", # The trial id for these results.
    150           "allMetrics": [ # All recorded object metrics for this trial.
    151             { # An observed value of a metric.
    152               "trainingStep": "A String", # The global training step for this metric.
    153               "objectiveValue": 3.14, # The objective value at this training step.
    154             },
    155           ],
    156           "finalMetric": { # An observed value of a metric. # The final objective metric seen for this trial.
    157             "trainingStep": "A String", # The global training step for this metric.
    158             "objectiveValue": 3.14, # The objective value at this training step.
    159           },
    160         },
    161       ],
    162       "isHyperparameterTuningJob": True or False, # Whether this job is a hyperparameter tuning job.
    163       "consumedMLUnits": 3.14, # The amount of ML units consumed by the job.
    164       "completedTrialCount": "A String", # The number of hyperparameter tuning trials that completed successfully.
    165           # Only set for hyperparameter tuning jobs.
    166     },
    167     "trainingInput": { # Represents input parameters for a training job. # Input parameters to create a training job.
    168       "workerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    169           # job's worker nodes.
    170           #
    171           # The supported values are the same as those described in the entry for
    172           # `masterType`.
    173           #
    174           # This value must be present when `scaleTier` is set to `CUSTOM` and
    175           # `workerCount` is greater than zero.
    176       "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for training.  If not
    177           # set, Google Cloud ML will choose the latest stable version.
    178       "scaleTier": "A String", # Required. Specifies the machine types, the number of replicas for workers
    179           # and parameter servers.
    180       "masterType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    181           # job's master worker.
    182           #
    183           # The following types are supported:
    184           #
    185           # <dl>
    186           #   <dt>standard</dt>
    187           #   <dd>
    188           #   A basic machine configuration suitable for training simple models with
    189           #   small to moderate datasets.
    190           #   </dd>
    191           #   <dt>large_model</dt>
    192           #   <dd>
    193           #   A machine with a lot of memory, specially suited for parameter servers
    194           #   when your model is large (having many hidden layers or layers with very
    195           #   large numbers of nodes).
    196           #   </dd>
    197           #   <dt>complex_model_s</dt>
    198           #   <dd>
    199           #   A machine suitable for the master and workers of the cluster when your
    200           #   model requires more computation than the standard machine can handle
    201           #   satisfactorily.
    202           #   </dd>
    203           #   <dt>complex_model_m</dt>
    204           #   <dd>
    205           #   A machine with roughly twice the number of cores and roughly double the
    206           #   memory of <code suppresswarning="true">complex_model_s</code>.
    207           #   </dd>
    208           #   <dt>complex_model_l</dt>
    209           #   <dd>
    210           #   A machine with roughly twice the number of cores and roughly double the
    211           #   memory of <code suppresswarning="true">complex_model_m</code>.
    212           #   </dd>
    213           #   <dt>standard_gpu</dt>
    214           #   <dd>
    215           #   A machine equivalent to <code suppresswarning="true">standard</code> that
    216           #   also includes a
    217           #   <a href="/ml-engine/docs/how-tos/using-gpus">
    218           #   GPU that you can use in your trainer</a>.
    219           #   </dd>
    220           #   <dt>complex_model_m_gpu</dt>
    221           #   <dd>
    222           #   A machine equivalent to
    223           #   <code suppresswarning="true">complex_model_m</code> that also includes
    224           #   four GPUs.
    225           #   </dd>
    226           # </dl>
    227           #
    228           # You must set this value when `scaleTier` is set to `CUSTOM`.
    229       "hyperparameters": { # Represents a set of hyperparameters to optimize. # Optional. The set of Hyperparameters to tune.
    230         "maxTrials": 42, # Optional. How many training trials should be attempted to optimize
    231             # the specified hyperparameters.
    232             #
    233             # Defaults to one.
    234         "hyperparameterMetricTag": "A String", # Optional. The Tensorflow summary tag name to use for optimizing trials. For
    235             # current versions of Tensorflow, this tag name should exactly match what is
    236             # shown in Tensorboard, including all scopes.  For versions of Tensorflow
    237             # prior to 0.12, this should be only the tag passed to tf.Summary.
    238             # By default, "training/hptuning/metric" will be used.
    239         "params": [ # Required. The set of parameters to tune.
    240           { # Represents a single hyperparameter to optimize.
    241             "maxValue": 3.14, # Required if typeis `DOUBLE` or `INTEGER`. This field
    242                 # should be unset if type is `CATEGORICAL`. This value should be integers if
    243                 # type is `INTEGER`.
    244             "categoricalValues": [ # Required if type is `CATEGORICAL`. The list of possible categories.
    245               "A String",
    246             ],
    247             "discreteValues": [ # Required if type is `DISCRETE`.
    248                 # A list of feasible points.
    249                 # The list should be in strictly increasing order. For instance, this
    250                 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
    251                 # should not contain more than 1,000 values.
    252               3.14,
    253             ],
    254             "parameterName": "A String", # Required. The parameter name must be unique amongst all ParameterConfigs in
    255                 # a HyperparameterSpec message. E.g., "learning_rate".
    256             "minValue": 3.14, # Required if type is `DOUBLE` or `INTEGER`. This field
    257                 # should be unset if type is `CATEGORICAL`. This value should be integers if
    258                 # type is INTEGER.
    259             "type": "A String", # Required. The type of the parameter.
    260             "scaleType": "A String", # Optional. How the parameter should be scaled to the hypercube.
    261                 # Leave unset for categorical parameters.
    262                 # Some kind of scaling is strongly recommended for real or integral
    263                 # parameters (e.g., `UNIT_LINEAR_SCALE`).
    264           },
    265         ],
    266         "goal": "A String", # Required. The type of goal to use for tuning. Available types are
    267             # `MAXIMIZE` and `MINIMIZE`.
    268             #
    269             # Defaults to `MAXIMIZE`.
    270         "maxParallelTrials": 42, # Optional. The number of training trials to run concurrently.
    271             # You can reduce the time it takes to perform hyperparameter tuning by adding
    272             # trials in parallel. However, each trail only benefits from the information
    273             # gained in completed trials. That means that a trial does not get access to
    274             # the results of trials running at the same time, which could reduce the
    275             # quality of the overall optimization.
    276             #
    277             # Each trial will use the same scale tier and machine types.
    278             #
    279             # Defaults to one.
    280       },
    281       "region": "A String", # Required. The Google Compute Engine region to run the training job in.
    282       "args": [ # Optional. Command line arguments to pass to the program.
    283         "A String",
    284       ],
    285       "pythonModule": "A String", # Required. The Python module name to run after installing the packages.
    286       "jobDir": "A String", # Optional. A Google Cloud Storage path in which to store training outputs
    287           # and other data needed for training. This path is passed to your TensorFlow
    288           # program as the 'job_dir' command-line argument. The benefit of specifying
    289           # this field is that Cloud ML validates the path for use in training.
    290       "packageUris": [ # Required. The Google Cloud Storage location of the packages with
    291           # the training program and any additional dependencies.
    292           # The maximum number of package URIs is 100.
    293         "A String",
    294       ],
    295       "workerCount": "A String", # Optional. The number of worker replicas to use for the training job. Each
    296           # replica in the cluster will be of the type specified in `worker_type`.
    297           #
    298           # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
    299           # set this value, you must also set `worker_type`.
    300       "parameterServerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    301           # job's parameter server.
    302           #
    303           # The supported values are the same as those described in the entry for
    304           # `master_type`.
    305           #
    306           # This value must be present when `scaleTier` is set to `CUSTOM` and
    307           # `parameter_server_count` is greater than zero.
    308       "parameterServerCount": "A String", # Optional. The number of parameter server replicas to use for the training
    309           # job. Each replica in the cluster will be of the type specified in
    310           # `parameter_server_type`.
    311           #
    312           # This value can only be used when `scale_tier` is set to `CUSTOM`.If you
    313           # set this value, you must also set `parameter_server_type`.
    314     },
    315     "predictionInput": { # Represents input parameters for a prediction job. # Input parameters to create a prediction job.
    316       "modelName": "A String", # Use this field if you want to use the default version for the specified
    317           # model. The string must use the following format:
    318           #
    319           # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"`
    320       "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this batch
    321           # prediction. If not set, Google Cloud ML will pick the runtime version used
    322           # during the CreateVersion request for this model version, or choose the
    323           # latest stable version when model version information is not available
    324           # such as when the model is specified by uri.
    325       "region": "A String", # Required. The Google Compute Engine region to run the prediction job in.
    326       "maxWorkerCount": "A String", # Optional. The maximum number of workers to be used for parallel processing.
    327           # Defaults to 10 if not specified.
    328       "uri": "A String", # Use this field if you want to specify a Google Cloud Storage path for
    329           # the model to use.
    330       "outputPath": "A String", # Required. The output Google Cloud Storage location.
    331       "dataFormat": "A String", # Required. The format of the input data files.
    332       "versionName": "A String", # Use this field if you want to specify a version of the model to use. The
    333           # string is formatted the same way as `model_version`, with the addition
    334           # of the version information:
    335           #
    336           # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>"`
    337       "inputPaths": [ # Required. The Google Cloud Storage location of the input data files.
    338           # May contain wildcards.
    339         "A String",
    340       ],
    341     },
    342     "errorMessage": "A String", # Output only. The details of a failure or a cancellation.
    343     "jobId": "A String", # Required. The user-specified id of the job.
    344     "state": "A String", # Output only. The detailed state of a job.
    345     "startTime": "A String", # Output only. When the job processing was started.
    346     "endTime": "A String", # Output only. When the job processing was completed.
    347     "predictionOutput": { # Represents results of a prediction job. # The current prediction job result.
    348       "outputPath": "A String", # The output Google Cloud Storage location provided at the job creation time.
    349       "nodeHours": 3.14, # Node hours used by the batch prediction job.
    350       "predictionCount": "A String", # The number of generated predictions.
    351       "errorCount": "A String", # The number of data instances which resulted in errors.
    352     },
    353     "createTime": "A String", # Output only. When the job was created.
    354   }
    355 
    356   x__xgafv: string, V1 error format.
    357     Allowed values
    358       1 - v1 error format
    359       2 - v2 error format
    360 
    361 Returns:
    362   An object of the form:
    363 
    364     { # Represents a training or prediction job.
    365       "trainingOutput": { # Represents results of a training job. Output only. # The current training job result.
    366         "trials": [ # Results for individual Hyperparameter trials.
    367             # Only set for hyperparameter tuning jobs.
    368           { # Represents the result of a single hyperparameter tuning trial from a
    369               # training job. The TrainingOutput object that is returned on successful
    370               # completion of a training job with hyperparameter tuning includes a list
    371               # of HyperparameterOutput objects, one for each successful trial.
    372             "hyperparameters": { # The hyperparameters given to this trial.
    373               "a_key": "A String",
    374             },
    375             "trialId": "A String", # The trial id for these results.
    376             "allMetrics": [ # All recorded object metrics for this trial.
    377               { # An observed value of a metric.
    378                 "trainingStep": "A String", # The global training step for this metric.
    379                 "objectiveValue": 3.14, # The objective value at this training step.
    380               },
    381             ],
    382             "finalMetric": { # An observed value of a metric. # The final objective metric seen for this trial.
    383               "trainingStep": "A String", # The global training step for this metric.
    384               "objectiveValue": 3.14, # The objective value at this training step.
    385             },
    386           },
    387         ],
    388         "isHyperparameterTuningJob": True or False, # Whether this job is a hyperparameter tuning job.
    389         "consumedMLUnits": 3.14, # The amount of ML units consumed by the job.
    390         "completedTrialCount": "A String", # The number of hyperparameter tuning trials that completed successfully.
    391             # Only set for hyperparameter tuning jobs.
    392       },
    393       "trainingInput": { # Represents input parameters for a training job. # Input parameters to create a training job.
    394         "workerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    395             # job's worker nodes.
    396             #
    397             # The supported values are the same as those described in the entry for
    398             # `masterType`.
    399             #
    400             # This value must be present when `scaleTier` is set to `CUSTOM` and
    401             # `workerCount` is greater than zero.
    402         "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for training.  If not
    403             # set, Google Cloud ML will choose the latest stable version.
    404         "scaleTier": "A String", # Required. Specifies the machine types, the number of replicas for workers
    405             # and parameter servers.
    406         "masterType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    407             # job's master worker.
    408             #
    409             # The following types are supported:
    410             #
    411             # <dl>
    412             #   <dt>standard</dt>
    413             #   <dd>
    414             #   A basic machine configuration suitable for training simple models with
    415             #   small to moderate datasets.
    416             #   </dd>
    417             #   <dt>large_model</dt>
    418             #   <dd>
    419             #   A machine with a lot of memory, specially suited for parameter servers
    420             #   when your model is large (having many hidden layers or layers with very
    421             #   large numbers of nodes).
    422             #   </dd>
    423             #   <dt>complex_model_s</dt>
    424             #   <dd>
    425             #   A machine suitable for the master and workers of the cluster when your
    426             #   model requires more computation than the standard machine can handle
    427             #   satisfactorily.
    428             #   </dd>
    429             #   <dt>complex_model_m</dt>
    430             #   <dd>
    431             #   A machine with roughly twice the number of cores and roughly double the
    432             #   memory of <code suppresswarning="true">complex_model_s</code>.
    433             #   </dd>
    434             #   <dt>complex_model_l</dt>
    435             #   <dd>
    436             #   A machine with roughly twice the number of cores and roughly double the
    437             #   memory of <code suppresswarning="true">complex_model_m</code>.
    438             #   </dd>
    439             #   <dt>standard_gpu</dt>
    440             #   <dd>
    441             #   A machine equivalent to <code suppresswarning="true">standard</code> that
    442             #   also includes a
    443             #   <a href="/ml-engine/docs/how-tos/using-gpus">
    444             #   GPU that you can use in your trainer</a>.
    445             #   </dd>
    446             #   <dt>complex_model_m_gpu</dt>
    447             #   <dd>
    448             #   A machine equivalent to
    449             #   <code suppresswarning="true">complex_model_m</code> that also includes
    450             #   four GPUs.
    451             #   </dd>
    452             # </dl>
    453             #
    454             # You must set this value when `scaleTier` is set to `CUSTOM`.
    455         "hyperparameters": { # Represents a set of hyperparameters to optimize. # Optional. The set of Hyperparameters to tune.
    456           "maxTrials": 42, # Optional. How many training trials should be attempted to optimize
    457               # the specified hyperparameters.
    458               #
    459               # Defaults to one.
    460           "hyperparameterMetricTag": "A String", # Optional. The Tensorflow summary tag name to use for optimizing trials. For
    461               # current versions of Tensorflow, this tag name should exactly match what is
    462               # shown in Tensorboard, including all scopes.  For versions of Tensorflow
    463               # prior to 0.12, this should be only the tag passed to tf.Summary.
    464               # By default, "training/hptuning/metric" will be used.
    465           "params": [ # Required. The set of parameters to tune.
    466             { # Represents a single hyperparameter to optimize.
    467               "maxValue": 3.14, # Required if typeis `DOUBLE` or `INTEGER`. This field
    468                   # should be unset if type is `CATEGORICAL`. This value should be integers if
    469                   # type is `INTEGER`.
    470               "categoricalValues": [ # Required if type is `CATEGORICAL`. The list of possible categories.
    471                 "A String",
    472               ],
    473               "discreteValues": [ # Required if type is `DISCRETE`.
    474                   # A list of feasible points.
    475                   # The list should be in strictly increasing order. For instance, this
    476                   # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
    477                   # should not contain more than 1,000 values.
    478                 3.14,
    479               ],
    480               "parameterName": "A String", # Required. The parameter name must be unique amongst all ParameterConfigs in
    481                   # a HyperparameterSpec message. E.g., "learning_rate".
    482               "minValue": 3.14, # Required if type is `DOUBLE` or `INTEGER`. This field
    483                   # should be unset if type is `CATEGORICAL`. This value should be integers if
    484                   # type is INTEGER.
    485               "type": "A String", # Required. The type of the parameter.
    486               "scaleType": "A String", # Optional. How the parameter should be scaled to the hypercube.
    487                   # Leave unset for categorical parameters.
    488                   # Some kind of scaling is strongly recommended for real or integral
    489                   # parameters (e.g., `UNIT_LINEAR_SCALE`).
    490             },
    491           ],
    492           "goal": "A String", # Required. The type of goal to use for tuning. Available types are
    493               # `MAXIMIZE` and `MINIMIZE`.
    494               #
    495               # Defaults to `MAXIMIZE`.
    496           "maxParallelTrials": 42, # Optional. The number of training trials to run concurrently.
    497               # You can reduce the time it takes to perform hyperparameter tuning by adding
    498               # trials in parallel. However, each trail only benefits from the information
    499               # gained in completed trials. That means that a trial does not get access to
    500               # the results of trials running at the same time, which could reduce the
    501               # quality of the overall optimization.
    502               #
    503               # Each trial will use the same scale tier and machine types.
    504               #
    505               # Defaults to one.
    506         },
    507         "region": "A String", # Required. The Google Compute Engine region to run the training job in.
    508         "args": [ # Optional. Command line arguments to pass to the program.
    509           "A String",
    510         ],
    511         "pythonModule": "A String", # Required. The Python module name to run after installing the packages.
    512         "jobDir": "A String", # Optional. A Google Cloud Storage path in which to store training outputs
    513             # and other data needed for training. This path is passed to your TensorFlow
    514             # program as the 'job_dir' command-line argument. The benefit of specifying
    515             # this field is that Cloud ML validates the path for use in training.
    516         "packageUris": [ # Required. The Google Cloud Storage location of the packages with
    517             # the training program and any additional dependencies.
    518             # The maximum number of package URIs is 100.
    519           "A String",
    520         ],
    521         "workerCount": "A String", # Optional. The number of worker replicas to use for the training job. Each
    522             # replica in the cluster will be of the type specified in `worker_type`.
    523             #
    524             # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
    525             # set this value, you must also set `worker_type`.
    526         "parameterServerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    527             # job's parameter server.
    528             #
    529             # The supported values are the same as those described in the entry for
    530             # `master_type`.
    531             #
    532             # This value must be present when `scaleTier` is set to `CUSTOM` and
    533             # `parameter_server_count` is greater than zero.
    534         "parameterServerCount": "A String", # Optional. The number of parameter server replicas to use for the training
    535             # job. Each replica in the cluster will be of the type specified in
    536             # `parameter_server_type`.
    537             #
    538             # This value can only be used when `scale_tier` is set to `CUSTOM`.If you
    539             # set this value, you must also set `parameter_server_type`.
    540       },
    541       "predictionInput": { # Represents input parameters for a prediction job. # Input parameters to create a prediction job.
    542         "modelName": "A String", # Use this field if you want to use the default version for the specified
    543             # model. The string must use the following format:
    544             #
    545             # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"`
    546         "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this batch
    547             # prediction. If not set, Google Cloud ML will pick the runtime version used
    548             # during the CreateVersion request for this model version, or choose the
    549             # latest stable version when model version information is not available
    550             # such as when the model is specified by uri.
    551         "region": "A String", # Required. The Google Compute Engine region to run the prediction job in.
    552         "maxWorkerCount": "A String", # Optional. The maximum number of workers to be used for parallel processing.
    553             # Defaults to 10 if not specified.
    554         "uri": "A String", # Use this field if you want to specify a Google Cloud Storage path for
    555             # the model to use.
    556         "outputPath": "A String", # Required. The output Google Cloud Storage location.
    557         "dataFormat": "A String", # Required. The format of the input data files.
    558         "versionName": "A String", # Use this field if you want to specify a version of the model to use. The
    559             # string is formatted the same way as `model_version`, with the addition
    560             # of the version information:
    561             #
    562             # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>"`
    563         "inputPaths": [ # Required. The Google Cloud Storage location of the input data files.
    564             # May contain wildcards.
    565           "A String",
    566         ],
    567       },
    568       "errorMessage": "A String", # Output only. The details of a failure or a cancellation.
    569       "jobId": "A String", # Required. The user-specified id of the job.
    570       "state": "A String", # Output only. The detailed state of a job.
    571       "startTime": "A String", # Output only. When the job processing was started.
    572       "endTime": "A String", # Output only. When the job processing was completed.
    573       "predictionOutput": { # Represents results of a prediction job. # The current prediction job result.
    574         "outputPath": "A String", # The output Google Cloud Storage location provided at the job creation time.
    575         "nodeHours": 3.14, # Node hours used by the batch prediction job.
    576         "predictionCount": "A String", # The number of generated predictions.
    577         "errorCount": "A String", # The number of data instances which resulted in errors.
    578       },
    579       "createTime": "A String", # Output only. When the job was created.
    580     }</pre>
    581 </div>
    582 
    583 <div class="method">
    584     <code class="details" id="get">get(name, x__xgafv=None)</code>
    585   <pre>Describes a job.
    586 
    587 Args:
    588   name: string, Required. The name of the job to get the description of.
    589 
    590 Authorization: requires `Viewer` role on the parent project. (required)
    591   x__xgafv: string, V1 error format.
    592     Allowed values
    593       1 - v1 error format
    594       2 - v2 error format
    595 
    596 Returns:
    597   An object of the form:
    598 
    599     { # Represents a training or prediction job.
    600       "trainingOutput": { # Represents results of a training job. Output only. # The current training job result.
    601         "trials": [ # Results for individual Hyperparameter trials.
    602             # Only set for hyperparameter tuning jobs.
    603           { # Represents the result of a single hyperparameter tuning trial from a
    604               # training job. The TrainingOutput object that is returned on successful
    605               # completion of a training job with hyperparameter tuning includes a list
    606               # of HyperparameterOutput objects, one for each successful trial.
    607             "hyperparameters": { # The hyperparameters given to this trial.
    608               "a_key": "A String",
    609             },
    610             "trialId": "A String", # The trial id for these results.
    611             "allMetrics": [ # All recorded object metrics for this trial.
    612               { # An observed value of a metric.
    613                 "trainingStep": "A String", # The global training step for this metric.
    614                 "objectiveValue": 3.14, # The objective value at this training step.
    615               },
    616             ],
    617             "finalMetric": { # An observed value of a metric. # The final objective metric seen for this trial.
    618               "trainingStep": "A String", # The global training step for this metric.
    619               "objectiveValue": 3.14, # The objective value at this training step.
    620             },
    621           },
    622         ],
    623         "isHyperparameterTuningJob": True or False, # Whether this job is a hyperparameter tuning job.
    624         "consumedMLUnits": 3.14, # The amount of ML units consumed by the job.
    625         "completedTrialCount": "A String", # The number of hyperparameter tuning trials that completed successfully.
    626             # Only set for hyperparameter tuning jobs.
    627       },
    628       "trainingInput": { # Represents input parameters for a training job. # Input parameters to create a training job.
    629         "workerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    630             # job's worker nodes.
    631             #
    632             # The supported values are the same as those described in the entry for
    633             # `masterType`.
    634             #
    635             # This value must be present when `scaleTier` is set to `CUSTOM` and
    636             # `workerCount` is greater than zero.
    637         "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for training.  If not
    638             # set, Google Cloud ML will choose the latest stable version.
    639         "scaleTier": "A String", # Required. Specifies the machine types, the number of replicas for workers
    640             # and parameter servers.
    641         "masterType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    642             # job's master worker.
    643             #
    644             # The following types are supported:
    645             #
    646             # <dl>
    647             #   <dt>standard</dt>
    648             #   <dd>
    649             #   A basic machine configuration suitable for training simple models with
    650             #   small to moderate datasets.
    651             #   </dd>
    652             #   <dt>large_model</dt>
    653             #   <dd>
    654             #   A machine with a lot of memory, specially suited for parameter servers
    655             #   when your model is large (having many hidden layers or layers with very
    656             #   large numbers of nodes).
    657             #   </dd>
    658             #   <dt>complex_model_s</dt>
    659             #   <dd>
    660             #   A machine suitable for the master and workers of the cluster when your
    661             #   model requires more computation than the standard machine can handle
    662             #   satisfactorily.
    663             #   </dd>
    664             #   <dt>complex_model_m</dt>
    665             #   <dd>
    666             #   A machine with roughly twice the number of cores and roughly double the
    667             #   memory of <code suppresswarning="true">complex_model_s</code>.
    668             #   </dd>
    669             #   <dt>complex_model_l</dt>
    670             #   <dd>
    671             #   A machine with roughly twice the number of cores and roughly double the
    672             #   memory of <code suppresswarning="true">complex_model_m</code>.
    673             #   </dd>
    674             #   <dt>standard_gpu</dt>
    675             #   <dd>
    676             #   A machine equivalent to <code suppresswarning="true">standard</code> that
    677             #   also includes a
    678             #   <a href="/ml-engine/docs/how-tos/using-gpus">
    679             #   GPU that you can use in your trainer</a>.
    680             #   </dd>
    681             #   <dt>complex_model_m_gpu</dt>
    682             #   <dd>
    683             #   A machine equivalent to
    684             #   <code suppresswarning="true">complex_model_m</code> that also includes
    685             #   four GPUs.
    686             #   </dd>
    687             # </dl>
    688             #
    689             # You must set this value when `scaleTier` is set to `CUSTOM`.
    690         "hyperparameters": { # Represents a set of hyperparameters to optimize. # Optional. The set of Hyperparameters to tune.
    691           "maxTrials": 42, # Optional. How many training trials should be attempted to optimize
    692               # the specified hyperparameters.
    693               #
    694               # Defaults to one.
    695           "hyperparameterMetricTag": "A String", # Optional. The Tensorflow summary tag name to use for optimizing trials. For
    696               # current versions of Tensorflow, this tag name should exactly match what is
    697               # shown in Tensorboard, including all scopes.  For versions of Tensorflow
    698               # prior to 0.12, this should be only the tag passed to tf.Summary.
    699               # By default, "training/hptuning/metric" will be used.
    700           "params": [ # Required. The set of parameters to tune.
    701             { # Represents a single hyperparameter to optimize.
    702               "maxValue": 3.14, # Required if typeis `DOUBLE` or `INTEGER`. This field
    703                   # should be unset if type is `CATEGORICAL`. This value should be integers if
    704                   # type is `INTEGER`.
    705               "categoricalValues": [ # Required if type is `CATEGORICAL`. The list of possible categories.
    706                 "A String",
    707               ],
    708               "discreteValues": [ # Required if type is `DISCRETE`.
    709                   # A list of feasible points.
    710                   # The list should be in strictly increasing order. For instance, this
    711                   # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
    712                   # should not contain more than 1,000 values.
    713                 3.14,
    714               ],
    715               "parameterName": "A String", # Required. The parameter name must be unique amongst all ParameterConfigs in
    716                   # a HyperparameterSpec message. E.g., "learning_rate".
    717               "minValue": 3.14, # Required if type is `DOUBLE` or `INTEGER`. This field
    718                   # should be unset if type is `CATEGORICAL`. This value should be integers if
    719                   # type is INTEGER.
    720               "type": "A String", # Required. The type of the parameter.
    721               "scaleType": "A String", # Optional. How the parameter should be scaled to the hypercube.
    722                   # Leave unset for categorical parameters.
    723                   # Some kind of scaling is strongly recommended for real or integral
    724                   # parameters (e.g., `UNIT_LINEAR_SCALE`).
    725             },
    726           ],
    727           "goal": "A String", # Required. The type of goal to use for tuning. Available types are
    728               # `MAXIMIZE` and `MINIMIZE`.
    729               #
    730               # Defaults to `MAXIMIZE`.
    731           "maxParallelTrials": 42, # Optional. The number of training trials to run concurrently.
    732               # You can reduce the time it takes to perform hyperparameter tuning by adding
    733               # trials in parallel. However, each trail only benefits from the information
    734               # gained in completed trials. That means that a trial does not get access to
    735               # the results of trials running at the same time, which could reduce the
    736               # quality of the overall optimization.
    737               #
    738               # Each trial will use the same scale tier and machine types.
    739               #
    740               # Defaults to one.
    741         },
    742         "region": "A String", # Required. The Google Compute Engine region to run the training job in.
    743         "args": [ # Optional. Command line arguments to pass to the program.
    744           "A String",
    745         ],
    746         "pythonModule": "A String", # Required. The Python module name to run after installing the packages.
    747         "jobDir": "A String", # Optional. A Google Cloud Storage path in which to store training outputs
    748             # and other data needed for training. This path is passed to your TensorFlow
    749             # program as the 'job_dir' command-line argument. The benefit of specifying
    750             # this field is that Cloud ML validates the path for use in training.
    751         "packageUris": [ # Required. The Google Cloud Storage location of the packages with
    752             # the training program and any additional dependencies.
    753             # The maximum number of package URIs is 100.
    754           "A String",
    755         ],
    756         "workerCount": "A String", # Optional. The number of worker replicas to use for the training job. Each
    757             # replica in the cluster will be of the type specified in `worker_type`.
    758             #
    759             # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
    760             # set this value, you must also set `worker_type`.
    761         "parameterServerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    762             # job's parameter server.
    763             #
    764             # The supported values are the same as those described in the entry for
    765             # `master_type`.
    766             #
    767             # This value must be present when `scaleTier` is set to `CUSTOM` and
    768             # `parameter_server_count` is greater than zero.
    769         "parameterServerCount": "A String", # Optional. The number of parameter server replicas to use for the training
    770             # job. Each replica in the cluster will be of the type specified in
    771             # `parameter_server_type`.
    772             #
    773             # This value can only be used when `scale_tier` is set to `CUSTOM`.If you
    774             # set this value, you must also set `parameter_server_type`.
    775       },
    776       "predictionInput": { # Represents input parameters for a prediction job. # Input parameters to create a prediction job.
    777         "modelName": "A String", # Use this field if you want to use the default version for the specified
    778             # model. The string must use the following format:
    779             #
    780             # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"`
    781         "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this batch
    782             # prediction. If not set, Google Cloud ML will pick the runtime version used
    783             # during the CreateVersion request for this model version, or choose the
    784             # latest stable version when model version information is not available
    785             # such as when the model is specified by uri.
    786         "region": "A String", # Required. The Google Compute Engine region to run the prediction job in.
    787         "maxWorkerCount": "A String", # Optional. The maximum number of workers to be used for parallel processing.
    788             # Defaults to 10 if not specified.
    789         "uri": "A String", # Use this field if you want to specify a Google Cloud Storage path for
    790             # the model to use.
    791         "outputPath": "A String", # Required. The output Google Cloud Storage location.
    792         "dataFormat": "A String", # Required. The format of the input data files.
    793         "versionName": "A String", # Use this field if you want to specify a version of the model to use. The
    794             # string is formatted the same way as `model_version`, with the addition
    795             # of the version information:
    796             #
    797             # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>"`
    798         "inputPaths": [ # Required. The Google Cloud Storage location of the input data files.
    799             # May contain wildcards.
    800           "A String",
    801         ],
    802       },
    803       "errorMessage": "A String", # Output only. The details of a failure or a cancellation.
    804       "jobId": "A String", # Required. The user-specified id of the job.
    805       "state": "A String", # Output only. The detailed state of a job.
    806       "startTime": "A String", # Output only. When the job processing was started.
    807       "endTime": "A String", # Output only. When the job processing was completed.
    808       "predictionOutput": { # Represents results of a prediction job. # The current prediction job result.
    809         "outputPath": "A String", # The output Google Cloud Storage location provided at the job creation time.
    810         "nodeHours": 3.14, # Node hours used by the batch prediction job.
    811         "predictionCount": "A String", # The number of generated predictions.
    812         "errorCount": "A String", # The number of data instances which resulted in errors.
    813       },
    814       "createTime": "A String", # Output only. When the job was created.
    815     }</pre>
    816 </div>
    817 
    818 <div class="method">
    819     <code class="details" id="list">list(parent, pageSize=None, filter=None, pageToken=None, x__xgafv=None)</code>
    820   <pre>Lists the jobs in the project.
    821 
    822 Args:
    823   parent: string, Required. The name of the project for which to list jobs.
    824 
    825 Authorization: requires `Viewer` role on the specified project. (required)
    826   pageSize: integer, Optional. The number of jobs to retrieve per "page" of results. If there
    827 are more remaining results than this number, the response message will
    828 contain a valid value in the `next_page_token` field.
    829 
    830 The default value is 20, and the maximum page size is 100.
    831   filter: string, Optional. Specifies the subset of jobs to retrieve.
    832   pageToken: string, Optional. A page token to request the next page of results.
    833 
    834 You get the token from the `next_page_token` field of the response from
    835 the previous call.
    836   x__xgafv: string, V1 error format.
    837     Allowed values
    838       1 - v1 error format
    839       2 - v2 error format
    840 
    841 Returns:
    842   An object of the form:
    843 
    844     { # Response message for the ListJobs method.
    845     "nextPageToken": "A String", # Optional. Pass this token as the `page_token` field of the request for a
    846         # subsequent call.
    847     "jobs": [ # The list of jobs.
    848       { # Represents a training or prediction job.
    849           "trainingOutput": { # Represents results of a training job. Output only. # The current training job result.
    850             "trials": [ # Results for individual Hyperparameter trials.
    851                 # Only set for hyperparameter tuning jobs.
    852               { # Represents the result of a single hyperparameter tuning trial from a
    853                   # training job. The TrainingOutput object that is returned on successful
    854                   # completion of a training job with hyperparameter tuning includes a list
    855                   # of HyperparameterOutput objects, one for each successful trial.
    856                 "hyperparameters": { # The hyperparameters given to this trial.
    857                   "a_key": "A String",
    858                 },
    859                 "trialId": "A String", # The trial id for these results.
    860                 "allMetrics": [ # All recorded object metrics for this trial.
    861                   { # An observed value of a metric.
    862                     "trainingStep": "A String", # The global training step for this metric.
    863                     "objectiveValue": 3.14, # The objective value at this training step.
    864                   },
    865                 ],
    866                 "finalMetric": { # An observed value of a metric. # The final objective metric seen for this trial.
    867                   "trainingStep": "A String", # The global training step for this metric.
    868                   "objectiveValue": 3.14, # The objective value at this training step.
    869                 },
    870               },
    871             ],
    872             "isHyperparameterTuningJob": True or False, # Whether this job is a hyperparameter tuning job.
    873             "consumedMLUnits": 3.14, # The amount of ML units consumed by the job.
    874             "completedTrialCount": "A String", # The number of hyperparameter tuning trials that completed successfully.
    875                 # Only set for hyperparameter tuning jobs.
    876           },
    877           "trainingInput": { # Represents input parameters for a training job. # Input parameters to create a training job.
    878             "workerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    879                 # job's worker nodes.
    880                 #
    881                 # The supported values are the same as those described in the entry for
    882                 # `masterType`.
    883                 #
    884                 # This value must be present when `scaleTier` is set to `CUSTOM` and
    885                 # `workerCount` is greater than zero.
    886             "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for training.  If not
    887                 # set, Google Cloud ML will choose the latest stable version.
    888             "scaleTier": "A String", # Required. Specifies the machine types, the number of replicas for workers
    889                 # and parameter servers.
    890             "masterType": "A String", # Optional. Specifies the type of virtual machine to use for your training
    891                 # job's master worker.
    892                 #
    893                 # The following types are supported:
    894                 #
    895                 # <dl>
    896                 #   <dt>standard</dt>
    897                 #   <dd>
    898                 #   A basic machine configuration suitable for training simple models with
    899                 #   small to moderate datasets.
    900                 #   </dd>
    901                 #   <dt>large_model</dt>
    902                 #   <dd>
    903                 #   A machine with a lot of memory, specially suited for parameter servers
    904                 #   when your model is large (having many hidden layers or layers with very
    905                 #   large numbers of nodes).
    906                 #   </dd>
    907                 #   <dt>complex_model_s</dt>
    908                 #   <dd>
    909                 #   A machine suitable for the master and workers of the cluster when your
    910                 #   model requires more computation than the standard machine can handle
    911                 #   satisfactorily.
    912                 #   </dd>
    913                 #   <dt>complex_model_m</dt>
    914                 #   <dd>
    915                 #   A machine with roughly twice the number of cores and roughly double the
    916                 #   memory of <code suppresswarning="true">complex_model_s</code>.
    917                 #   </dd>
    918                 #   <dt>complex_model_l</dt>
    919                 #   <dd>
    920                 #   A machine with roughly twice the number of cores and roughly double the
    921                 #   memory of <code suppresswarning="true">complex_model_m</code>.
    922                 #   </dd>
    923                 #   <dt>standard_gpu</dt>
    924                 #   <dd>
    925                 #   A machine equivalent to <code suppresswarning="true">standard</code> that
    926                 #   also includes a
    927                 #   <a href="/ml-engine/docs/how-tos/using-gpus">
    928                 #   GPU that you can use in your trainer</a>.
    929                 #   </dd>
    930                 #   <dt>complex_model_m_gpu</dt>
    931                 #   <dd>
    932                 #   A machine equivalent to
    933                 #   <code suppresswarning="true">complex_model_m</code> that also includes
    934                 #   four GPUs.
    935                 #   </dd>
    936                 # </dl>
    937                 #
    938                 # You must set this value when `scaleTier` is set to `CUSTOM`.
    939             "hyperparameters": { # Represents a set of hyperparameters to optimize. # Optional. The set of Hyperparameters to tune.
    940               "maxTrials": 42, # Optional. How many training trials should be attempted to optimize
    941                   # the specified hyperparameters.
    942                   #
    943                   # Defaults to one.
    944               "hyperparameterMetricTag": "A String", # Optional. The Tensorflow summary tag name to use for optimizing trials. For
    945                   # current versions of Tensorflow, this tag name should exactly match what is
    946                   # shown in Tensorboard, including all scopes.  For versions of Tensorflow
    947                   # prior to 0.12, this should be only the tag passed to tf.Summary.
    948                   # By default, "training/hptuning/metric" will be used.
    949               "params": [ # Required. The set of parameters to tune.
    950                 { # Represents a single hyperparameter to optimize.
    951                   "maxValue": 3.14, # Required if typeis `DOUBLE` or `INTEGER`. This field
    952                       # should be unset if type is `CATEGORICAL`. This value should be integers if
    953                       # type is `INTEGER`.
    954                   "categoricalValues": [ # Required if type is `CATEGORICAL`. The list of possible categories.
    955                     "A String",
    956                   ],
    957                   "discreteValues": [ # Required if type is `DISCRETE`.
    958                       # A list of feasible points.
    959                       # The list should be in strictly increasing order. For instance, this
    960                       # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
    961                       # should not contain more than 1,000 values.
    962                     3.14,
    963                   ],
    964                   "parameterName": "A String", # Required. The parameter name must be unique amongst all ParameterConfigs in
    965                       # a HyperparameterSpec message. E.g., "learning_rate".
    966                   "minValue": 3.14, # Required if type is `DOUBLE` or `INTEGER`. This field
    967                       # should be unset if type is `CATEGORICAL`. This value should be integers if
    968                       # type is INTEGER.
    969                   "type": "A String", # Required. The type of the parameter.
    970                   "scaleType": "A String", # Optional. How the parameter should be scaled to the hypercube.
    971                       # Leave unset for categorical parameters.
    972                       # Some kind of scaling is strongly recommended for real or integral
    973                       # parameters (e.g., `UNIT_LINEAR_SCALE`).
    974                 },
    975               ],
    976               "goal": "A String", # Required. The type of goal to use for tuning. Available types are
    977                   # `MAXIMIZE` and `MINIMIZE`.
    978                   #
    979                   # Defaults to `MAXIMIZE`.
    980               "maxParallelTrials": 42, # Optional. The number of training trials to run concurrently.
    981                   # You can reduce the time it takes to perform hyperparameter tuning by adding
    982                   # trials in parallel. However, each trail only benefits from the information
    983                   # gained in completed trials. That means that a trial does not get access to
    984                   # the results of trials running at the same time, which could reduce the
    985                   # quality of the overall optimization.
    986                   #
    987                   # Each trial will use the same scale tier and machine types.
    988                   #
    989                   # Defaults to one.
    990             },
    991             "region": "A String", # Required. The Google Compute Engine region to run the training job in.
    992             "args": [ # Optional. Command line arguments to pass to the program.
    993               "A String",
    994             ],
    995             "pythonModule": "A String", # Required. The Python module name to run after installing the packages.
    996             "jobDir": "A String", # Optional. A Google Cloud Storage path in which to store training outputs
    997                 # and other data needed for training. This path is passed to your TensorFlow
    998                 # program as the 'job_dir' command-line argument. The benefit of specifying
    999                 # this field is that Cloud ML validates the path for use in training.
   1000             "packageUris": [ # Required. The Google Cloud Storage location of the packages with
   1001                 # the training program and any additional dependencies.
   1002                 # The maximum number of package URIs is 100.
   1003               "A String",
   1004             ],
   1005             "workerCount": "A String", # Optional. The number of worker replicas to use for the training job. Each
   1006                 # replica in the cluster will be of the type specified in `worker_type`.
   1007                 #
   1008                 # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
   1009                 # set this value, you must also set `worker_type`.
   1010             "parameterServerType": "A String", # Optional. Specifies the type of virtual machine to use for your training
   1011                 # job's parameter server.
   1012                 #
   1013                 # The supported values are the same as those described in the entry for
   1014                 # `master_type`.
   1015                 #
   1016                 # This value must be present when `scaleTier` is set to `CUSTOM` and
   1017                 # `parameter_server_count` is greater than zero.
   1018             "parameterServerCount": "A String", # Optional. The number of parameter server replicas to use for the training
   1019                 # job. Each replica in the cluster will be of the type specified in
   1020                 # `parameter_server_type`.
   1021                 #
   1022                 # This value can only be used when `scale_tier` is set to `CUSTOM`.If you
   1023                 # set this value, you must also set `parameter_server_type`.
   1024           },
   1025           "predictionInput": { # Represents input parameters for a prediction job. # Input parameters to create a prediction job.
   1026             "modelName": "A String", # Use this field if you want to use the default version for the specified
   1027                 # model. The string must use the following format:
   1028                 #
   1029                 # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"`
   1030             "runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this batch
   1031                 # prediction. If not set, Google Cloud ML will pick the runtime version used
   1032                 # during the CreateVersion request for this model version, or choose the
   1033                 # latest stable version when model version information is not available
   1034                 # such as when the model is specified by uri.
   1035             "region": "A String", # Required. The Google Compute Engine region to run the prediction job in.
   1036             "maxWorkerCount": "A String", # Optional. The maximum number of workers to be used for parallel processing.
   1037                 # Defaults to 10 if not specified.
   1038             "uri": "A String", # Use this field if you want to specify a Google Cloud Storage path for
   1039                 # the model to use.
   1040             "outputPath": "A String", # Required. The output Google Cloud Storage location.
   1041             "dataFormat": "A String", # Required. The format of the input data files.
   1042             "versionName": "A String", # Use this field if you want to specify a version of the model to use. The
   1043                 # string is formatted the same way as `model_version`, with the addition
   1044                 # of the version information:
   1045                 #
   1046                 # `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>"`
   1047             "inputPaths": [ # Required. The Google Cloud Storage location of the input data files.
   1048                 # May contain wildcards.
   1049               "A String",
   1050             ],
   1051           },
   1052           "errorMessage": "A String", # Output only. The details of a failure or a cancellation.
   1053           "jobId": "A String", # Required. The user-specified id of the job.
   1054           "state": "A String", # Output only. The detailed state of a job.
   1055           "startTime": "A String", # Output only. When the job processing was started.
   1056           "endTime": "A String", # Output only. When the job processing was completed.
   1057           "predictionOutput": { # Represents results of a prediction job. # The current prediction job result.
   1058             "outputPath": "A String", # The output Google Cloud Storage location provided at the job creation time.
   1059             "nodeHours": 3.14, # Node hours used by the batch prediction job.
   1060             "predictionCount": "A String", # The number of generated predictions.
   1061             "errorCount": "A String", # The number of data instances which resulted in errors.
   1062           },
   1063           "createTime": "A String", # Output only. When the job was created.
   1064         },
   1065     ],
   1066   }</pre>
   1067 </div>
   1068 
   1069 <div class="method">
   1070     <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
   1071   <pre>Retrieves the next page of results.
   1072 
   1073 Args:
   1074   previous_request: The request for the previous page. (required)
   1075   previous_response: The response from the request for the previous page. (required)
   1076 
   1077 Returns:
   1078   A request object that you can call 'execute()' on to request the next
   1079   page. Returns None if there are no more items in the collection.
   1080     </pre>
   1081 </div>
   1082 
   1083 </body></html>