def _Run(args): region = region_util.GetRegion(args) with endpoint_util.MlEndpointOverrides(region=region): models_client = models.ModelsClient() operations_client = operations.OperationsClient() models_util.Update(models_client, operations_client, args) log.UpdatedResource(args.model, kind='ai platform model')
def Run(self, args): models_client = models.ModelsClient() operations_client = operations.OperationsClient() models_util.Update(models_client, operations_client, args) log.UpdatedResource(args.model, kind='ml engine model')
def Run(self, args): with endpoint_util.MlEndpointOverrides(region=args.region): models_client = models.ModelsClient() operations_client = operations.OperationsClient() models_util.Update(models_client, operations_client, args) log.UpdatedResource(args.model, kind='ml engine model')