# Cloud Vision V1 API - Class Google::Cloud::Vision::V1::AddProductToProductSetRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.15.0 0.14.0 0.13.2 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::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`