Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::AddProductToProductSetRequest (v0.2.0)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::AddProductToProductSetRequest.

Request message for the AddProductToProductSet method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name for the ProductSet to modify.

    Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name for the ProductSet to modify.

    Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

Returns
  • (::String) — Required. The resource name for the ProductSet to modify.

    Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

#product

def product() -> ::String
Returns
  • (::String) — Required. The resource name for the Product to be added to this ProductSet.

    Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

#product=

def product=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name for the Product to be added to this ProductSet.

    Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

Returns
  • (::String) — Required. The resource name for the Product to be added to this ProductSet.

    Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID