Skip to content

Commit b9bc41f

Browse files
feat: Automated regeneration of css v1 client (googleapis#21130)
Auto-created at 2024-12-22 10:26:46 +0000 using the toys pull request generator.
1 parent da5878b commit b9bc41f

File tree

4 files changed

+55
-2
lines changed

4 files changed

+55
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133526,6 +133526,9 @@
133526133526
"/css:v1/css.accounts.cssProductInputs.insert": insert_account_css_product_input
133527133527
"/css:v1/css.accounts.cssProductInputs.insert/feedId": feed_id
133528133528
"/css:v1/css.accounts.cssProductInputs.insert/parent": parent
133529+
"/css:v1/css.accounts.cssProductInputs.patch": patch_account_css_product_input
133530+
"/css:v1/css.accounts.cssProductInputs.patch/name": name
133531+
"/css:v1/css.accounts.cssProductInputs.patch/updateMask": update_mask
133529133532
"/css:v1/css.accounts.cssProducts.get": get_account_css_product
133530133533
"/css:v1/css.accounts.cssProducts.get/name": name
133531133534
"/css:v1/css.accounts.cssProducts.list": list_account_css_products

generated/google-apis-css_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-css_v1
22

3+
### v0.6.0 (2024-12-22)
4+
5+
* Regenerated from discovery document revision 20241217
6+
37
### v0.5.0 (2024-12-15)
48

59
* Regenerated from discovery document revision 20241210

generated/google-apis-css_v1/lib/google/apis/css_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CssV1
1818
# Version of the google-apis-css_v1 gem
19-
GEM_VERSION = "0.5.0"
19+
GEM_VERSION = "0.6.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241210"
25+
REVISION = "20241217"
2626
end
2727
end
2828
end

generated/google-apis-css_v1/lib/google/apis/css_v1/service.rb

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)