diff --git a/docs/vision-usage.rst b/docs/vision-usage.rst index 7c4e52dfa57a..c8a0a398346a 100644 --- a/docs/vision-usage.rst +++ b/docs/vision-usage.rst @@ -130,7 +130,7 @@ Face Detection an image and return the coordinates in the image of each `landmark type`_ that was detected. -.. _landmark type: https://cloud.google.com/vision/reference/rest/v1/images/annotate#type_1 +.. _landmark type: https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#type_1 .. code-block:: python diff --git a/vision/google/cloud/vision/face.py b/vision/google/cloud/vision/face.py index cdb744c97cb5..36f4ed54b4ca 100644 --- a/vision/google/cloud/vision/face.py +++ b/vision/google/cloud/vision/face.py @@ -434,7 +434,7 @@ class LandmarkTypes(Enum): """A representation of the face detection landmark types. See: - https://cloud.google.com/vision/reference/rest/v1/images/annotate#Type_1 + https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#type_1 """ UNKNOWN_LANDMARK = 0 LEFT_EYE = 1 diff --git a/vision/google/cloud/vision/feature.py b/vision/google/cloud/vision/feature.py index cb5dc940a306..2a2b5b2d6ef7 100644 --- a/vision/google/cloud/vision/feature.py +++ b/vision/google/cloud/vision/feature.py @@ -19,7 +19,7 @@ class FeatureTypes(object): """Feature Types to indication which annotations to perform. See: - https://cloud.google.com/vision/reference/rest/v1/images/annotate#Type + https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Type """ CROP_HINTS = 'CROP_HINTS' DOCUMENT_TEXT_DETECTION = 'DOCUMENT_TEXT_DETECTION' @@ -45,7 +45,7 @@ class Feature(object): feature type. See: - https://cloud.google.com/vision/reference/rest/v1/images/annotate#Feature + https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Feature """ def __init__(self, feature_type, max_results=1): try: diff --git a/vision/google/cloud/vision/geometry.py b/vision/google/cloud/vision/geometry.py index b9cc2a2dd6e2..9779282ef240 100644 --- a/vision/google/cloud/vision/geometry.py +++ b/vision/google/cloud/vision/geometry.py @@ -137,7 +137,7 @@ class Position(object): """A 3D position in the image. See: - https://cloud.google.com/vision/reference/rest/v1/images/annotate#Position + https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Position :type x_coordinate: float :param x_coordinate: X position coordinate. @@ -213,7 +213,7 @@ class Vertex(object): """A vertex represents a 2D point in the image. See: - https://cloud.google.com/vision/reference/rest/v1/images/annotate#Vertex + https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Vertex :type x_coordinate: float :param x_coordinate: X position coordinate. diff --git a/vision/google/cloud/vision/likelihood.py b/vision/google/cloud/vision/likelihood.py index a83b2991f2bb..6fffc6640739 100644 --- a/vision/google/cloud/vision/likelihood.py +++ b/vision/google/cloud/vision/likelihood.py @@ -37,7 +37,7 @@ class Likelihood(Enum): """A representation of likelihood to give stable results across upgrades. See: - https://cloud.google.com/vision/reference/rest/v1/images/annotate#likelihood + https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#likelihood """ UNKNOWN = 'UNKNOWN' VERY_UNLIKELY = 'VERY_UNLIKELY'