File: //proc/thread-self/root/snap/google-cloud-cli/current/lib/surface/ml/vision/detect_landmarks.yaml
- release_tracks: [GA]
  help_text:
    brief: Detect popular natural and man-made structures within an image.
    description: |
      Google Cloud Vision will recognize landmarks in an image, such as "Palace
      of Fine Arts."
    examples: |
      To recognize landmarks in an image 'gs://my_bucket/input_file':
        $ {command} gs://my_bucket/input_file
  request:
    _COMMON_: request
    static_fields:
      requests.features.type: LANDMARK_DETECTION
  response:
    _COMMON_: response
  arguments:
    params:
    - _COMMON_: args.image_field
    - _COMMON_: args.max_results_field
  output:
    format: json
- release_tracks: [ALPHA, BETA]
  help_text:
    brief: Detect popular natural and man-made structures within an image.
    description: |
      Google Cloud Vision will recognize landmarks in an image, such as "Palace
      of Fine Arts."
    examples: |
      To recognize landmarks in an image 'gs://my_bucket/input_file':
        $ {command} gs://my_bucket/input_file
  request:
    _COMMON_: request
    static_fields:
      requests.features.type: LANDMARK_DETECTION
  response:
    _COMMON_: response
  arguments:
    params:
    - _COMMON_: args.image_field
    - _COMMON_: args.max_results_field
    - _COMMON_: args.model_field
  output:
    format: json