View Source GoogleApi.Vision.V1.Model.PurgeProductsRequest (google_api_vision v0.25.0)

Request message for the PurgeProducts method.

Attributes

  • deleteOrphanProducts (type: boolean(), default: nil) - If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
  • force (type: boolean(), default: nil) - The default value is false. Override this value to true to actually perform the purge.
  • productSetPurgeConfig (type: GoogleApi.Vision.V1.Model.ProductSetPurgeConfig.t, default: nil) - Specify which ProductSet contains the Products to be deleted.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.PurgeProductsRequest{
  deleteOrphanProducts: boolean() | nil,
  force: boolean() | nil,
  productSetPurgeConfig:
    GoogleApi.Vision.V1.Model.ProductSetPurgeConfig.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.