Skip to content

Commit

Permalink
feat(cloudchannel): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 4, 2024
1 parent ea0679e commit 7815a30
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
28 changes: 27 additions & 1 deletion discovery/cloudchannel-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,7 @@
}
}
},
"revision": "20240728",
"revision": "20240828",
"rootUrl": "https://cloudchannel.googleapis.com/",
"schemas": {
"GoogleCloudChannelV1ActivateEntitlementRequest": {
Expand Down Expand Up @@ -2581,6 +2581,10 @@
"domain": {
"description": "Required. Domain to fetch for Cloud Identity account customers, including domained and domainless.",
"type": "string"
},
"primaryAdminEmail": {
"description": "Optional. Primary admin email to fetch for Cloud Identity account domainless customer.",
"type": "string"
}
},
"type": "object"
Expand All @@ -2603,6 +2607,10 @@
"description": "Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.",
"id": "GoogleCloudChannelV1CloudIdentityCustomerAccount",
"properties": {
"channelPartnerCloudIdentityId": {
"description": "If existing = true, and is 2-tier customer, the channel partner of the customer.",
"type": "string"
},
"customerCloudIdentityId": {
"description": "If existing = true, the Cloud Identity ID of the customer.",
"type": "string"
Expand All @@ -2611,6 +2619,20 @@
"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}",
"type": "string"
},
"customerType": {
"description": "If existing = true, the type of the customer.",
"enum": [
"CUSTOMER_TYPE_UNSPECIFIED",
"DOMAIN",
"TEAM"
],
"enumDescriptions": [
"Not used.",
"Domain-owning customer which needs domain verification to use services.",
"Team customer which needs email verification to use services."
],
"type": "string"
},
"existing": {
"description": "Returns true if a Cloud Identity account exists for a specific domain.",
"type": "boolean"
Expand Down Expand Up @@ -3426,6 +3448,10 @@
"overwriteIfExists": {
"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.",
"type": "boolean"
},
"primaryAdminEmail": {
"description": "Optional. Customer's primary admin email.",
"type": "string"
}
},
"type": "object"
Expand Down
16 changes: 16 additions & 0 deletions src/apis/cloudchannel/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,10 @@ export namespace cloudchannel_v1 {
* Required. Domain to fetch for Cloud Identity account customers, including domained and domainless.
*/
domain?: string | null;
/**
* Optional. Primary admin email to fetch for Cloud Identity account domainless customer.
*/
primaryAdminEmail?: string | null;
}
/**
* Response message for CloudChannelService.CheckCloudIdentityAccountsExist.
Expand All @@ -774,6 +778,10 @@ export namespace cloudchannel_v1 {
* Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.
*/
export interface Schema$GoogleCloudChannelV1CloudIdentityCustomerAccount {
/**
* If existing = true, and is 2-tier customer, the channel partner of the customer.
*/
channelPartnerCloudIdentityId?: string | null;
/**
* If existing = true, the Cloud Identity ID of the customer.
*/
Expand All @@ -782,6 +790,10 @@ export namespace cloudchannel_v1 {
* 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\}
*/
customerName?: string | null;
/**
* If existing = true, the type of the customer.
*/
customerType?: string | null;
/**
* Returns true if a Cloud Identity account exists for a specific domain.
*/
Expand Down Expand Up @@ -1257,6 +1269,10 @@ export namespace cloudchannel_v1 {
* 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.
*/
overwriteIfExists?: boolean | null;
/**
* Optional. Customer's primary admin email.
*/
primaryAdminEmail?: string | null;
}
/**
* Response message for CloudChannelService.ListChannelPartnerLinks.
Expand Down

0 comments on commit 7815a30

Please sign in to comment.