Class: Google::Cloud::Vision::V1p4beta1::PurgeProductsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p4beta1/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.



669
670
671
672
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 669

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.



669
670
671
672
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 669

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.



669
670
671
672
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 669

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

#product_set_purge_config::Google::Cloud::Vision::V1p4beta1::ProductSetPurgeConfig

Returns Specify which ProductSet contains the Products to be deleted.

Returns:



669
670
671
672
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 669

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