google-apis-content_v2_1 0.27.0 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/content_v2_1/classes.rb +279 -23
- data/lib/google/apis/content_v2_1/gem_version.rb +3 -3
- data/lib/google/apis/content_v2_1/representations.rb +98 -0
- data/lib/google/apis/content_v2_1/service.rb +4 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09a26334ade5fe3f0aab5e33424ec0a4fde2eccb322f9b0442697563acf331ab'
|
4
|
+
data.tar.gz: d87501a03290fd6cdeb8dc1fe67cc4c127271c14382b7fa760870c2b6482f223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0411101a467141db357a6a91e107ce14f8370d48e20780e2638cb4833f42311224bce3a5e3ed533c2528ddddc2aceffc3f4741d4b3abaac199e459fdb97cc98
|
7
|
+
data.tar.gz: d0f1bdac5bd387cf145f071e6e580e3b80e7873fae7aa1877aab3a138181cf2d5e69a07d37ecc8f68c6729377ba14123fa7c166360234d3593ee38f7c88f6200
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-content_v2_1
|
2
2
|
|
3
|
+
### v0.31.0 (2022-02-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220203
|
6
|
+
|
7
|
+
### v0.30.0 (2022-01-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220112
|
10
|
+
|
11
|
+
### v0.29.0 (2022-01-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220111
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.28.0 (2021-12-16)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.27.0 (2021-12-01)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211126
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/content_v2_1"
|
|
51
51
|
client = Google::Apis::ContentV2_1::ShoppingContentService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -49,6 +49,12 @@ module Google
|
|
49
49
|
attr_accessor :adult_content
|
50
50
|
alias_method :adult_content?, :adult_content
|
51
51
|
|
52
|
+
# The automatic improvements of the account can be used to automatically update
|
53
|
+
# items, improve images and shipping.
|
54
|
+
# Corresponds to the JSON property `automaticImprovements`
|
55
|
+
# @return [Google::Apis::ContentV2_1::AccountAutomaticImprovements]
|
56
|
+
attr_accessor :automatic_improvements
|
57
|
+
|
52
58
|
# Automatically created label IDs that are assigned to the account by CSS Center.
|
53
59
|
# Corresponds to the JSON property `automaticLabelIds`
|
54
60
|
# @return [Array<Fixnum>]
|
@@ -125,6 +131,7 @@ module Google
|
|
125
131
|
@account_management = args[:account_management] if args.key?(:account_management)
|
126
132
|
@ads_links = args[:ads_links] if args.key?(:ads_links)
|
127
133
|
@adult_content = args[:adult_content] if args.key?(:adult_content)
|
134
|
+
@automatic_improvements = args[:automatic_improvements] if args.key?(:automatic_improvements)
|
128
135
|
@automatic_label_ids = args[:automatic_label_ids] if args.key?(:automatic_label_ids)
|
129
136
|
@business_information = args[:business_information] if args.key?(:business_information)
|
130
137
|
@css_id = args[:css_id] if args.key?(:css_id)
|
@@ -221,6 +228,54 @@ module Google
|
|
221
228
|
end
|
222
229
|
end
|
223
230
|
|
231
|
+
# The automatic improvements of the account can be used to automatically update
|
232
|
+
# items, improve images and shipping.
|
233
|
+
class AccountAutomaticImprovements
|
234
|
+
include Google::Apis::Core::Hashable
|
235
|
+
|
236
|
+
# This improvement will attempt to automatically correct submitted images if
|
237
|
+
# they don't meet the [image requirements](https://support.google.com/merchants/
|
238
|
+
# answer/6324350), for example, removing overlays. If successful, the image will
|
239
|
+
# be replaced and approved. This improvement is only applied to images of
|
240
|
+
# disapproved offers. For more information see: [Automatic image improvements](
|
241
|
+
# https://support.google.com/merchants/answer/9242973)
|
242
|
+
# Corresponds to the JSON property `imageImprovements`
|
243
|
+
# @return [Google::Apis::ContentV2_1::AccountImageImprovements]
|
244
|
+
attr_accessor :image_improvements
|
245
|
+
|
246
|
+
# Turning on [item updates](https://support.google.com/merchants/answer/3246284)
|
247
|
+
# allows Google to automatically update items for you. When item updates are on,
|
248
|
+
# Google uses the structured data markup on the website and advanced data
|
249
|
+
# extractors to update the price and availability of the items. When the item
|
250
|
+
# updates are off, items with mismatched data aren't shown.
|
251
|
+
# Corresponds to the JSON property `itemUpdates`
|
252
|
+
# @return [Google::Apis::ContentV2_1::AccountItemUpdates]
|
253
|
+
attr_accessor :item_updates
|
254
|
+
|
255
|
+
# Not available for MCAs [accounts](https://support.google.com/merchants/answer/
|
256
|
+
# 188487). By turning on [automatic shipping improvements](https://support.
|
257
|
+
# google.com/merchants/answer/10027038), you are allowing Google to improve the
|
258
|
+
# accuracy of your delivery times shown to shoppers using Google. More accurate
|
259
|
+
# delivery times, especially when faster, typically lead to better conversion
|
260
|
+
# rates. Google will improve your estimated delivery times based on various
|
261
|
+
# factors: * Delivery address of an order * Current handling time and shipping
|
262
|
+
# time settings * Estimated weekdays or business days * Parcel tracking data
|
263
|
+
# Corresponds to the JSON property `shippingImprovements`
|
264
|
+
# @return [Google::Apis::ContentV2_1::AccountShippingImprovements]
|
265
|
+
attr_accessor :shipping_improvements
|
266
|
+
|
267
|
+
def initialize(**args)
|
268
|
+
update!(**args)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Update properties of this object
|
272
|
+
def update!(**args)
|
273
|
+
@image_improvements = args[:image_improvements] if args.key?(:image_improvements)
|
274
|
+
@item_updates = args[:item_updates] if args.key?(:item_updates)
|
275
|
+
@shipping_improvements = args[:shipping_improvements] if args.key?(:shipping_improvements)
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
224
279
|
#
|
225
280
|
class AccountBusinessInformation
|
226
281
|
include Google::Apis::Core::Hashable
|
@@ -395,6 +450,152 @@ module Google
|
|
395
450
|
end
|
396
451
|
end
|
397
452
|
|
453
|
+
# This improvement will attempt to automatically correct submitted images if
|
454
|
+
# they don't meet the [image requirements](https://support.google.com/merchants/
|
455
|
+
# answer/6324350), for example, removing overlays. If successful, the image will
|
456
|
+
# be replaced and approved. This improvement is only applied to images of
|
457
|
+
# disapproved offers. For more information see: [Automatic image improvements](
|
458
|
+
# https://support.google.com/merchants/answer/9242973)
|
459
|
+
class AccountImageImprovements
|
460
|
+
include Google::Apis::Core::Hashable
|
461
|
+
|
462
|
+
# Settings for the Automatic Image Improvements.
|
463
|
+
# Corresponds to the JSON property `accountImageImprovementsSettings`
|
464
|
+
# @return [Google::Apis::ContentV2_1::AccountImageImprovementsSettings]
|
465
|
+
attr_accessor :account_image_improvements_settings
|
466
|
+
|
467
|
+
# Output only. The effective value of allow_automatic_image_improvements. If
|
468
|
+
# account_image_improvements_settings is present, then this value is the same.
|
469
|
+
# Otherwise, it represents the inherited value of the parent account. Read-only.
|
470
|
+
# Corresponds to the JSON property `effectiveAllowAutomaticImageImprovements`
|
471
|
+
# @return [Boolean]
|
472
|
+
attr_accessor :effective_allow_automatic_image_improvements
|
473
|
+
alias_method :effective_allow_automatic_image_improvements?, :effective_allow_automatic_image_improvements
|
474
|
+
|
475
|
+
def initialize(**args)
|
476
|
+
update!(**args)
|
477
|
+
end
|
478
|
+
|
479
|
+
# Update properties of this object
|
480
|
+
def update!(**args)
|
481
|
+
@account_image_improvements_settings = args[:account_image_improvements_settings] if args.key?(:account_image_improvements_settings)
|
482
|
+
@effective_allow_automatic_image_improvements = args[:effective_allow_automatic_image_improvements] if args.key?(:effective_allow_automatic_image_improvements)
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
# Settings for the Automatic Image Improvements.
|
487
|
+
class AccountImageImprovementsSettings
|
488
|
+
include Google::Apis::Core::Hashable
|
489
|
+
|
490
|
+
# Enables automatic image improvements.
|
491
|
+
# Corresponds to the JSON property `allowAutomaticImageImprovements`
|
492
|
+
# @return [Boolean]
|
493
|
+
attr_accessor :allow_automatic_image_improvements
|
494
|
+
alias_method :allow_automatic_image_improvements?, :allow_automatic_image_improvements
|
495
|
+
|
496
|
+
def initialize(**args)
|
497
|
+
update!(**args)
|
498
|
+
end
|
499
|
+
|
500
|
+
# Update properties of this object
|
501
|
+
def update!(**args)
|
502
|
+
@allow_automatic_image_improvements = args[:allow_automatic_image_improvements] if args.key?(:allow_automatic_image_improvements)
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
# Turning on [item updates](https://support.google.com/merchants/answer/3246284)
|
507
|
+
# allows Google to automatically update items for you. When item updates are on,
|
508
|
+
# Google uses the structured data markup on the website and advanced data
|
509
|
+
# extractors to update the price and availability of the items. When the item
|
510
|
+
# updates are off, items with mismatched data aren't shown.
|
511
|
+
class AccountItemUpdates
|
512
|
+
include Google::Apis::Core::Hashable
|
513
|
+
|
514
|
+
# Settings for the Automatic Item Updates.
|
515
|
+
# Corresponds to the JSON property `accountItemUpdatesSettings`
|
516
|
+
# @return [Google::Apis::ContentV2_1::AccountItemUpdatesSettings]
|
517
|
+
attr_accessor :account_item_updates_settings
|
518
|
+
|
519
|
+
# Output only. The effective value of allow_availability_updates. If
|
520
|
+
# account_item_updates_settings is present, then this value is the same.
|
521
|
+
# Otherwise, it represents the inherited value of the parent account. Read-only.
|
522
|
+
# Corresponds to the JSON property `effectiveAllowAvailabilityUpdates`
|
523
|
+
# @return [Boolean]
|
524
|
+
attr_accessor :effective_allow_availability_updates
|
525
|
+
alias_method :effective_allow_availability_updates?, :effective_allow_availability_updates
|
526
|
+
|
527
|
+
# Output only. The effective value of allow_price_updates. If
|
528
|
+
# account_item_updates_settings is present, then this value is the same.
|
529
|
+
# Otherwise, it represents the inherited value of the parent account. Read-only.
|
530
|
+
# Corresponds to the JSON property `effectiveAllowPriceUpdates`
|
531
|
+
# @return [Boolean]
|
532
|
+
attr_accessor :effective_allow_price_updates
|
533
|
+
alias_method :effective_allow_price_updates?, :effective_allow_price_updates
|
534
|
+
|
535
|
+
# Output only. The effective value of allow_strict_availability_updates. If
|
536
|
+
# account_item_updates_settings is present, then this value is the same.
|
537
|
+
# Otherwise, it represents the inherited value of the parent account. Read-only.
|
538
|
+
# Corresponds to the JSON property `effectiveAllowStrictAvailabilityUpdates`
|
539
|
+
# @return [Boolean]
|
540
|
+
attr_accessor :effective_allow_strict_availability_updates
|
541
|
+
alias_method :effective_allow_strict_availability_updates?, :effective_allow_strict_availability_updates
|
542
|
+
|
543
|
+
def initialize(**args)
|
544
|
+
update!(**args)
|
545
|
+
end
|
546
|
+
|
547
|
+
# Update properties of this object
|
548
|
+
def update!(**args)
|
549
|
+
@account_item_updates_settings = args[:account_item_updates_settings] if args.key?(:account_item_updates_settings)
|
550
|
+
@effective_allow_availability_updates = args[:effective_allow_availability_updates] if args.key?(:effective_allow_availability_updates)
|
551
|
+
@effective_allow_price_updates = args[:effective_allow_price_updates] if args.key?(:effective_allow_price_updates)
|
552
|
+
@effective_allow_strict_availability_updates = args[:effective_allow_strict_availability_updates] if args.key?(:effective_allow_strict_availability_updates)
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
# Settings for the Automatic Item Updates.
|
557
|
+
class AccountItemUpdatesSettings
|
558
|
+
include Google::Apis::Core::Hashable
|
559
|
+
|
560
|
+
# If availability updates are enabled, any previous availability values get
|
561
|
+
# overwritten if Google finds an out-of-stock annotation on the offer's page. If
|
562
|
+
# additionally `allow_availability_updates` field is set to true, values get
|
563
|
+
# overwritten if Google finds an in-stock annotation on the offer’s page.
|
564
|
+
# Corresponds to the JSON property `allowAvailabilityUpdates`
|
565
|
+
# @return [Boolean]
|
566
|
+
attr_accessor :allow_availability_updates
|
567
|
+
alias_method :allow_availability_updates?, :allow_availability_updates
|
568
|
+
|
569
|
+
# If price updates are enabled, Google always updates the active price with the
|
570
|
+
# crawled information.
|
571
|
+
# Corresponds to the JSON property `allowPriceUpdates`
|
572
|
+
# @return [Boolean]
|
573
|
+
attr_accessor :allow_price_updates
|
574
|
+
alias_method :allow_price_updates?, :allow_price_updates
|
575
|
+
|
576
|
+
# If allow_availability_updates is enabled, items are automatically updated in
|
577
|
+
# all your Shopping target countries. By default, availability updates will only
|
578
|
+
# be applied to items that are 'out of stock' on your website but 'in stock' on
|
579
|
+
# Shopping. Set this to true to also update items that are 'in stock' on your
|
580
|
+
# website, but 'out of stock' on Google Shopping. In order for this field to
|
581
|
+
# have an effect, you must also allow availability updates.
|
582
|
+
# Corresponds to the JSON property `allowStrictAvailabilityUpdates`
|
583
|
+
# @return [Boolean]
|
584
|
+
attr_accessor :allow_strict_availability_updates
|
585
|
+
alias_method :allow_strict_availability_updates?, :allow_strict_availability_updates
|
586
|
+
|
587
|
+
def initialize(**args)
|
588
|
+
update!(**args)
|
589
|
+
end
|
590
|
+
|
591
|
+
# Update properties of this object
|
592
|
+
def update!(**args)
|
593
|
+
@allow_availability_updates = args[:allow_availability_updates] if args.key?(:allow_availability_updates)
|
594
|
+
@allow_price_updates = args[:allow_price_updates] if args.key?(:allow_price_updates)
|
595
|
+
@allow_strict_availability_updates = args[:allow_strict_availability_updates] if args.key?(:allow_strict_availability_updates)
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
398
599
|
# Label assigned by CSS domain or CSS group to one of its sub-accounts.
|
399
600
|
class AccountLabel
|
400
601
|
include Google::Apis::Core::Hashable
|
@@ -477,6 +678,33 @@ module Google
|
|
477
678
|
end
|
478
679
|
end
|
479
680
|
|
681
|
+
# Not available for MCAs [accounts](https://support.google.com/merchants/answer/
|
682
|
+
# 188487). By turning on [automatic shipping improvements](https://support.
|
683
|
+
# google.com/merchants/answer/10027038), you are allowing Google to improve the
|
684
|
+
# accuracy of your delivery times shown to shoppers using Google. More accurate
|
685
|
+
# delivery times, especially when faster, typically lead to better conversion
|
686
|
+
# rates. Google will improve your estimated delivery times based on various
|
687
|
+
# factors: * Delivery address of an order * Current handling time and shipping
|
688
|
+
# time settings * Estimated weekdays or business days * Parcel tracking data
|
689
|
+
class AccountShippingImprovements
|
690
|
+
include Google::Apis::Core::Hashable
|
691
|
+
|
692
|
+
# Enables automatic shipping improvements.
|
693
|
+
# Corresponds to the JSON property `allowShippingImprovements`
|
694
|
+
# @return [Boolean]
|
695
|
+
attr_accessor :allow_shipping_improvements
|
696
|
+
alias_method :allow_shipping_improvements?, :allow_shipping_improvements
|
697
|
+
|
698
|
+
def initialize(**args)
|
699
|
+
update!(**args)
|
700
|
+
end
|
701
|
+
|
702
|
+
# Update properties of this object
|
703
|
+
def update!(**args)
|
704
|
+
@allow_shipping_improvements = args[:allow_shipping_improvements] if args.key?(:allow_shipping_improvements)
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
480
708
|
# The status of an account, i.e., information about its products, which is
|
481
709
|
# computed offline and not returned immediately at insertion time.
|
482
710
|
class AccountStatus
|
@@ -2727,9 +2955,7 @@ module Google
|
|
2727
2955
|
|
2728
2956
|
# The list of destinations to include for this target (corresponds to checked
|
2729
2957
|
# check boxes in Merchant Center). Default destinations are always included
|
2730
|
-
# unless provided in `excludedDestinations`.
|
2731
|
-
# available to the account): - DisplayAds - Shopping - ShoppingActions -
|
2732
|
-
# SurfacesAcrossGoogle
|
2958
|
+
# unless provided in `excludedDestinations`.
|
2733
2959
|
# Corresponds to the JSON property `includedDestinations`
|
2734
2960
|
# @return [Array<String>]
|
2735
2961
|
attr_accessor :included_destinations
|
@@ -3091,10 +3317,10 @@ module Google
|
|
3091
3317
|
# day and time zone are either specified elsewhere or are insignificant. The
|
3092
3318
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
3093
3319
|
# following: * A full date, with non-zero year, month, and day values * A month
|
3094
|
-
# and day
|
3095
|
-
#
|
3096
|
-
#
|
3097
|
-
# google.protobuf.Timestamp
|
3320
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
3321
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
3322
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
3323
|
+
# DateTime * google.protobuf.Timestamp
|
3098
3324
|
class Date
|
3099
3325
|
include Google::Apis::Core::Hashable
|
3100
3326
|
|
@@ -10013,12 +10239,27 @@ module Google
|
|
10013
10239
|
class PosStore
|
10014
10240
|
include Google::Apis::Core::Hashable
|
10015
10241
|
|
10242
|
+
# The business type of the store.
|
10243
|
+
# Corresponds to the JSON property `gcidCategory`
|
10244
|
+
# @return [Array<String>]
|
10245
|
+
attr_accessor :gcid_category
|
10246
|
+
|
10016
10247
|
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
10017
10248
|
# posStore`"
|
10018
10249
|
# Corresponds to the JSON property `kind`
|
10019
10250
|
# @return [String]
|
10020
10251
|
attr_accessor :kind
|
10021
10252
|
|
10253
|
+
# The store phone number.
|
10254
|
+
# Corresponds to the JSON property `phoneNumber`
|
10255
|
+
# @return [String]
|
10256
|
+
attr_accessor :phone_number
|
10257
|
+
|
10258
|
+
# The Google Place Id of the store location.
|
10259
|
+
# Corresponds to the JSON property `placeId`
|
10260
|
+
# @return [String]
|
10261
|
+
attr_accessor :place_id
|
10262
|
+
|
10022
10263
|
# Required. The street address of the store.
|
10023
10264
|
# Corresponds to the JSON property `storeAddress`
|
10024
10265
|
# @return [String]
|
@@ -10029,15 +10270,30 @@ module Google
|
|
10029
10270
|
# @return [String]
|
10030
10271
|
attr_accessor :store_code
|
10031
10272
|
|
10273
|
+
# The merchant or store name.
|
10274
|
+
# Corresponds to the JSON property `storeName`
|
10275
|
+
# @return [String]
|
10276
|
+
attr_accessor :store_name
|
10277
|
+
|
10278
|
+
# The website url for the store or merchant.
|
10279
|
+
# Corresponds to the JSON property `websiteUrl`
|
10280
|
+
# @return [String]
|
10281
|
+
attr_accessor :website_url
|
10282
|
+
|
10032
10283
|
def initialize(**args)
|
10033
10284
|
update!(**args)
|
10034
10285
|
end
|
10035
10286
|
|
10036
10287
|
# Update properties of this object
|
10037
10288
|
def update!(**args)
|
10289
|
+
@gcid_category = args[:gcid_category] if args.key?(:gcid_category)
|
10038
10290
|
@kind = args[:kind] if args.key?(:kind)
|
10291
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
10292
|
+
@place_id = args[:place_id] if args.key?(:place_id)
|
10039
10293
|
@store_address = args[:store_address] if args.key?(:store_address)
|
10040
10294
|
@store_code = args[:store_code] if args.key?(:store_code)
|
10295
|
+
@store_name = args[:store_name] if args.key?(:store_name)
|
10296
|
+
@website_url = args[:website_url] if args.key?(:website_url)
|
10041
10297
|
end
|
10042
10298
|
end
|
10043
10299
|
|
@@ -12440,10 +12696,10 @@ module Google
|
|
12440
12696
|
# day and time zone are either specified elsewhere or are insignificant. The
|
12441
12697
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
12442
12698
|
# following: * A full date, with non-zero year, month, and day values * A month
|
12443
|
-
# and day
|
12444
|
-
#
|
12445
|
-
#
|
12446
|
-
# google.protobuf.Timestamp
|
12699
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
12700
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
12701
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
12702
|
+
# DateTime * google.protobuf.Timestamp
|
12447
12703
|
# Corresponds to the JSON property `date`
|
12448
12704
|
# @return [Google::Apis::ContentV2_1::Date]
|
12449
12705
|
attr_accessor :date
|
@@ -12788,10 +13044,10 @@ module Google
|
|
12788
13044
|
# day and time zone are either specified elsewhere or are insignificant. The
|
12789
13045
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
12790
13046
|
# following: * A full date, with non-zero year, month, and day values * A month
|
12791
|
-
# and day
|
12792
|
-
#
|
12793
|
-
#
|
12794
|
-
# google.protobuf.Timestamp
|
13047
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
13048
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
13049
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
13050
|
+
# DateTime * google.protobuf.Timestamp
|
12795
13051
|
# Corresponds to the JSON property `date`
|
12796
13052
|
# @return [Google::Apis::ContentV2_1::Date]
|
12797
13053
|
attr_accessor :date
|
@@ -14155,10 +14411,10 @@ module Google
|
|
14155
14411
|
# day and time zone are either specified elsewhere or are insignificant. The
|
14156
14412
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
14157
14413
|
# following: * A full date, with non-zero year, month, and day values * A month
|
14158
|
-
# and day
|
14159
|
-
#
|
14160
|
-
#
|
14161
|
-
# google.protobuf.Timestamp
|
14414
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
14415
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
14416
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
14417
|
+
# DateTime * google.protobuf.Timestamp
|
14162
14418
|
# Corresponds to the JSON property `date`
|
14163
14419
|
# @return [Google::Apis::ContentV2_1::Date]
|
14164
14420
|
attr_accessor :date
|
@@ -14217,10 +14473,10 @@ module Google
|
|
14217
14473
|
# day and time zone are either specified elsewhere or are insignificant. The
|
14218
14474
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
14219
14475
|
# following: * A full date, with non-zero year, month, and day values * A month
|
14220
|
-
# and day
|
14221
|
-
#
|
14222
|
-
#
|
14223
|
-
# google.protobuf.Timestamp
|
14476
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
14477
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
14478
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
14479
|
+
# DateTime * google.protobuf.Timestamp
|
14224
14480
|
# Corresponds to the JSON property `week`
|
14225
14481
|
# @return [Google::Apis::ContentV2_1::Date]
|
14226
14482
|
attr_accessor :week
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContentV2_1
|
18
18
|
# Version of the google-apis-content_v2_1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class AccountAutomaticImprovements
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class AccountBusinessInformation
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -70,6 +76,30 @@ module Google
|
|
70
76
|
include Google::Apis::Core::JsonObjectSupport
|
71
77
|
end
|
72
78
|
|
79
|
+
class AccountImageImprovements
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class AccountImageImprovementsSettings
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class AccountItemUpdates
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class AccountItemUpdatesSettings
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
73
103
|
class AccountLabel
|
74
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
105
|
|
@@ -82,6 +112,12 @@ module Google
|
|
82
112
|
include Google::Apis::Core::JsonObjectSupport
|
83
113
|
end
|
84
114
|
|
115
|
+
class AccountShippingImprovements
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
85
121
|
class AccountStatus
|
86
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
123
|
|
@@ -2339,6 +2375,8 @@ module Google
|
|
2339
2375
|
collection :ads_links, as: 'adsLinks', class: Google::Apis::ContentV2_1::AccountAdsLink, decorator: Google::Apis::ContentV2_1::AccountAdsLink::Representation
|
2340
2376
|
|
2341
2377
|
property :adult_content, as: 'adultContent'
|
2378
|
+
property :automatic_improvements, as: 'automaticImprovements', class: Google::Apis::ContentV2_1::AccountAutomaticImprovements, decorator: Google::Apis::ContentV2_1::AccountAutomaticImprovements::Representation
|
2379
|
+
|
2342
2380
|
collection :automatic_label_ids, as: 'automaticLabelIds'
|
2343
2381
|
property :business_information, as: 'businessInformation', class: Google::Apis::ContentV2_1::AccountBusinessInformation, decorator: Google::Apis::ContentV2_1::AccountBusinessInformation::Representation
|
2344
2382
|
|
@@ -2377,6 +2415,18 @@ module Google
|
|
2377
2415
|
end
|
2378
2416
|
end
|
2379
2417
|
|
2418
|
+
class AccountAutomaticImprovements
|
2419
|
+
# @private
|
2420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2421
|
+
property :image_improvements, as: 'imageImprovements', class: Google::Apis::ContentV2_1::AccountImageImprovements, decorator: Google::Apis::ContentV2_1::AccountImageImprovements::Representation
|
2422
|
+
|
2423
|
+
property :item_updates, as: 'itemUpdates', class: Google::Apis::ContentV2_1::AccountItemUpdates, decorator: Google::Apis::ContentV2_1::AccountItemUpdates::Representation
|
2424
|
+
|
2425
|
+
property :shipping_improvements, as: 'shippingImprovements', class: Google::Apis::ContentV2_1::AccountShippingImprovements, decorator: Google::Apis::ContentV2_1::AccountShippingImprovements::Representation
|
2426
|
+
|
2427
|
+
end
|
2428
|
+
end
|
2429
|
+
|
2380
2430
|
class AccountBusinessInformation
|
2381
2431
|
# @private
|
2382
2432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2425,6 +2475,42 @@ module Google
|
|
2425
2475
|
end
|
2426
2476
|
end
|
2427
2477
|
|
2478
|
+
class AccountImageImprovements
|
2479
|
+
# @private
|
2480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2481
|
+
property :account_image_improvements_settings, as: 'accountImageImprovementsSettings', class: Google::Apis::ContentV2_1::AccountImageImprovementsSettings, decorator: Google::Apis::ContentV2_1::AccountImageImprovementsSettings::Representation
|
2482
|
+
|
2483
|
+
property :effective_allow_automatic_image_improvements, as: 'effectiveAllowAutomaticImageImprovements'
|
2484
|
+
end
|
2485
|
+
end
|
2486
|
+
|
2487
|
+
class AccountImageImprovementsSettings
|
2488
|
+
# @private
|
2489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2490
|
+
property :allow_automatic_image_improvements, as: 'allowAutomaticImageImprovements'
|
2491
|
+
end
|
2492
|
+
end
|
2493
|
+
|
2494
|
+
class AccountItemUpdates
|
2495
|
+
# @private
|
2496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2497
|
+
property :account_item_updates_settings, as: 'accountItemUpdatesSettings', class: Google::Apis::ContentV2_1::AccountItemUpdatesSettings, decorator: Google::Apis::ContentV2_1::AccountItemUpdatesSettings::Representation
|
2498
|
+
|
2499
|
+
property :effective_allow_availability_updates, as: 'effectiveAllowAvailabilityUpdates'
|
2500
|
+
property :effective_allow_price_updates, as: 'effectiveAllowPriceUpdates'
|
2501
|
+
property :effective_allow_strict_availability_updates, as: 'effectiveAllowStrictAvailabilityUpdates'
|
2502
|
+
end
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
class AccountItemUpdatesSettings
|
2506
|
+
# @private
|
2507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2508
|
+
property :allow_availability_updates, as: 'allowAvailabilityUpdates'
|
2509
|
+
property :allow_price_updates, as: 'allowPriceUpdates'
|
2510
|
+
property :allow_strict_availability_updates, as: 'allowStrictAvailabilityUpdates'
|
2511
|
+
end
|
2512
|
+
end
|
2513
|
+
|
2428
2514
|
class AccountLabel
|
2429
2515
|
# @private
|
2430
2516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2446,6 +2532,13 @@ module Google
|
|
2446
2532
|
end
|
2447
2533
|
end
|
2448
2534
|
|
2535
|
+
class AccountShippingImprovements
|
2536
|
+
# @private
|
2537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2538
|
+
property :allow_shipping_improvements, as: 'allowShippingImprovements'
|
2539
|
+
end
|
2540
|
+
end
|
2541
|
+
|
2449
2542
|
class AccountStatus
|
2450
2543
|
# @private
|
2451
2544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5043,9 +5136,14 @@ module Google
|
|
5043
5136
|
class PosStore
|
5044
5137
|
# @private
|
5045
5138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5139
|
+
collection :gcid_category, as: 'gcidCategory'
|
5046
5140
|
property :kind, as: 'kind'
|
5141
|
+
property :phone_number, as: 'phoneNumber'
|
5142
|
+
property :place_id, as: 'placeId'
|
5047
5143
|
property :store_address, as: 'storeAddress'
|
5048
5144
|
property :store_code, as: 'storeCode'
|
5145
|
+
property :store_name, as: 'storeName'
|
5146
|
+
property :website_url, as: 'websiteUrl'
|
5049
5147
|
end
|
5050
5148
|
end
|
5051
5149
|
|
@@ -84,9 +84,10 @@ module Google
|
|
84
84
|
# @param [Fixnum] account_id
|
85
85
|
# The ID of the account whose website is claimed.
|
86
86
|
# @param [Boolean] overwrite
|
87
|
-
# Only available to selected merchants
|
88
|
-
#
|
89
|
-
# with a claim from
|
87
|
+
# Only available to selected merchants, for example multi-client accounts (MCAs)
|
88
|
+
# and their sub-accounts. When set to `True`, this flag removes any existing
|
89
|
+
# claim on the requested website and replaces it with a claim from the account
|
90
|
+
# that makes the request.
|
90
91
|
# @param [String] fields
|
91
92
|
# Selector specifying which fields to include in a partial response.
|
92
93
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-content_v2_1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Content API for Shopping V2_1
|