Skip to content

Commit

Permalink
feat(beyondcorp)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### beyondcorp:v1alpha

The following keys were deleted:
- schemas.GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.properties.seatCount.readOnly

The following keys were added:
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.filter.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.filter.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.filter.type
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.orderBy.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.orderBy.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.orderBy.type
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.pageSize.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.pageSize.format
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.pageSize.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.pageSize.type
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.pageToken.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.pageToken.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.methods.list.parameters.pageToken.type
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.filter.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.filter.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.filter.type
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.orderBy.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.orderBy.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.orderBy.type
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.pageSize.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.pageSize.format
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.pageSize.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.pageSize.type
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.pageToken.description
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.pageToken.location
- resources.organizations.resources.locations.resources.global.resources.partnerTenants.resources.proxyConfigs.methods.list.parameters.pageToken.type
- schemas.GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse.properties.nextPageToken.description
- schemas.GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse.properties.nextPageToken.type
- schemas.GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse.properties.nextPageToken.description
- schemas.GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse.properties.nextPageToken.type

The following keys were changed:
- schemas.GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.properties.seatCount.description
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 27, 2023
1 parent 049653c commit 041e014
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 4 deletions.
55 changes: 52 additions & 3 deletions discovery/beyondcorp-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,27 @@
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter specifying constraints of a list operation. All fields in the PartnerTenant message are supported. For example, the following query will return the PartnerTenants with displayName \"test-tenant\" organizations/${ORG_ID}/locations/${LOCATION}/partnerTenants?filter=displayName=\"test-tenant\" Nested fields are also supported. The follow query will return PartnerTenants with internal_tenant_id \"1234\" organizations/${ORG_ID}/locations/${LOCATION}/partnerTenants?filter=partnerMetadata.internalTenantId=\"1234\" For more information, please refer to https://google.aip.dev/160.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The next_page_token value returned from a previous ListPartnerTenantsResponse, if any.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent organization to which the PartnerTenants belong. Format: `organizations/{organization_id}/locations/global`",
"location": "path",
Expand Down Expand Up @@ -727,6 +748,27 @@
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter specifying constraints of a list operation. All fields in the ProxyConfig message are supported. For example, the following query will return the ProxyConfigs with displayName \"test-config\" organizations/${ORG_ID}/locations/global/partnerTenants/${PARTNER_TENANT_ID}/proxyConfigs?filter=displayName=\"test-config\" Nested fields are also supported. The follow query will return ProxyConfigs with pacUri \"example.com/pac.pac\" organizations/${ORG_ID}/locations/global/partnerTenants/${PARTNER_TENANT_ID}/proxyConfigs?filter=routingInfo.pacUri=\"example.com/pac.pac\" For more information, please refer to https://google.aip.dev/160.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The next_page_token value returned from a previous ListProxyConfigsRequest, if any.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent organization to which the ProxyConfigs belong. Format: `organizations/{organization_id}/locations/global/partnerTenants/{partner_tenant_id}`",
"location": "path",
Expand Down Expand Up @@ -3674,7 +3716,7 @@
}
}
},
"revision": "20231011",
"revision": "20231113",
"rootUrl": "https://beyondcorp.googleapis.com/",
"schemas": {
"AllocatedConnection": {
Expand Down Expand Up @@ -5117,6 +5159,10 @@
"description": "Message for response to listing PartnerTenants.",
"id": "GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse",
"properties": {
"nextPageToken": {
"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.",
"type": "string"
},
"partnerTenants": {
"description": "The list of PartnerTenant objects.",
"items": {
Expand All @@ -5131,6 +5177,10 @@
"description": "Message for response to listing ProxyConfigs.",
"id": "GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse",
"properties": {
"nextPageToken": {
"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.",
"type": "string"
},
"proxyConfigs": {
"description": "The list of ProxyConfig objects.",
"items": {
Expand Down Expand Up @@ -5707,9 +5757,8 @@
"type": "string"
},
"seatCount": {
"description": "Output only. Number of seats in the subscription.",
"description": "Optional. Number of seats in the subscription.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"sku": {
Expand Down
42 changes: 41 additions & 1 deletion src/apis/beyondcorp/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,10 @@ export namespace beyondcorp_v1alpha {
* Message for response to listing PartnerTenants.
*/
export interface Schema$GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse {
/**
* A token to retrieve the next page of results, or empty if there are no more results in the list.
*/
nextPageToken?: string | null;
/**
* The list of PartnerTenant objects.
*/
Expand All @@ -1138,6 +1142,10 @@ export namespace beyondcorp_v1alpha {
* Message for response to listing ProxyConfigs.
*/
export interface Schema$GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse {
/**
* A token to retrieve the next page of results, or empty if there are no more results in the list.
*/
nextPageToken?: string | null;
/**
* The list of ProxyConfig objects.
*/
Expand Down Expand Up @@ -1542,7 +1550,7 @@ export namespace beyondcorp_v1alpha {
*/
name?: string | null;
/**
* Output only. Number of seats in the subscription.
* Optional. Number of seats in the subscription.
*/
seatCount?: string | null;
/**
Expand Down Expand Up @@ -2836,6 +2844,22 @@ export namespace beyondcorp_v1alpha {
}
export interface Params$Resource$Organizations$Locations$Global$Partnertenants$List
extends StandardParameters {
/**
* Optional. A filter specifying constraints of a list operation. All fields in the PartnerTenant message are supported. For example, the following query will return the PartnerTenants with displayName "test-tenant" organizations/${ORG_ID\}/locations/${LOCATION\}/partnerTenants?filter=displayName="test-tenant" Nested fields are also supported. The follow query will return PartnerTenants with internal_tenant_id "1234" organizations/${ORG_ID\}/locations/${LOCATION\}/partnerTenants?filter=partnerMetadata.internalTenantId="1234" For more information, please refer to https://google.aip.dev/160.
*/
filter?: string;
/**
* Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.
*/
orderBy?: string;
/**
* Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.
*/
pageSize?: number;
/**
* Optional. The next_page_token value returned from a previous ListPartnerTenantsResponse, if any.
*/
pageToken?: string;
/**
* Required. The parent organization to which the PartnerTenants belong. Format: `organizations/{organization_id\}/locations/global`
*/
Expand Down Expand Up @@ -4550,6 +4574,22 @@ export namespace beyondcorp_v1alpha {
}
export interface Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$List
extends StandardParameters {
/**
* Optional. A filter specifying constraints of a list operation. All fields in the ProxyConfig message are supported. For example, the following query will return the ProxyConfigs with displayName "test-config" organizations/${ORG_ID\}/locations/global/partnerTenants/${PARTNER_TENANT_ID\}/proxyConfigs?filter=displayName="test-config" Nested fields are also supported. The follow query will return ProxyConfigs with pacUri "example.com/pac.pac" organizations/${ORG_ID\}/locations/global/partnerTenants/${PARTNER_TENANT_ID\}/proxyConfigs?filter=routingInfo.pacUri="example.com/pac.pac" For more information, please refer to https://google.aip.dev/160.
*/
filter?: string;
/**
* Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.
*/
orderBy?: string;
/**
* Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.
*/
pageSize?: number;
/**
* Optional. The next_page_token value returned from a previous ListProxyConfigsRequest, if any.
*/
pageToken?: string;
/**
* Required. The parent organization to which the ProxyConfigs belong. Format: `organizations/{organization_id\}/locations/global/partnerTenants/{partner_tenant_id\}`
*/
Expand Down

0 comments on commit 041e014

Please sign in to comment.