- release_tracks: [GA]

  help_text:
    brief: Detect general attributes of an image.
    description: |
      Detect general attributes of an image, such as dominant color.
    examples: |
      To detect general attributes of image 'gs://my_bucket/input_file':

        $ {command} gs://my_bucket/input_file

  request:
    _COMMON_: request
    static_fields:
      requests.features.type: IMAGE_PROPERTIES

  response:
    _COMMON_: response

  arguments:
    params:
    - _COMMON_: args.image_field

  output:
    format: json

- release_tracks: [ALPHA, BETA]

  help_text:
    brief: Detect general attributes of an image.
    description: |
      Detect general attributes of an image, such as dominant color.
    examples: |
      To detect general attributes of image 'gs://my_bucket/input_file':

        $ {command} gs://my_bucket/input_file

  request:
    _COMMON_: request
    static_fields:
      requests.features.type: IMAGE_PROPERTIES

  response:
    _COMMON_: response

  arguments:
    params:
    - _COMMON_: args.image_field
    - _COMMON_: args.model_field

  output:
    format: json
