google-apis-content_v2_1 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7809653730f655594b522bc0e2c1f8fb8e23a1cfeae599c01086feb9a28b0e91
4
- data.tar.gz: a2f83532b456319d48b8163e03f054cac1007a4acdaff58cc7a4d266e5365c5b
3
+ metadata.gz: 7d790df2c988c18e9ce9d3827ab5f1a8695d52a916efc5db89a943d5cfd3a645
4
+ data.tar.gz: 126f342f2a8cff245f549d40bc078a6a7fbf9118b81af61fd9f1b0e766729877
5
5
  SHA512:
6
- metadata.gz: 85143f49bf9ffe86f18eac60cfa18dcaa1e8914d5bc8d469f2e796bae15f263653b9001c4dec65197b5661aef44db636e55f8904a5e57e44e822d80c7e31f202
7
- data.tar.gz: 07f98fbc638b49946f06c5ced3d3b120c474f163d80c03bb3306f6d1cca31dd0e348fdb78082a1fa40e17679b361251d4128b8bca899d7b75bacaf1a7e04824e
6
+ metadata.gz: 3e9b148f6a67cfe9be070e0f609b83d3f2332aa78ae3580cb35c91e368dee36cc442b5b12c526cbb86cca70a3ca797ca58680738b3d38a5c24f782db3dea3389
7
+ data.tar.gz: b3ff3e03f7142cfd080fee4248a00e902af3591fe988967778c5a2159e93f25564ccd0a8d416097d1c0b5203eed2ee69c57d5f9f7f58624a4af834343b26a4aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.26.0 (2021-11-02)
4
+
5
+ * Regenerated from discovery document revision 20211027
6
+
3
7
  ### v0.25.0 (2021-10-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20211021
@@ -11838,11 +11838,21 @@ module Google
11838
11838
  # @return [String]
11839
11839
  attr_accessor :promotion_display_dates
11840
11840
 
11841
+ # A message that represents a time period.
11842
+ # Corresponds to the JSON property `promotionDisplayTimePeriod`
11843
+ # @return [Google::Apis::ContentV2_1::TimePeriod]
11844
+ attr_accessor :promotion_display_time_period
11845
+
11841
11846
  # Required. String representation of the promotion effective dates.
11842
11847
  # Corresponds to the JSON property `promotionEffectiveDates`
11843
11848
  # @return [String]
11844
11849
  attr_accessor :promotion_effective_dates
11845
11850
 
11851
+ # A message that represents a time period.
11852
+ # Corresponds to the JSON property `promotionEffectiveTimePeriod`
11853
+ # @return [Google::Apis::ContentV2_1::TimePeriod]
11854
+ attr_accessor :promotion_effective_time_period
11855
+
11846
11856
  # Required. The user provided promotion id to uniquely identify the promotion.
11847
11857
  # Corresponds to the JSON property `promotionId`
11848
11858
  # @return [String]
@@ -11899,7 +11909,9 @@ module Google
11899
11909
  @product_type_exclusion = args[:product_type_exclusion] if args.key?(:product_type_exclusion)
11900
11910
  @promotion_destination_ids = args[:promotion_destination_ids] if args.key?(:promotion_destination_ids)
11901
11911
  @promotion_display_dates = args[:promotion_display_dates] if args.key?(:promotion_display_dates)
11912
+ @promotion_display_time_period = args[:promotion_display_time_period] if args.key?(:promotion_display_time_period)
11902
11913
  @promotion_effective_dates = args[:promotion_effective_dates] if args.key?(:promotion_effective_dates)
11914
+ @promotion_effective_time_period = args[:promotion_effective_time_period] if args.key?(:promotion_effective_time_period)
11903
11915
  @promotion_id = args[:promotion_id] if args.key?(:promotion_id)
11904
11916
  @redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
11905
11917
  @shipping_service_names = args[:shipping_service_names] if args.key?(:shipping_service_names)
@@ -15580,6 +15592,31 @@ module Google
15580
15592
  end
15581
15593
  end
15582
15594
 
15595
+ # A message that represents a time period.
15596
+ class TimePeriod
15597
+ include Google::Apis::Core::Hashable
15598
+
15599
+ # The ending timestamp.
15600
+ # Corresponds to the JSON property `endTime`
15601
+ # @return [String]
15602
+ attr_accessor :end_time
15603
+
15604
+ # The starting timestamp.
15605
+ # Corresponds to the JSON property `startTime`
15606
+ # @return [String]
15607
+ attr_accessor :start_time
15608
+
15609
+ def initialize(**args)
15610
+ update!(**args)
15611
+ end
15612
+
15613
+ # Update properties of this object
15614
+ def update!(**args)
15615
+ @end_time = args[:end_time] if args.key?(:end_time)
15616
+ @start_time = args[:start_time] if args.key?(:start_time)
15617
+ end
15618
+ end
15619
+
15583
15620
  # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
15584
15621
  # time-zones).
15585
15622
  class TimeZone
@@ -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.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211021"
25
+ REVISION = "20211027"
26
26
  end
27
27
  end
28
28
  end
@@ -2242,6 +2242,12 @@ module Google
2242
2242
  include Google::Apis::Core::JsonObjectSupport
2243
2243
  end
2244
2244
 
2245
+ class TimePeriod
2246
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2247
+
2248
+ include Google::Apis::Core::JsonObjectSupport
2249
+ end
2250
+
2245
2251
  class TimeZone
2246
2252
  class Representation < Google::Apis::Core::JsonRepresentation; end
2247
2253
 
@@ -5485,7 +5491,11 @@ module Google
5485
5491
  collection :product_type_exclusion, as: 'productTypeExclusion'
5486
5492
  collection :promotion_destination_ids, as: 'promotionDestinationIds'
5487
5493
  property :promotion_display_dates, as: 'promotionDisplayDates'
5494
+ property :promotion_display_time_period, as: 'promotionDisplayTimePeriod', class: Google::Apis::ContentV2_1::TimePeriod, decorator: Google::Apis::ContentV2_1::TimePeriod::Representation
5495
+
5488
5496
  property :promotion_effective_dates, as: 'promotionEffectiveDates'
5497
+ property :promotion_effective_time_period, as: 'promotionEffectiveTimePeriod', class: Google::Apis::ContentV2_1::TimePeriod, decorator: Google::Apis::ContentV2_1::TimePeriod::Representation
5498
+
5489
5499
  property :promotion_id, as: 'promotionId'
5490
5500
  collection :redemption_channel, as: 'redemptionChannel'
5491
5501
  collection :shipping_service_names, as: 'shippingServiceNames'
@@ -6499,6 +6509,14 @@ module Google
6499
6509
  end
6500
6510
  end
6501
6511
 
6512
+ class TimePeriod
6513
+ # @private
6514
+ class Representation < Google::Apis::Core::JsonRepresentation
6515
+ property :end_time, as: 'endTime'
6516
+ property :start_time, as: 'startTime'
6517
+ end
6518
+ end
6519
+
6502
6520
  class TimeZone
6503
6521
  # @private
6504
6522
  class Representation < Google::Apis::Core::JsonRepresentation
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.25.0
4
+ version: 0.26.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-08 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.26.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: []