google-apis-css_v1 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/css_v1/classes.rb +10 -9
- data/lib/google/apis/css_v1/gem_version.rb +2 -2
- data/lib/google/apis/css_v1/service.rb +51 -4
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eaff4a08eea7a7ba08cef2123315694c38c7d3a1affb9f1c3403378a7300c33
|
4
|
+
data.tar.gz: 6f6bc22f9e8e291be4b9e4a9e092cf3b8d18b31c2721191c05732803bcf7a3ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670c26eabc4fbae3403102af232f37927e6a6460ae6c77d3435cb732f9db0e4af1cdff658f4abae644db8a99c02686e65e02b20aae42666cdc3e8ef5f5d84262
|
7
|
+
data.tar.gz: 93baf5ba4a42f8f490f39373c42127acd5b780ad296e2d7e600eacf0bd2805fdac7b89be0786b17744231413657ce38bb77c0fe31391aedf6976f523640fd641
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-css_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2025-01-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250106
|
6
|
+
|
7
|
+
### v0.6.0 (2024-12-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241217
|
10
|
+
|
3
11
|
### v0.5.0 (2024-12-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241210
|
@@ -609,15 +609,16 @@ module Google
|
|
609
609
|
# @return [String]
|
610
610
|
attr_accessor :final_name
|
611
611
|
|
612
|
-
# Represents the existing version (
|
613
|
-
#
|
614
|
-
# time. This field must not be set to
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
#
|
619
|
-
# the
|
620
|
-
#
|
612
|
+
# DEPRECATED. Use expiration_date instead. Represents the existing version (
|
613
|
+
# freshness) of the CSS Product, which can be used to preserve the right order
|
614
|
+
# when multiple updates are done at the same time. This field must not be set to
|
615
|
+
# the future time. If set, the update is prevented if a newer version of the
|
616
|
+
# item already exists in our system (that is the last update time of the
|
617
|
+
# existing CSS products is later than the freshness time set in the update). If
|
618
|
+
# the update happens, the last update time is then set to this freshness time.
|
619
|
+
# If not set, the update will not be prevented and the last update time will
|
620
|
+
# default to when this request was received by the CSS API. If the operation is
|
621
|
+
# prevented, the aborted exception will be thrown.
|
621
622
|
# Corresponds to the JSON property `freshnessTime`
|
622
623
|
# @return [String]
|
623
624
|
attr_accessor :freshness_time
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CssV1
|
18
18
|
# Version of the google-apis-css_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -216,10 +216,11 @@ module Google
|
|
216
216
|
# accounts/`account`
|
217
217
|
# @param [Google::Apis::CssV1::CssProductInput] css_product_input_object
|
218
218
|
# @param [Fixnum] feed_id
|
219
|
-
# Optional.
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
219
|
+
# Optional. DEPRECATED. Feed id is not required for CSS Products. The primary or
|
220
|
+
# supplemental feed id. If CSS Product already exists and feed id provided is
|
221
|
+
# different, then the CSS Product will be moved to a new feed. Note: For now,
|
222
|
+
# CSSs do not need to provide feed ids as we create feeds on the fly. We do not
|
223
|
+
# have supplemental feed support for CSS Products yet.
|
223
224
|
# @param [String] fields
|
224
225
|
# Selector specifying which fields to include in a partial response.
|
225
226
|
# @param [String] quota_user
|
@@ -250,6 +251,52 @@ module Google
|
|
250
251
|
execute_or_queue_command(command, &block)
|
251
252
|
end
|
252
253
|
|
254
|
+
# Updates the existing Css Product input in your CSS Center account. After
|
255
|
+
# inserting, updating, or deleting a CSS Product input, it may take several
|
256
|
+
# minutes before the processed Css Product can be retrieved.
|
257
|
+
# @param [String] name
|
258
|
+
# The name of the CSS Product input. Format: `accounts/`account`/
|
259
|
+
# cssProductInputs/`css_product_input``
|
260
|
+
# @param [Google::Apis::CssV1::CssProductInput] css_product_input_object
|
261
|
+
# @param [String] update_mask
|
262
|
+
# The list of CSS product attributes to be updated. If the update mask is
|
263
|
+
# omitted, then it is treated as implied field mask equivalent to all fields
|
264
|
+
# that are populated (have a non-empty value). Attributes specified in the
|
265
|
+
# update mask without a value specified in the body will be deleted from the CSS
|
266
|
+
# product. Update mask can only be specified for top level fields in attributes
|
267
|
+
# and custom attributes. To specify the update mask for custom attributes you
|
268
|
+
# need to add the `custom_attribute.` prefix. Providing special "*" value for
|
269
|
+
# full CSS product replacement is not supported.
|
270
|
+
# @param [String] fields
|
271
|
+
# Selector specifying which fields to include in a partial response.
|
272
|
+
# @param [String] quota_user
|
273
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
274
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
275
|
+
# @param [Google::Apis::RequestOptions] options
|
276
|
+
# Request-specific options
|
277
|
+
#
|
278
|
+
# @yield [result, err] Result & error if block supplied
|
279
|
+
# @yieldparam result [Google::Apis::CssV1::CssProductInput] parsed result object
|
280
|
+
# @yieldparam err [StandardError] error object if request failed
|
281
|
+
#
|
282
|
+
# @return [Google::Apis::CssV1::CssProductInput]
|
283
|
+
#
|
284
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
285
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
|
+
def patch_account_css_product_input(name, css_product_input_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
288
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
289
|
+
command.request_representation = Google::Apis::CssV1::CssProductInput::Representation
|
290
|
+
command.request_object = css_product_input_object
|
291
|
+
command.response_representation = Google::Apis::CssV1::CssProductInput::Representation
|
292
|
+
command.response_class = Google::Apis::CssV1::CssProductInput
|
293
|
+
command.params['name'] = name unless name.nil?
|
294
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
295
|
+
command.query['fields'] = fields unless fields.nil?
|
296
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
297
|
+
execute_or_queue_command(command, &block)
|
298
|
+
end
|
299
|
+
|
253
300
|
# Retrieves the processed CSS Product from your CSS Center account. After
|
254
301
|
# inserting, updating, or deleting a product input, it may take several minutes
|
255
302
|
# before the updated final product can be retrieved.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-css_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-css_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-css_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-css_v1/v0.7.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-css_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for CSS API V1
|
82
79
|
test_files: []
|