Skip to content

Commit 037b9e1

Browse files
feat(content): update the api
#### content:v2.1 The following keys were added: - schemas.Promotion.properties.promotionDisplayTimePeriod.$ref (Total Keys: 1) - schemas.Promotion.properties.promotionEffectiveTimePeriod.$ref (Total Keys: 1) - schemas.TimePeriod (Total Keys: 6)
1 parent 039bca7 commit 037b9e1

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

docs/dyn/content_v2_1.promotions.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,15 @@ <h3>Method Details</h3>
161161
&quot;A String&quot;,
162162
],
163163
&quot;promotionDisplayDates&quot;: &quot;A String&quot;, # String representation of the promotion display dates.
164+
&quot;promotionDisplayTimePeriod&quot;: { # A message that represents a time period. # TimePeriod representation of the promotion display dates.
165+
&quot;endTime&quot;: &quot;A String&quot;, # The ending timestamp.
166+
&quot;startTime&quot;: &quot;A String&quot;, # The starting timestamp.
167+
},
164168
&quot;promotionEffectiveDates&quot;: &quot;A String&quot;, # Required. String representation of the promotion effective dates.
169+
&quot;promotionEffectiveTimePeriod&quot;: { # A message that represents a time period. # Required. TimePeriod representation of the promotion effective dates.
170+
&quot;endTime&quot;: &quot;A String&quot;, # The ending timestamp.
171+
&quot;startTime&quot;: &quot;A String&quot;, # The starting timestamp.
172+
},
165173
&quot;promotionId&quot;: &quot;A String&quot;, # Required. The user provided promotion id to uniquely identify the promotion.
166174
&quot;redemptionChannel&quot;: [ # Required. Redemption channel for the promotion. At least one channel is required.
167175
&quot;A String&quot;,
@@ -243,7 +251,15 @@ <h3>Method Details</h3>
243251
&quot;A String&quot;,
244252
],
245253
&quot;promotionDisplayDates&quot;: &quot;A String&quot;, # String representation of the promotion display dates.
254+
&quot;promotionDisplayTimePeriod&quot;: { # A message that represents a time period. # TimePeriod representation of the promotion display dates.
255+
&quot;endTime&quot;: &quot;A String&quot;, # The ending timestamp.
256+
&quot;startTime&quot;: &quot;A String&quot;, # The starting timestamp.
257+
},
246258
&quot;promotionEffectiveDates&quot;: &quot;A String&quot;, # Required. String representation of the promotion effective dates.
259+
&quot;promotionEffectiveTimePeriod&quot;: { # A message that represents a time period. # Required. TimePeriod representation of the promotion effective dates.
260+
&quot;endTime&quot;: &quot;A String&quot;, # The ending timestamp.
261+
&quot;startTime&quot;: &quot;A String&quot;, # The starting timestamp.
262+
},
247263
&quot;promotionId&quot;: &quot;A String&quot;, # Required. The user provided promotion id to uniquely identify the promotion.
248264
&quot;redemptionChannel&quot;: [ # Required. Redemption channel for the promotion. At least one channel is required.
249265
&quot;A String&quot;,
@@ -333,7 +349,15 @@ <h3>Method Details</h3>
333349
&quot;A String&quot;,
334350
],
335351
&quot;promotionDisplayDates&quot;: &quot;A String&quot;, # String representation of the promotion display dates.
352+
&quot;promotionDisplayTimePeriod&quot;: { # A message that represents a time period. # TimePeriod representation of the promotion display dates.
353+
&quot;endTime&quot;: &quot;A String&quot;, # The ending timestamp.
354+
&quot;startTime&quot;: &quot;A String&quot;, # The starting timestamp.
355+
},
336356
&quot;promotionEffectiveDates&quot;: &quot;A String&quot;, # Required. String representation of the promotion effective dates.
357+
&quot;promotionEffectiveTimePeriod&quot;: { # A message that represents a time period. # Required. TimePeriod representation of the promotion effective dates.
358+
&quot;endTime&quot;: &quot;A String&quot;, # The ending timestamp.
359+
&quot;startTime&quot;: &quot;A String&quot;, # The starting timestamp.
360+
},
337361
&quot;promotionId&quot;: &quot;A String&quot;, # Required. The user provided promotion id to uniquely identify the promotion.
338362
&quot;redemptionChannel&quot;: [ # Required. Redemption channel for the promotion. At least one channel is required.
339363
&quot;A String&quot;,

googleapiclient/discovery_cache/documents/content.v2.1.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5815,7 +5815,7 @@
58155815
}
58165816
}
58175817
},
5818-
"revision": "20211021",
5818+
"revision": "20211027",
58195819
"rootUrl": "https://shoppingcontent.googleapis.com/",
58205820
"schemas": {
58215821
"Account": {
@@ -13306,10 +13306,18 @@
1330613306
"description": "String representation of the promotion display dates.",
1330713307
"type": "string"
1330813308
},
13309+
"promotionDisplayTimePeriod": {
13310+
"$ref": "TimePeriod",
13311+
"description": "TimePeriod representation of the promotion display dates."
13312+
},
1330913313
"promotionEffectiveDates": {
1331013314
"description": "Required. String representation of the promotion effective dates.",
1331113315
"type": "string"
1331213316
},
13317+
"promotionEffectiveTimePeriod": {
13318+
"$ref": "TimePeriod",
13319+
"description": "Required. TimePeriod representation of the promotion effective dates."
13320+
},
1331313321
"promotionId": {
1331413322
"description": "Required. The user provided promotion id to uniquely identify the promotion.",
1331513323
"type": "string"
@@ -15738,6 +15746,23 @@
1573815746
},
1573915747
"type": "object"
1574015748
},
15749+
"TimePeriod": {
15750+
"description": "A message that represents a time period.",
15751+
"id": "TimePeriod",
15752+
"properties": {
15753+
"endTime": {
15754+
"description": "The ending timestamp.",
15755+
"format": "google-datetime",
15756+
"type": "string"
15757+
},
15758+
"startTime": {
15759+
"description": "The starting timestamp.",
15760+
"format": "google-datetime",
15761+
"type": "string"
15762+
}
15763+
},
15764+
"type": "object"
15765+
},
1574115766
"TimeZone": {
1574215767
"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).",
1574315768
"id": "TimeZone",

googleapiclient/discovery_cache/documents/content.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3298,7 +3298,7 @@
32983298
}
32993299
}
33003300
},
3301-
"revision": "20211021",
3301+
"revision": "20211027",
33023302
"rootUrl": "https://shoppingcontent.googleapis.com/",
33033303
"schemas": {
33043304
"Account": {

0 commit comments

Comments
 (0)