Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4240bb4

Browse files
committedMay 24, 2023
feat(paymentsresellersubscription): update the api
#### paymentsresellersubscription:v1 The following keys were added: - schemas.GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.properties.lineItemIndex (Total Keys: 3)
1 parent 4f66a2c commit 4240bb4

File tree

2 files changed

+36
-22
lines changed

2 files changed

+36
-22
lines changed
 

‎docs/dyn/paymentsresellersubscription_v1.partners.subscriptions.html

+26-18
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
8888
<p class="firstline">Used by partners to entitle a previously provisioned subscription to the current end user. The end user identity is inferred from the authorized credential of the request. This API must be authorized by the end user using OAuth.</p>
8989
<p class="toc_element">
9090
<code><a href="#extend">extend(name, body=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">[Deprecated] New partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.</p>
91+
<p class="firstline">[Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.</p>
9292
<p class="toc_element">
9393
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Used by partners to get a subscription by id. It should be called directly by the partner using service accounts.</p>
@@ -138,6 +138,7 @@ <h3>Method Details</h3>
138138
},
139139
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
140140
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
141+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
141142
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
142143
{ # Describes the spec for one promotion.
143144
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -169,7 +170,7 @@ <h3>Method Details</h3>
169170
},
170171
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
171172
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
172-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
173+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
173174
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
174175
&quot;A String&quot;,
175176
],
@@ -190,7 +191,7 @@ <h3>Method Details</h3>
190191
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
191192
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
192193
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
193-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
194+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
194195
&quot;A String&quot;,
195196
],
196197
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.
@@ -265,6 +266,7 @@ <h3>Method Details</h3>
265266
},
266267
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
267268
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
269+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
268270
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
269271
{ # Describes the spec for one promotion.
270272
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -296,7 +298,7 @@ <h3>Method Details</h3>
296298
},
297299
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
298300
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
299-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
301+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
300302
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
301303
&quot;A String&quot;,
302304
],
@@ -317,7 +319,7 @@ <h3>Method Details</h3>
317319
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
318320
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
319321
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
320-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
322+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
321323
&quot;A String&quot;,
322324
],
323325
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.
@@ -385,6 +387,7 @@ <h3>Method Details</h3>
385387
},
386388
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
387389
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
390+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
388391
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
389392
{ # Describes the spec for one promotion.
390393
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -416,7 +419,7 @@ <h3>Method Details</h3>
416419
},
417420
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
418421
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
419-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
422+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
420423
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
421424
&quot;A String&quot;,
422425
],
@@ -437,7 +440,7 @@ <h3>Method Details</h3>
437440
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
438441
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
439442
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
440-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
443+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
441444
&quot;A String&quot;,
442445
],
443446
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.
@@ -518,6 +521,7 @@ <h3>Method Details</h3>
518521
},
519522
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
520523
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
524+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
521525
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
522526
{ # Describes the spec for one promotion.
523527
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -549,7 +553,7 @@ <h3>Method Details</h3>
549553
},
550554
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
551555
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
552-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
556+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
553557
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
554558
&quot;A String&quot;,
555559
],
@@ -570,7 +574,7 @@ <h3>Method Details</h3>
570574
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
571575
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
572576
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
573-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
577+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
574578
&quot;A String&quot;,
575579
],
576580
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.
@@ -617,7 +621,7 @@ <h3>Method Details</h3>
617621

618622
<div class="method">
619623
<code class="details" id="extend">extend(name, body=None, x__xgafv=None)</code>
620-
<pre>[Deprecated] New partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.
624+
<pre>[Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.
621625

622626
Args:
623627
name: string, Required. The name of the subscription resource to be extended. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. (required)
@@ -680,6 +684,7 @@ <h3>Method Details</h3>
680684
},
681685
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
682686
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
687+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
683688
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
684689
{ # Describes the spec for one promotion.
685690
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -711,7 +716,7 @@ <h3>Method Details</h3>
711716
},
712717
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
713718
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
714-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
719+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
715720
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
716721
&quot;A String&quot;,
717722
],
@@ -732,7 +737,7 @@ <h3>Method Details</h3>
732737
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
733738
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
734739
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
735-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
740+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
736741
&quot;A String&quot;,
737742
],
738743
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.
@@ -801,6 +806,7 @@ <h3>Method Details</h3>
801806
},
802807
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
803808
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
809+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
804810
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
805811
{ # Describes the spec for one promotion.
806812
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -832,7 +838,7 @@ <h3>Method Details</h3>
832838
},
833839
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
834840
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
835-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
841+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
836842
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
837843
&quot;A String&quot;,
838844
],
@@ -853,7 +859,7 @@ <h3>Method Details</h3>
853859
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
854860
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
855861
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
856-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
862+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
857863
&quot;A String&quot;,
858864
],
859865
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.
@@ -921,6 +927,7 @@ <h3>Method Details</h3>
921927
},
922928
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
923929
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
930+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
924931
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
925932
{ # Describes the spec for one promotion.
926933
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -952,7 +959,7 @@ <h3>Method Details</h3>
952959
},
953960
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
954961
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
955-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
962+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
956963
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
957964
&quot;A String&quot;,
958965
],
@@ -973,7 +980,7 @@ <h3>Method Details</h3>
973980
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
974981
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
975982
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
976-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
983+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
977984
&quot;A String&quot;,
978985
],
979986
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.
@@ -1054,6 +1061,7 @@ <h3>Method Details</h3>
10541061
},
10551062
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of this line item.
10561063
&quot;lineItemFreeTrialEndTime&quot;: &quot;A String&quot;, # Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, &quot;2019-08-31T17:28:54.564Z&quot;. It will be set the same as createTime if no free trial promotion is specified.
1064+
&quot;lineItemIndex&quot;: 42, # Output only. A unique index of the subscription line item.
10571065
&quot;lineItemPromotionSpecs&quot;: [ # Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.
10581066
{ # Describes the spec for one promotion.
10591067
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.
@@ -1085,7 +1093,7 @@ <h3>Method Details</h3>
10851093
},
10861094
&quot;product&quot;: &quot;A String&quot;, # Required. Product resource name that identifies one the line item The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
10871095
&quot;productPayload&quot;: { # Specifies product specific payload. # Optional. Product specific payload for this line item.
1088-
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Payload specific to Google One products.
1096+
&quot;googleOnePayload&quot;: { # Payload specific to Google One products. # Product-specific payloads. Payload specific to Google One products.
10891097
&quot;campaigns&quot;: [ # Campaign attributed to sales of this subscription.
10901098
&quot;A String&quot;,
10911099
],
@@ -1106,7 +1114,7 @@ <h3>Method Details</h3>
11061114
&quot;name&quot;: &quot;A String&quot;, # Optional. Resource name of the subscription. It will have the format of &quot;partners/{partner_id}/subscriptions/{subscription_id}&quot;. This is available for authorizeAddon, but otherwise is response only.
11071115
&quot;partnerUserToken&quot;: &quot;A String&quot;, # Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum.
11081116
&quot;processingState&quot;: &quot;A String&quot;, # Output only. Describes the processing state of the subscription. See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).
1109-
&quot;products&quot;: [ # Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
1117+
&quot;products&quot;: [ # Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be &#x27;partners/{partner_id}/products/{product_id}&#x27;.
11101118
&quot;A String&quot;,
11111119
],
11121120
&quot;promotionSpecs&quot;: [ # Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input.

‎googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json

+10-4
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
}
291291
},
292292
"extend": {
293-
"description": "[Deprecated] New partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.",
293+
"description": "[Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.",
294294
"flatPath": "v1/partners/{partnersId}/subscriptions/{subscriptionsId}:extend",
295295
"httpMethod": "POST",
296296
"id": "paymentsresellersubscription.partners.subscriptions.extend",
@@ -396,7 +396,7 @@
396396
}
397397
}
398398
},
399-
"revision": "20230416",
399+
"revision": "20230522",
400400
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
401401
"schemas": {
402402
"GoogleCloudPaymentsResellerSubscriptionV1Amount": {
@@ -744,7 +744,7 @@
744744
"properties": {
745745
"googleOnePayload": {
746746
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload",
747-
"description": "Payload specific to Google One products."
747+
"description": "Product-specific payloads. Payload specific to Google One products."
748748
},
749749
"youtubePayload": {
750750
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload",
@@ -962,7 +962,7 @@
962962
"type": "string"
963963
},
964964
"products": {
965-
"description": "Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be 'partners/{partner_id}/products/{product_id}'.",
965+
"description": "Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be 'partners/{partner_id}/products/{product_id}'.",
966966
"items": {
967967
"type": "string"
968968
},
@@ -1088,6 +1088,12 @@
10881088
"readOnly": true,
10891089
"type": "string"
10901090
},
1091+
"lineItemIndex": {
1092+
"description": "Output only. A unique index of the subscription line item.",
1093+
"format": "int32",
1094+
"readOnly": true,
1095+
"type": "integer"
1096+
},
10911097
"lineItemPromotionSpecs": {
10921098
"description": "Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing promotion. When used as input in Create or Provision API, specify its resource name only.",
10931099
"items": {

0 commit comments

Comments
 (0)
Please sign in to comment.