Skip to content

Commit 7815a30

Browse files
yoshi-automationsofisl
authored andcommitted
feat(cloudchannel): update the API
#### cloudchannel:v1 The following keys were added: - schemas.GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest.properties.primaryAdminEmail.description - schemas.GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest.properties.primaryAdminEmail.type - schemas.GoogleCloudChannelV1CloudIdentityCustomerAccount.properties.channelPartnerCloudIdentityId.description - schemas.GoogleCloudChannelV1CloudIdentityCustomerAccount.properties.channelPartnerCloudIdentityId.type - schemas.GoogleCloudChannelV1CloudIdentityCustomerAccount.properties.customerType.description - schemas.GoogleCloudChannelV1CloudIdentityCustomerAccount.properties.customerType.enum - schemas.GoogleCloudChannelV1CloudIdentityCustomerAccount.properties.customerType.enumDescriptions - schemas.GoogleCloudChannelV1CloudIdentityCustomerAccount.properties.customerType.type - schemas.GoogleCloudChannelV1ImportCustomerRequest.properties.primaryAdminEmail.description - schemas.GoogleCloudChannelV1ImportCustomerRequest.properties.primaryAdminEmail.type
1 parent ea0679e commit 7815a30

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

discovery/cloudchannel-v1.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2303,7 +2303,7 @@
23032303
}
23042304
}
23052305
},
2306-
"revision": "20240728",
2306+
"revision": "20240828",
23072307
"rootUrl": "https://cloudchannel.googleapis.com/",
23082308
"schemas": {
23092309
"GoogleCloudChannelV1ActivateEntitlementRequest": {
@@ -2581,6 +2581,10 @@
25812581
"domain": {
25822582
"description": "Required. Domain to fetch for Cloud Identity account customers, including domained and domainless.",
25832583
"type": "string"
2584+
},
2585+
"primaryAdminEmail": {
2586+
"description": "Optional. Primary admin email to fetch for Cloud Identity account domainless customer.",
2587+
"type": "string"
25842588
}
25852589
},
25862590
"type": "object"
@@ -2603,6 +2607,10 @@
26032607
"description": "Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.",
26042608
"id": "GoogleCloudChannelV1CloudIdentityCustomerAccount",
26052609
"properties": {
2610+
"channelPartnerCloudIdentityId": {
2611+
"description": "If existing = true, and is 2-tier customer, the channel partner of the customer.",
2612+
"type": "string"
2613+
},
26062614
"customerCloudIdentityId": {
26072615
"description": "If existing = true, the Cloud Identity ID of the customer.",
26082616
"type": "string"
@@ -2611,6 +2619,20 @@
26112619
"description": "If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}",
26122620
"type": "string"
26132621
},
2622+
"customerType": {
2623+
"description": "If existing = true, the type of the customer.",
2624+
"enum": [
2625+
"CUSTOMER_TYPE_UNSPECIFIED",
2626+
"DOMAIN",
2627+
"TEAM"
2628+
],
2629+
"enumDescriptions": [
2630+
"Not used.",
2631+
"Domain-owning customer which needs domain verification to use services.",
2632+
"Team customer which needs email verification to use services."
2633+
],
2634+
"type": "string"
2635+
},
26142636
"existing": {
26152637
"description": "Returns true if a Cloud Identity account exists for a specific domain.",
26162638
"type": "boolean"
@@ -3426,6 +3448,10 @@
34263448
"overwriteIfExists": {
34273449
"description": "Required. Choose to overwrite an existing customer if found. This must be set to true if there is an existing customer with a conflicting region code or domain.",
34283450
"type": "boolean"
3451+
},
3452+
"primaryAdminEmail": {
3453+
"description": "Optional. Customer's primary admin email.",
3454+
"type": "string"
34293455
}
34303456
},
34313457
"type": "object"

src/apis/cloudchannel/v1.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,10 @@ export namespace cloudchannel_v1 {
760760
* Required. Domain to fetch for Cloud Identity account customers, including domained and domainless.
761761
*/
762762
domain?: string | null;
763+
/**
764+
* Optional. Primary admin email to fetch for Cloud Identity account domainless customer.
765+
*/
766+
primaryAdminEmail?: string | null;
763767
}
764768
/**
765769
* Response message for CloudChannelService.CheckCloudIdentityAccountsExist.
@@ -774,6 +778,10 @@ export namespace cloudchannel_v1 {
774778
* Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.
775779
*/
776780
export interface Schema$GoogleCloudChannelV1CloudIdentityCustomerAccount {
781+
/**
782+
* If existing = true, and is 2-tier customer, the channel partner of the customer.
783+
*/
784+
channelPartnerCloudIdentityId?: string | null;
777785
/**
778786
* If existing = true, the Cloud Identity ID of the customer.
779787
*/
@@ -782,6 +790,10 @@ export namespace cloudchannel_v1 {
782790
* If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id\}/customers/{customer_id\}
783791
*/
784792
customerName?: string | null;
793+
/**
794+
* If existing = true, the type of the customer.
795+
*/
796+
customerType?: string | null;
785797
/**
786798
* Returns true if a Cloud Identity account exists for a specific domain.
787799
*/
@@ -1257,6 +1269,10 @@ export namespace cloudchannel_v1 {
12571269
* Required. Choose to overwrite an existing customer if found. This must be set to true if there is an existing customer with a conflicting region code or domain.
12581270
*/
12591271
overwriteIfExists?: boolean | null;
1272+
/**
1273+
* Optional. Customer's primary admin email.
1274+
*/
1275+
primaryAdminEmail?: string | null;
12601276
}
12611277
/**
12621278
* Response message for CloudChannelService.ListChannelPartnerLinks.

0 commit comments

Comments
 (0)