@@ -250,6 +250,52 @@ def insert_account_css_product_input(parent, css_product_input_object = nil, fee
250250 execute_or_queue_command ( command , &block )
251251 end
252252
253+ # Updates the existing Css Product input in your CSS Center account. After
254+ # inserting, updating, or deleting a CSS Product input, it may take several
255+ # minutes before the processed Css Product can be retrieved.
256+ # @param [String] name
257+ # The name of the CSS Product input. Format: `accounts/`account`/
258+ # cssProductInputs/`css_product_input``
259+ # @param [Google::Apis::CssV1::CssProductInput] css_product_input_object
260+ # @param [String] update_mask
261+ # The list of CSS product attributes to be updated. If the update mask is
262+ # omitted, then it is treated as implied field mask equivalent to all fields
263+ # that are populated (have a non-empty value). Attributes specified in the
264+ # update mask without a value specified in the body will be deleted from the CSS
265+ # product. Update mask can only be specified for top level fields in attributes
266+ # and custom attributes. To specify the update mask for custom attributes you
267+ # need to add the `custom_attribute.` prefix. Providing special "*" value for
268+ # full CSS product replacement is not supported.
269+ # @param [String] fields
270+ # Selector specifying which fields to include in a partial response.
271+ # @param [String] quota_user
272+ # Available to use for quota purposes for server-side applications. Can be any
273+ # arbitrary string assigned to a user, but should not exceed 40 characters.
274+ # @param [Google::Apis::RequestOptions] options
275+ # Request-specific options
276+ #
277+ # @yield [result, err] Result & error if block supplied
278+ # @yieldparam result [Google::Apis::CssV1::CssProductInput] parsed result object
279+ # @yieldparam err [StandardError] error object if request failed
280+ #
281+ # @return [Google::Apis::CssV1::CssProductInput]
282+ #
283+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
284+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
285+ # @raise [Google::Apis::AuthorizationError] Authorization is required
286+ def patch_account_css_product_input ( name , css_product_input_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
287+ command = make_simple_command ( :patch , 'v1/{+name}' , options )
288+ command . request_representation = Google ::Apis ::CssV1 ::CssProductInput ::Representation
289+ command . request_object = css_product_input_object
290+ command . response_representation = Google ::Apis ::CssV1 ::CssProductInput ::Representation
291+ command . response_class = Google ::Apis ::CssV1 ::CssProductInput
292+ command . params [ 'name' ] = name unless name . nil?
293+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
294+ command . query [ 'fields' ] = fields unless fields . nil?
295+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
296+ execute_or_queue_command ( command , &block )
297+ end
298+
253299 # Retrieves the processed CSS Product from your CSS Center account. After
254300 # inserting, updating, or deleting a product input, it may take several minutes
255301 # before the updated final product can be retrieved.
0 commit comments