Class: Google::Cloud::Vision::V1::PurgeProductsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1/product_search_service.rb

Overview

Request message for the PurgeProducts method.

Instance Attribute Summary collapse

Instance Attribute Details

#delete_orphan_products::Boolean

Returns If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.

Returns:

  • (::Boolean)

    If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.



667
668
669
670
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 667

class PurgeProductsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#force::Boolean

Returns The default value is false. Override this value to true to actually perform the purge.

Returns:

  • (::Boolean)

    The default value is false. Override this value to true to actually perform the purge.



667
668
669
670
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 667

class PurgeProductsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The project and location in which the Products should be deleted.

Format is projects/PROJECT_ID/locations/LOC_ID.

Returns:

  • (::String)

    Required. The project and location in which the Products should be deleted.

    Format is projects/PROJECT_ID/locations/LOC_ID.



667
668
669
670
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 667

class PurgeProductsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#product_set_purge_config::Google::Cloud::Vision::V1::ProductSetPurgeConfig

Returns Specify which ProductSet contains the Products to be deleted.

Returns:



667
668
669
670
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 667

class PurgeProductsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end