diff --git a/discovery/beyondcorp-v1.json b/discovery/beyondcorp-v1.json index 76803d2b65..4f2605c8c5 100644 --- a/discovery/beyondcorp-v1.json +++ b/discovery/beyondcorp-v1.json @@ -1804,7 +1804,7 @@ } } }, - "revision": "20240424", + "revision": "20240417", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -1868,16 +1868,6 @@ "description": "Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.", "type": "string" }, - "satisfiesPzi": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, - "satisfiesPzs": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, "state": { "description": "Output only. The current state of the AppGateway.", "enum": [ @@ -2104,16 +2094,6 @@ "description": "Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.", "type": "string" }, - "satisfiesPzi": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, - "satisfiesPzs": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, "state": { "description": "Output only. The current state of the AppConnection.", "enum": [ diff --git a/discovery/beyondcorp-v1alpha.json b/discovery/beyondcorp-v1alpha.json index 20e46f4cc0..18ec63f71b 100644 --- a/discovery/beyondcorp-v1alpha.json +++ b/discovery/beyondcorp-v1alpha.json @@ -1206,33 +1206,6 @@ }, "subscriptions": { "methods": { - "cancel": { - "description": "Cancels an existing BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization. Returns the timestamp for when the cancellation will become effective", - "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:cancel", - "httpMethod": "GET", - "id": "beyondcorp.organizations.locations.subscriptions.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the resource.", - "location": "path", - "pattern": "^organizations/[^/]+/locations/[^/]+/subscriptions/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where 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 original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}:cancel", - "response": { - "$ref": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse" - } - }, "create": { "description": "Creates a new BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization.", "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/subscriptions", @@ -1335,7 +1308,7 @@ "type": "string" }, "updateMask": { - "description": "Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. Mutable fields: seat_count.", + "description": "Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields will be overwritten. Mutable fields: type, state.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3966,7 +3939,7 @@ } } }, - "revision": "20240424", + "revision": "20240417", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -4030,16 +4003,6 @@ "description": "Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.", "type": "string" }, - "satisfiesPzi": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, - "satisfiesPzs": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, "state": { "description": "Output only. The current state of the AppGateway.", "enum": [ @@ -4682,16 +4645,6 @@ "description": "Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.", "type": "string" }, - "satisfiesPzi": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, - "satisfiesPzs": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, "state": { "description": "Output only. The current state of the AppConnection.", "enum": [ @@ -5983,18 +5936,6 @@ }, "type": "object" }, - "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse": { - "description": "Response message for BeyondCorp.CancelSubscription", - "id": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse", - "properties": { - "effectiveCancellationTime": { - "description": "Time when the cancellation will become effective", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse": { "description": "Response message for BeyondCorp.ListSubscriptions.", "id": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse", @@ -6022,10 +5963,6 @@ "readOnly": true, "type": "boolean" }, - "billingAccount": { - "description": "Optional. Name of the billing account in the format. e.g. billingAccounts/123456-123456-123456 Required if Subscription is of Paid type.", - "type": "string" - }, "createTime": { "description": "Output only. Create time of the subscription.", "format": "google-datetime", diff --git a/src/apis/beyondcorp/v1.ts b/src/apis/beyondcorp/v1.ts index fc258ec7b2..650c18c347 100644 --- a/src/apis/beyondcorp/v1.ts +++ b/src/apis/beyondcorp/v1.ts @@ -167,14 +167,6 @@ export namespace beyondcorp_v1 { * Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway. */ name?: string | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzi?: boolean | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzs?: boolean | null; /** * Output only. The current state of the AppGateway. */ @@ -368,14 +360,6 @@ export namespace beyondcorp_v1 { * Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection. */ name?: string | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzi?: boolean | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzs?: boolean | null; /** * Output only. The current state of the AppConnection. */ diff --git a/src/apis/beyondcorp/v1alpha.ts b/src/apis/beyondcorp/v1alpha.ts index 55e6695efa..bad8eee71c 100644 --- a/src/apis/beyondcorp/v1alpha.ts +++ b/src/apis/beyondcorp/v1alpha.ts @@ -167,14 +167,6 @@ export namespace beyondcorp_v1alpha { * Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway. */ name?: string | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzi?: boolean | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzs?: boolean | null; /** * Output only. The current state of the AppGateway. */ @@ -585,14 +577,6 @@ export namespace beyondcorp_v1alpha { * Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection. */ name?: string | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzi?: boolean | null; - /** - * Output only. Reserved for future use. - */ - satisfiesPzs?: boolean | null; /** * Output only. The current state of the AppConnection. */ @@ -1532,15 +1516,6 @@ export namespace beyondcorp_v1alpha { */ value?: string | null; } - /** - * Response message for BeyondCorp.CancelSubscription - */ - export interface Schema$GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse { - /** - * Time when the cancellation will become effective - */ - effectiveCancellationTime?: string | null; - } /** * Response message for BeyondCorp.ListSubscriptions. */ @@ -1562,10 +1537,6 @@ export namespace beyondcorp_v1alpha { * Output only. Represents that, if subscription will renew or end when the term ends. */ autoRenewEnabled?: boolean | null; - /** - * Optional. Name of the billing account in the format. e.g. billingAccounts/123456-123456-123456 Required if Subscription is of Paid type. - */ - billingAccount?: string | null; /** * Output only. Create time of the subscription. */ @@ -5573,104 +5544,6 @@ export namespace beyondcorp_v1alpha { this.context = context; } - /** - * Cancels an existing BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization. Returns the timestamp for when the cancellation will become effective - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - cancel( - params: Params$Resource$Organizations$Locations$Subscriptions$Cancel, - options: StreamMethodOptions - ): GaxiosPromise; - cancel( - params?: Params$Resource$Organizations$Locations$Subscriptions$Cancel, - options?: MethodOptions - ): GaxiosPromise; - cancel( - params: Params$Resource$Organizations$Locations$Subscriptions$Cancel, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - cancel( - params: Params$Resource$Organizations$Locations$Subscriptions$Cancel, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - cancel( - params: Params$Resource$Organizations$Locations$Subscriptions$Cancel, - callback: BodyResponseCallback - ): void; - cancel( - callback: BodyResponseCallback - ): void; - cancel( - paramsOrCallback?: - | Params$Resource$Organizations$Locations$Subscriptions$Cancel - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Subscriptions$Cancel; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Organizations$Locations$Subscriptions$Cancel; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://beyondcorp.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1alpha/{+name}:cancel').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest( - parameters - ); - } - } - /** * Creates a new BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization. * @@ -6058,17 +5931,6 @@ export namespace beyondcorp_v1alpha { } } - export interface Params$Resource$Organizations$Locations$Subscriptions$Cancel - extends StandardParameters { - /** - * Required. Name of the resource. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where 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 original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } export interface Params$Resource$Organizations$Locations$Subscriptions$Create extends StandardParameters { /** @@ -6114,7 +5976,7 @@ export namespace beyondcorp_v1alpha { */ requestId?: string; /** - * Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. Mutable fields: seat_count. + * Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields will be overwritten. Mutable fields: type, state. */ updateMask?: string;