ml.v1 library Null safety

AI Platform Training & Prediction API - v1

An API to enable creating and using machine learning models.

For more information, see cloud.google.com/ml/

Create an instance of CloudMachineLearningEngineApi to access these resources:

Classes

CloudMachineLearningEngineApi
An API to enable creating and using machine learning models.
GoogleApiHttpBody
Message that represents an arbitrary HTTP body. [...]
GoogleCloudMlV1AcceleratorConfig
Represents a hardware accelerator request config. [...]
GoogleCloudMlV1AddTrialMeasurementRequest
The request message for the AddTrialMeasurement service method.
GoogleCloudMlV1AutomatedStoppingConfig
Configuration for Automated Early Stopping of Trials. [...]
GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
The median automated stopping rule stops a pending trial if the trial's best objective_value is strictly below the median 'performance' of all completed trials reported up to the trial's last measurement. [...]
GoogleCloudMlV1AutoScaling
Options for automatically scaling a model.
GoogleCloudMlV1BuiltInAlgorithmOutput
Represents output related to a built-in algorithm Job.
GoogleCloudMlV1CancelJobRequest
Request message for the CancelJob method.
GoogleCloudMlV1Capability
GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata
This message will be placed in the metadata field of a google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.
GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest
The request message for the CheckTrialEarlyStoppingState service method.
GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
The message will be placed in the response field of a completed google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.
GoogleCloudMlV1CompleteTrialRequest
The request message for the CompleteTrial service method.
GoogleCloudMlV1Config
GoogleCloudMlV1ContainerPort
Represents a network port in a single container. [...]
GoogleCloudMlV1ContainerSpec
Specification of a custom container for serving predictions. [...]
GoogleCloudMlV1DiskConfig
Represents the config of disk options.
GoogleCloudMlV1EncryptionConfig
Represents a custom encryption key configuration that can be applied to a resource.
GoogleCloudMlV1EnvVar
Represents an environment variable to be made available in a container. [...]
GoogleCloudMlV1ExplainRequest
Request for explanations to be issued against a trained model.
GoogleCloudMlV1ExplanationConfig
Message holding configuration options for explaining model predictions. [...]
GoogleCloudMlV1GetConfigResponse
Returns service account information associated with a project.
GoogleCloudMlV1HyperparameterOutput
Represents the result of a single hyperparameter tuning trial from a training job. [...]
GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
An observed value of a metric.
GoogleCloudMlV1HyperparameterSpec
Represents a set of hyperparameters to optimize.
GoogleCloudMlV1IntegratedGradientsAttribution
Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. [...]
GoogleCloudMlV1Job
Represents a training or prediction job.
GoogleCloudMlV1ListJobsResponse
Response message for the ListJobs method.
GoogleCloudMlV1ListLocationsResponse
GoogleCloudMlV1ListModelsResponse
Response message for the ListModels method.
GoogleCloudMlV1ListOptimalTrialsRequest
The request message for the ListTrials service method.
GoogleCloudMlV1ListOptimalTrialsResponse
The response message for the ListOptimalTrials method.
GoogleCloudMlV1ListStudiesResponse
GoogleCloudMlV1ListTrialsResponse
The response message for the ListTrials method.
GoogleCloudMlV1ListVersionsResponse
Response message for the ListVersions method.
GoogleCloudMlV1Location
GoogleCloudMlV1ManualScaling
Options for manually scaling a model.
GoogleCloudMlV1Measurement
A message representing a measurement.
GoogleCloudMlV1MeasurementMetric
A message representing a metric in the measurement.
GoogleCloudMlV1MetricSpec
MetricSpec contains the specifications to use to calculate the desired nodes count when autoscaling is enabled.
GoogleCloudMlV1Model
Represents a machine learning solution. [...]
GoogleCloudMlV1OperationMetadata
Represents the metadata of the long-running operation.
GoogleCloudMlV1ParameterSpec
Represents a single hyperparameter to optimize.
GoogleCloudMlV1PredictionInput
Represents input parameters for a prediction job.
GoogleCloudMlV1PredictionOutput
Represents results of a prediction job.
GoogleCloudMlV1PredictRequest
Request for predictions to be issued against a trained model.
GoogleCloudMlV1ReplicaConfig
Represents the configuration for a replica in a cluster.
GoogleCloudMlV1RequestLoggingConfig
Configuration for logging request-response pairs to a BigQuery table. [...]
GoogleCloudMlV1RouteMap
Specifies HTTP paths served by a custom container. [...]
GoogleCloudMlV1SampledShapleyAttribution
An attribution method that approximates Shapley values for features that contribute to the label being predicted. [...]
GoogleCloudMlV1Scheduling
All parameters related to scheduling of training jobs.
GoogleCloudMlV1SetDefaultVersionRequest
Request message for the SetDefaultVersion request.
GoogleCloudMlV1StopTrialRequest
GoogleCloudMlV1Study
A message representing a Study.
GoogleCloudMlV1StudyConfig
Represents configuration of a study.
GoogleCloudMlV1StudyConfigMetricSpec
Represents a metric to optimize.
GoogleCloudMlV1StudyConfigParameterSpec
Represents a single parameter to optimize.
GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec
GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec
Represents the spec to match categorical values from parent parameter.
GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
Represents the spec to match discrete values from parent parameter.
GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec
Represents the spec to match integer values from parent parameter.
GoogleCloudMlV1SuggestTrialsMetadata
Metadata field of a google.longrunning.Operation associated with a SuggestTrialsRequest.
GoogleCloudMlV1SuggestTrialsRequest
The request message for the SuggestTrial service method.
GoogleCloudMlV1SuggestTrialsResponse
This message will be placed in the response field of a completed google.longrunning.Operation associated with a SuggestTrials request.
GoogleCloudMlV1TrainingInput
Represents input parameters for a training job. [...]
GoogleCloudMlV1TrainingOutput
Represents results of a training job. [...]
GoogleCloudMlV1Trial
A message representing a trial.
GoogleCloudMlV1TrialParameter
A message representing a parameter to be tuned. [...]
GoogleCloudMlV1Version
Represents a version of the model. [...]
GoogleCloudMlV1XraiAttribution
Attributes credit by computing the XRAI taking advantage of the model's fully differentiable structure. [...]
GoogleIamV1AuditConfig
Specifies the audit configuration for a service. [...]
GoogleIamV1AuditLogConfig
Provides the configuration for logging a type of permissions. [...]
GoogleIamV1Binding
Associates members with a role.
GoogleIamV1Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. [...]
GoogleIamV1SetIamPolicyRequest
Request message for SetIamPolicy method.
GoogleIamV1TestIamPermissionsRequest
Request message for TestIamPermissions method.
GoogleIamV1TestIamPermissionsResponse
Response message for TestIamPermissions method.
GoogleLongrunningListOperationsResponse
The response message for Operations.ListOperations.
GoogleLongrunningOperation
This resource represents a long-running operation that is the result of a network API call.
GoogleProtobufEmpty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]
GoogleRpcStatus
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
GoogleTypeExpr
Represents a textual expression in the Common Expression Language (CEL) syntax. [...]
ProjectsJobsResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsLocationsStudiesResource
ProjectsLocationsStudiesTrialsResource
ProjectsModelsResource
ProjectsModelsVersionsResource
ProjectsOperationsResource
ProjectsResource

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.