From e6983842f59a77c71fbd74e35711a404fe46e780 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 13 Sep 2022 07:20:03 +0000 Subject: [PATCH] feat(paymentsresellersubscription): update the api #### paymentsresellersubscription:v1 The following keys were added: - schemas.GoogleCloudPaymentsResellerSubscriptionV1Amount (Total Keys: 5) - schemas.GoogleCloudPaymentsResellerSubscriptionV1Product.properties.priceConfigs (Total Keys: 3) - schemas.GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig (Total Keys: 6) - schemas.GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec.properties.discountAmount (Total Keys: 2) - schemas.GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec.properties.discountRatioMicros (Total Keys: 3) --- ...llersubscription_v1.partners.products.html | 11 ++- ...ersubscription_v1.partners.promotions.html | 14 +++- ...ubscription_v1.partners.subscriptions.html | 80 +++++++++++++++++++ .../paymentsresellersubscription.v1.json | 60 +++++++++++++- 4 files changed, 158 insertions(+), 7 deletions(-) diff --git a/docs/dyn/paymentsresellersubscription_v1.partners.products.html b/docs/dyn/paymentsresellersubscription_v1.partners.products.html index 3ad6d6b0ee5..24bf3bdcf85 100644 --- a/docs/dyn/paymentsresellersubscription_v1.partners.products.html +++ b/docs/dyn/paymentsresellersubscription_v1.partners.products.html @@ -95,7 +95,7 @@

Method Details

Args: parent: string, Required. The parent, the partner that can resell. Format: partners/{partner} (required) - filter: string, Optional. Specifies the filters for the product results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id` + filter: string, Optional. Specifies the filters for the product results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `regionCodes` - `youtubePayload.partnerEligibilityId` - `youtubePayload.postalCode` - Unless explicitly mentioned above, other features are not supported. Example: `regionCodes:US AND youtubePayload.postalCode=94043 AND youtubePayload.partnerEligibilityId=eligibility-id` pageSize: integer, Optional. The maximum number of products to return. The service may return fewer than this value. If unspecified, at most 50 products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. pageToken: string, Optional. A page token, received from a previous `ListProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProducts` must match the call that provided the page token. x__xgafv: string, V1 error format. @@ -111,6 +111,15 @@

Method Details

"products": [ # The products for the specified partner. { # A Product resource that defines a subscription service that can be resold. "name": "A String", # Output only. Response only. Resource name of the subscription. It will have the format of "partners/{partner_id}/products/{product_id}" + "priceConfigs": [ # Output only. Price configs for the product in the available regions. + { # Configs the prices in an available region. + "amount": { # Describes the amount unit including the currency code. # Output only. The price in the region. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "regionCode": "A String", # Output only. 2-letter ISO region code where the product is available in. Ex. "US". + }, + ], "regionCodes": [ # Output only. 2-letter ISO region code where the product is available in. Ex. "US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1 "A String", ], diff --git a/docs/dyn/paymentsresellersubscription_v1.partners.promotions.html b/docs/dyn/paymentsresellersubscription_v1.partners.promotions.html index 0b91ca385c8..87b44d265fd 100644 --- a/docs/dyn/paymentsresellersubscription_v1.partners.promotions.html +++ b/docs/dyn/paymentsresellersubscription_v1.partners.promotions.html @@ -105,7 +105,7 @@

Method Details

The object takes the form of: { - "filter": "A String", # Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicable_products` - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `applicable_products:partners/partner1/products/product1 AND region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id` + "filter": "A String", # Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `youtubePayload.postalCode` - Unless explicitly mentioned above, other features are not supported. Example: `applicableProducts:partners/partner1/products/product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND youtubePayload.partnerEligibilityId=eligibility-id` "pageSize": 42, # Optional. The maximum number of promotions to return. The service may return fewer than this value. If unspecified, at most 50 products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. "pageToken": "A String", # Optional. A page token, received from a previous `ListPromotions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotions` must match the call that provided the page token. } @@ -133,6 +133,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -174,7 +179,7 @@

Method Details

Args: parent: string, Required. The parent, the partner that can resell. Format: partners/{partner} (required) - filter: string, Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicable_products` - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `applicable_products:partners/partner1/products/product1 AND region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id` + filter: string, Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `youtubePayload.postalCode` - Unless explicitly mentioned above, other features are not supported. Example: `applicableProducts:partners/partner1/products/product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND youtubePayload.partnerEligibilityId=eligibility-id` pageSize: integer, Optional. The maximum number of promotions to return. The service may return fewer than this value. If unspecified, at most 50 products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. pageToken: string, Optional. A page token, received from a previous `ListPromotions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotions` must match the call that provided the page token. x__xgafv: string, V1 error format. @@ -200,6 +205,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], diff --git a/docs/dyn/paymentsresellersubscription_v1.partners.subscriptions.html b/docs/dyn/paymentsresellersubscription_v1.partners.subscriptions.html index a06edeb32de..e99b420d1c7 100644 --- a/docs/dyn/paymentsresellersubscription_v1.partners.subscriptions.html +++ b/docs/dyn/paymentsresellersubscription_v1.partners.subscriptions.html @@ -143,6 +143,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -177,6 +182,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -239,6 +249,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -273,6 +288,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -328,6 +348,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -362,6 +387,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -430,6 +460,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -464,6 +499,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -561,6 +601,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -595,6 +640,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -651,6 +701,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -685,6 +740,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -740,6 +800,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -774,6 +839,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -842,6 +912,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], @@ -876,6 +951,11 @@

Method Details

"introductoryPricingDetails": { # The details of a introductory pricing promotion. # Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. "introductoryPricingSpecs": [ # Specifies the introductory pricing periods. { # The duration of an introductory pricing promotion. + "discountAmount": { # Describes the amount unit including the currency code. # Output only. The discount amount. The value is positive. + "amountMicros": "A String", # Required. Amount in micros (1_000_000 micros = 1 currency unit) + "currencyCode": "A String", # Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD. + }, + "discountRatioMicros": "A String", # Output only. The discount percentage in micros. For example, 50,000 represents 5%. "recurrenceCount": 42, # Output only. Output Only. The duration of an introductory offer in billing cycles. }, ], diff --git a/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json b/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json index ef2e7a23643..fc652be3595 100644 --- a/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +++ b/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json @@ -110,7 +110,7 @@ ], "parameters": { "filter": { - "description": "Optional. Specifies the filters for the product results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", + "description": "Optional. Specifies the filters for the product results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `regionCodes` - `youtubePayload.partnerEligibilityId` - `youtubePayload.postalCode` - Unless explicitly mentioned above, other features are not supported. Example: `regionCodes:US AND youtubePayload.postalCode=94043 AND youtubePayload.partnerEligibilityId=eligibility-id`", "location": "query", "type": "string" }, @@ -177,7 +177,7 @@ ], "parameters": { "filter": { - "description": "Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicable_products` - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `applicable_products:partners/partner1/products/product1 AND region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", + "description": "Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `youtubePayload.postalCode` - Unless explicitly mentioned above, other features are not supported. Example: `applicableProducts:partners/partner1/products/product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND youtubePayload.partnerEligibilityId=eligibility-id`", "location": "query", "type": "string" }, @@ -396,9 +396,25 @@ } } }, - "revision": "20220902", + "revision": "20220912", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { + "GoogleCloudPaymentsResellerSubscriptionV1Amount": { + "description": "Describes the amount unit including the currency code.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1Amount", + "properties": { + "amountMicros": { + "description": "Required. Amount in micros (1_000_000 micros = 1 currency unit)", + "format": "int64", + "type": "string" + }, + "currencyCode": { + "description": "Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": { "id": "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest", "properties": { @@ -543,7 +559,7 @@ "id": "GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest", "properties": { "filter": { - "description": "Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicable_products` - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `applicable_products:partners/partner1/products/product1 AND region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", + "description": "Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `youtubePayload.postalCode` - Unless explicitly mentioned above, other features are not supported. Example: `applicableProducts:partners/partner1/products/product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND youtubePayload.partnerEligibilityId=eligibility-id`", "type": "string" }, "pageSize": { @@ -634,6 +650,14 @@ "readOnly": true, "type": "string" }, + "priceConfigs": { + "description": "Output only. Price configs for the product in the available regions.", + "items": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig" + }, + "readOnly": true, + "type": "array" + }, "regionCodes": { "description": "Output only. 2-letter ISO region code where the product is available in. Ex. \"US\" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1", "items": { @@ -658,6 +682,23 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig": { + "description": "Configs the prices in an available region.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig", + "properties": { + "amount": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Amount", + "description": "Output only. The price in the region.", + "readOnly": true + }, + "regionCode": { + "description": "Output only. 2-letter ISO region code where the product is available in. Ex. \"US\".", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1Promotion": { "description": "A Promotion resource that defines a promotion for a subscription that can be resold.", "id": "GoogleCloudPaymentsResellerSubscriptionV1Promotion", @@ -745,6 +786,17 @@ "description": "The duration of an introductory pricing promotion.", "id": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec", "properties": { + "discountAmount": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Amount", + "description": "Output only. The discount amount. The value is positive.", + "readOnly": true + }, + "discountRatioMicros": { + "description": "Output only. The discount percentage in micros. For example, 50,000 represents 5%.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "recurrenceCount": { "description": "Output only. Output Only. The duration of an introductory offer in billing cycles.", "format": "int32",