tfx.extensions.google_cloud_ai_platform.runner.create_model_for_aip_prediction_if_not_exist

Creates a new model for serving with AI Platform if not exists.

api Google API client resource.
job_labels The dict of labels that will be attached to this job.
ai_platform_serving_args Dictionary containing arguments for pushing to AI Platform.

Whether a new model is created.

RuntimeError if model creation failed.