Skip to content

Commit b940b40

Browse files
yoshi-automationsofisl
authored andcommittedSep 22, 2023
feat(cloudchannel): update the API
#### cloudchannel:v1 The following keys were added: - schemas.GoogleCloudChannelV1RepricingConfig.properties.channelPartnerGranularity.deprecated - schemas.GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity.deprecated The following keys were changed: - schemas.GoogleCloudChannelV1Customer.properties.orgPostalAddress.description - schemas.GoogleCloudChannelV1RepricingConfig.properties.channelPartnerGranularity.description - schemas.GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity.description
1 parent 8d999f5 commit b940b40

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
 

‎discovery/cloudchannel-v1.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -2178,7 +2178,7 @@
21782178
}
21792179
}
21802180
},
2181-
"revision": "20230807",
2181+
"revision": "20230920",
21822182
"rootUrl": "https://cloudchannel.googleapis.com/",
21832183
"schemas": {
21842184
"GoogleCloudChannelV1ActivateEntitlementRequest": {
@@ -2747,7 +2747,7 @@
27472747
},
27482748
"orgPostalAddress": {
27492749
"$ref": "GoogleTypePostalAddress",
2750-
"description": "Required. The organization address for the customer. To enforce US laws and embargoes, we require a region and zip code. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code."
2750+
"description": "Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code."
27512751
},
27522752
"primaryContactInfo": {
27532753
"$ref": "GoogleCloudChannelV1ContactInfo",
@@ -4428,7 +4428,8 @@
44284428
},
44294429
"channelPartnerGranularity": {
44304430
"$ref": "GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity",
4431-
"description": "Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value."
4431+
"deprecated": true,
4432+
"description": "Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead."
44324433
},
44334434
"conditionalOverrides": {
44344435
"description": "The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.",
@@ -4463,7 +4464,8 @@
44634464
"type": "object"
44644465
},
44654466
"GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity": {
4466-
"description": "Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object.",
4467+
"deprecated": true,
4468+
"description": "Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. Deprecated: This is no longer supported. Use RepricingConfig.EntitlementGranularity instead.",
44674469
"id": "GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity",
44684470
"properties": {},
44694471
"type": "object"

‎src/apis/cloudchannel/v1.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ export namespace cloudchannel_v1 {
973973
*/
974974
orgDisplayName?: string | null;
975975
/**
976-
* Required. The organization address for the customer. To enforce US laws and embargoes, we require a region and zip code. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
976+
* Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
977977
*/
978978
orgPostalAddress?: Schema$GoogleTypePostalAddress;
979979
/**
@@ -2045,7 +2045,7 @@ export namespace cloudchannel_v1 {
20452045
*/
20462046
adjustment?: Schema$GoogleCloudChannelV1RepricingAdjustment;
20472047
/**
2048-
* Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value.
2048+
* Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.
20492049
*/
20502050
channelPartnerGranularity?: Schema$GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity;
20512051
/**
@@ -2066,7 +2066,7 @@ export namespace cloudchannel_v1 {
20662066
rebillingBasis?: string | null;
20672067
}
20682068
/**
2069-
* Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object.
2069+
* Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. Deprecated: This is no longer supported. Use RepricingConfig.EntitlementGranularity instead.
20702070
*/
20712071
export interface Schema$GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity {}
20722072
/**

0 commit comments

Comments
 (0)
Please sign in to comment.