def assign_to_product(resource_group_name, service_name, product_id, tag_id, if_match:nil, custom_headers:nil)
      response = assign_to_product_async(resource_group_name, service_name, product_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def assign_to_product(resource_group_name, service_name, product_id, tag_id, if_match:nil, custom_headers:nil)
      response = assign_to_product_async(resource_group_name, service_name, product_id, tag_id, if_match:if_match, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Assign tag to the Product.

 @param resource_group_name [String] The name of the resource group.
 @param service_name [String] The name of the API Management service.
 @param product_id [String] Product identifier. Must be unique in the current
 API Management service instance.
 @param tag_id [String] Tag identifier. Must be unique in the current API
 Management service instance.
 @param if_match [String] ETag of the Entity. Not required when creating an
 entity, but required when updating an entity.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [TagContract] operation results.