Skip to content

Commit 3fd0d73

Browse files
feat(cloudchannel): update the api
#### cloudchannel:v1 The following keys were added: - schemas.GoogleCloudChannelV1ChangeOfferRequest.properties.priceReferenceId.type (Total Keys: 1) - schemas.GoogleCloudChannelV1PurchasableOffer.properties.priceReferenceId.type (Total Keys: 1) - schemas.GoogleCloudChannelV1TransferableOffer.properties.priceReferenceId.type (Total Keys: 1) - schemas.GoogleCloudChannelV1alpha1OpportunityEvent (Total Keys: 4) - schemas.GoogleCloudChannelV1alpha1SubscriberEvent.properties.opportunityEvent.$ref (Total Keys: 1)
1 parent f7ba913 commit 3fd0d73

7 files changed

+85
-32
lines changed

docs/dyn/cloudchannel_v1.accounts.channelPartnerLinks.channelPartnerRepricingConfigs.html

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

docs/dyn/cloudchannel_v1.accounts.customers.customerRepricingConfigs.html

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

docs/dyn/cloudchannel_v1.accounts.customers.entitlements.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ <h3>Method Details</h3>
231231
},
232232
},
233233
],
234+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
234235
&quot;purchaseOrderId&quot;: &quot;A String&quot;, # Optional. Purchase order id provided by the reseller.
235236
&quot;requestId&quot;: &quot;A String&quot;, # Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it&#x27;s complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
236237
}
@@ -424,6 +425,7 @@ <h3>Method Details</h3>
424425
},
425426
},
426427
],
428+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
427429
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
428430
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
429431
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
@@ -522,6 +524,7 @@ <h3>Method Details</h3>
522524
},
523525
},
524526
],
527+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
525528
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
526529
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
527530
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
@@ -594,6 +597,7 @@ <h3>Method Details</h3>
594597
},
595598
},
596599
],
600+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
597601
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
598602
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
599603
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.

docs/dyn/cloudchannel_v1.accounts.customers.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ <h3>Method Details</h3>
687687
},
688688
&quot;startTime&quot;: &quot;A String&quot;, # Start of the Offer validity time.
689689
},
690+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
690691
},
691692
],
692693
}</pre>
@@ -1060,6 +1061,7 @@ <h3>Method Details</h3>
10601061
},
10611062
},
10621063
],
1064+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
10631065
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
10641066
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
10651067
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
@@ -1156,6 +1158,7 @@ <h3>Method Details</h3>
11561158
},
11571159
},
11581160
],
1161+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
11591162
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
11601163
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
11611164
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.

docs/dyn/cloudchannel_v1.accounts.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ <h3>Method Details</h3>
408408
},
409409
&quot;startTime&quot;: &quot;A String&quot;, # Start of the Offer validity time.
410410
},
411+
&quot;priceReferenceId&quot;: &quot;A String&quot;, # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
411412
},
412413
],
413414
}</pre>

docs/dyn/cloudchannel_v1.accounts.reportJobs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ <h3>Method Details</h3>
235235
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
236236
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
237237
},
238-
&quot;decimalValue&quot;: { # A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java&#x27;s BigDecimal or Python&#x27;s decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html # A value of type `google.type.Decimal`, representing non-integer numeric values.
238+
&quot;decimalValue&quot;: { # A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java&#x27;s [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or Python&#x27;s [decimal.Decimal](https://docs.python.org/3/library/decimal.html). # A value of type `google.type.Decimal`, representing non-integer numeric values.
239239
&quot;value&quot;: &quot;A String&quot;, # The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits (&quot;the integer&quot;), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -&gt; `2.5`). - Replacing a zero-length integer value with `0` (`.5` -&gt; `0.5`). - Coercing the exponent character to upper-case, with explicit sign (`2.5e8` -&gt; `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -&gt; `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` &lt;-&gt; `0.25`). Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is: DecimalString = &#x27;&#x27; | [Sign] Significand [Exponent]; Sign = &#x27;+&#x27; | &#x27;-&#x27;; Significand = Digits &#x27;.&#x27; | [Digits] &#x27;.&#x27; Digits; Exponent = (&#x27;e&#x27; | &#x27;E&#x27;) [Sign] Digits; Digits = { &#x27;0&#x27; | &#x27;1&#x27; | &#x27;2&#x27; | &#x27;3&#x27; | &#x27;4&#x27; | &#x27;5&#x27; | &#x27;6&#x27; | &#x27;7&#x27; | &#x27;8&#x27; | &#x27;9&#x27; }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range.
240240
},
241241
&quot;intValue&quot;: &quot;A String&quot;, # A value of type `int`.

googleapiclient/discovery_cache/documents/cloudchannel.v1.json

Lines changed: 52 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2289,7 +2289,7 @@
22892289
}
22902290
}
22912291
},
2292-
"revision": "20241024",
2292+
"revision": "20241102",
22932293
"rootUrl": "https://cloudchannel.googleapis.com/",
22942294
"schemas": {
22952295
"GoogleCloudChannelV1ActivateEntitlementRequest": {
@@ -2429,6 +2429,10 @@
24292429
},
24302430
"type": "array"
24312431
},
2432+
"priceReferenceId": {
2433+
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.",
2434+
"type": "string"
2435+
},
24322436
"purchaseOrderId": {
24332437
"description": "Optional. Purchase order id provided by the reseller.",
24342438
"type": "string"
@@ -2955,7 +2959,7 @@
29552959
"type": "string"
29562960
},
29572961
"eventType": {
2958-
"description": "Type of event which happened on the customer.",
2962+
"description": "Type of event which happened for the customer.",
29592963
"enum": [
29602964
"TYPE_UNSPECIFIED",
29612965
"PRIMARY_DOMAIN_CHANGED",
@@ -3104,6 +3108,10 @@
31043108
},
31053109
"type": "array"
31063110
},
3111+
"priceReferenceId": {
3112+
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.",
3113+
"type": "string"
3114+
},
31073115
"provisionedService": {
31083116
"$ref": "GoogleCloudChannelV1ProvisionedService",
31093117
"description": "Output only. Service provisioning details for the entitlement.",
@@ -3324,7 +3332,7 @@
33243332
"type": "string"
33253333
},
33263334
"eventType": {
3327-
"description": "Type of event which happened on the entitlement.",
3335+
"description": "Type of event which happened for the entitlement.",
33283336
"enum": [
33293337
"TYPE_UNSPECIFIED",
33303338
"CREATED",
@@ -4316,6 +4324,10 @@
43164324
"offer": {
43174325
"$ref": "GoogleCloudChannelV1Offer",
43184326
"description": "Offer."
4327+
},
4328+
"priceReferenceId": {
4329+
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.",
4330+
"type": "string"
43194331
}
43204332
},
43214333
"type": "object"
@@ -4888,6 +4900,10 @@
48884900
"offer": {
48894901
"$ref": "GoogleCloudChannelV1Offer",
48904902
"description": "Offer with parameter constraints updated to allow the Transfer."
4903+
},
4904+
"priceReferenceId": {
4905+
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.",
4906+
"type": "string"
48914907
}
48924908
},
48934909
"type": "object"
@@ -5026,7 +5042,7 @@
50265042
"type": "string"
50275043
},
50285044
"eventType": {
5029-
"description": "Type of event performed on the Channel Partner.",
5045+
"description": "Type of event which happened for the channel partner.",
50305046
"enum": [
50315047
"TYPE_UNSPECIFIED",
50325048
"LINK_STATE_CHANGED",
@@ -5112,7 +5128,7 @@
51125128
"type": "string"
51135129
},
51145130
"eventType": {
5115-
"description": "Type of event which happened on the customer.",
5131+
"description": "Type of event which happened for the customer.",
51165132
"enum": [
51175133
"TYPE_UNSPECIFIED",
51185134
"PRIMARY_DOMAIN_CHANGED",
@@ -5302,7 +5318,7 @@ false
53025318
"type": "string"
53035319
},
53045320
"eventType": {
5305-
"description": "Type of event which happened on the entitlement.",
5321+
"description": "Type of event which happened for the entitlement.",
53065322
"enum": [
53075323
"TYPE_UNSPECIFIED",
53085324
"CREATED",
@@ -5383,6 +5399,31 @@ false
53835399
},
53845400
"type": "object"
53855401
},
5402+
"GoogleCloudChannelV1alpha1OpportunityEvent": {
5403+
"description": "Represents Pub/Sub message content describing opportunity updates.",
5404+
"id": "GoogleCloudChannelV1alpha1OpportunityEvent",
5405+
"properties": {
5406+
"eventType": {
5407+
"description": "Type of event which happened for the opportunity.",
5408+
"enum": [
5409+
"TYPE_UNSPECIFIED",
5410+
"CREATED",
5411+
"UPDATED"
5412+
],
5413+
"enumDescriptions": [
5414+
"Not used.",
5415+
"New opportunity created.",
5416+
"Existing opportunity updated."
5417+
],
5418+
"type": "string"
5419+
},
5420+
"opportunity": {
5421+
"description": "Resource name of the opportunity. Format: opportunities/{opportunity}",
5422+
"type": "string"
5423+
}
5424+
},
5425+
"type": "object"
5426+
},
53865427
"GoogleCloudChannelV1alpha1Parameter": {
53875428
"description": "Definition for extended entitlement parameters.",
53885429
"id": "GoogleCloudChannelV1alpha1Parameter",
@@ -5652,6 +5693,10 @@ false
56525693
"entitlementEvent": {
56535694
"$ref": "GoogleCloudChannelV1alpha1EntitlementEvent",
56545695
"description": "Entitlement event sent as part of Pub/Sub event to partners."
5696+
},
5697+
"opportunityEvent": {
5698+
"$ref": "GoogleCloudChannelV1alpha1OpportunityEvent",
5699+
"description": "Opportunity event sent as part of Pub/Sub event to partners/integrators."
56555700
}
56565701
},
56575702
"type": "object"
@@ -5885,7 +5930,7 @@ false
58855930
"type": "object"
58865931
},
58875932
"GoogleTypeDecimal": {
5888-
"description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html",
5933+
"description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).",
58895934
"id": "GoogleTypeDecimal",
58905935
"properties": {
58915936
"value": {

0 commit comments

Comments
 (0)