# -*- coding: utf-8 -*- #
# Copyright 2020 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Command group for Vertex AI endpoints."""


from googlecloudsdk.calliope import base


@base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA,
                    base.ReleaseTrack.GA)
@base.UniverseCompatible
class Endpoint(base.Group):
  """Manage Vertex AI endpoints.

     An endpoint contains one or more deployed models, all of which must have
     the same interface but may come from different models.
     An endpoint is to obtain online prediction and explanation from one of
     its deployed models.

     When you communicate with Vertex AI services, you identify a specific
     endpoint that is deployed in the cloud using a combination of the current
     project, the region, and the endpoint.
  """

  category = base.VERTEX_AI_CATEGORY
