UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 94 kB
{"openapi":"3.0.0","servers":[{"url":"https://beyondcorp.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity solutions.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"BeyondCorp API","version":"v1","x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://upload.wikimedia.org/wikipedia/commons/e/e1/YouTube_play_buttom_icon_%282013-2017%29.svg"},"x-origin":[{"format":"google","url":"https://beyondcorp.googleapis.com/$discovery/rest?version=v1","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"beyondcorp"},"externalDocs":{"url":"https://cloud.google.com/"},"tags":[{"name":"organizations"},{"name":"projects"}],"paths":{"/v1/{appConnector}:reportStatus":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Report status for a given connector.","operationId":"beyondcorp.projects.locations.appConnectors.reportStatus","parameters":[{"description":"Required. BeyondCorp Connector name using the form: `projects/{project_id}/locations/{location_id}/connectors/{connector}`","in":"path","name":"appConnector","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{appConnector}:resolveInstanceConfig":{"get":{"description":"Gets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.","operationId":"beyondcorp.projects.locations.appConnectors.resolveInstanceConfig","parameters":[{"description":"Required. BeyondCorp AppConnector name using the form: `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector}`","in":"path","name":"appConnector","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{name}":{"delete":{"description":"Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.","operationId":"beyondcorp.projects.locations.operations.delete","parameters":[{"description":"The name of the operation resource to be deleted.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"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).","in":"query","name":"requestId","schema":{"type":"string"}},{"description":"Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.","in":"query","name":"validateOnly","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"get":{"description":"Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.","operationId":"beyondcorp.projects.locations.operations.get","parameters":[{"description":"The name of the operation resource.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Updates the parameters of a single AppConnector.","operationId":"beyondcorp.projects.locations.appConnectors.patch","parameters":[{"description":"Required. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"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 since 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).","in":"query","name":"requestId","schema":{"type":"string"}},{"description":"Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]: * `labels` * `display_name`","in":"query","name":"updateMask","schema":{"type":"string"}},{"description":"Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.","in":"query","name":"validateOnly","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectorsV1AppConnector"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{name}/locations":{"get":{"description":"Lists information about the supported locations for this service.","operationId":"beyondcorp.projects.locations.list","parameters":[{"description":"The resource that owns the locations collection, if applicable.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results to return. If not set, the service selects a default.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudLocationListLocationsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{name}/operations":{"get":{"description":"Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.","operationId":"beyondcorp.projects.locations.operations.list","parameters":[{"description":"The name of the operation's parent resource.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"The standard list filter.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The standard list page size.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The standard list page token.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningListOperationsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{name}:cancel":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.","operationId":"beyondcorp.projects.locations.operations.cancel","parameters":[{"description":"The name of the operation resource to be cancelled.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningCancelOperationRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/appConnections":{"get":{"description":"Lists AppConnections in a given project and location.","operationId":"beyondcorp.projects.locations.appConnections.list","parameters":[{"description":"Required. The resource name of the AppConnection location using the form: `projects/{project_id}/locations/{location_id}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Optional. A filter specifying constraints of a list operation.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.","in":"query","name":"orderBy","schema":{"type":"string"}},{"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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"Optional. The next_page_token value returned from a previous ListAppConnectionsRequest, if any.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a new AppConnection in a given project and location.","operationId":"beyondcorp.projects.locations.appConnections.create","parameters":[{"description":"Required. The resource project name of the AppConnection location using the form: `projects/{project_id}/locations/{location_id}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Optional. User-settable AppConnection resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter.","in":"query","name":"appConnectionId","schema":{"type":"string"}},{"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 since 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).","in":"query","name":"requestId","schema":{"type":"string"}},{"description":"Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.","in":"query","name":"validateOnly","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1AppConnection"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/appConnections:resolve":{"get":{"description":"Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.","operationId":"beyondcorp.projects.locations.appConnections.resolve","parameters":[{"description":"Required. The resource name of the AppConnection location using the form: `projects/{project_id}/locations/{location_id}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`","in":"query","name":"appConnectorId","schema":{"type":"string"}},{"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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"Optional. The next_page_token value returned from a previous ResolveAppConnectionsResponse, if any.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{parent}/appConnectors":{"get":{"description":"Lists AppConnectors in a given project and location.","operationId":"beyondcorp.projects.locations.appConnectors.list","parameters":[{"description":"Required. The resource name of the AppConnector location using the form: `projects/{project_id}/locations/{location_id}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Optional. A filter specifying constraints of a list operation.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.","in":"query","name":"orderBy","schema":{"type":"string"}},{"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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"Optional. The next_page_token value returned from a previous ListAppConnectorsRequest, if any.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a new AppConnector in a given project and location.","operationId":"beyondcorp.projects.locations.appConnectors.create","parameters":[{"description":"Required. The resource project name of the AppConnector location using the form: `projects/{project_id}/locations/{location_id}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Optional. User-settable AppConnector resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter.","in":"query","name":"appConnectorId","schema":{"type":"string"}},{"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 since 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).","in":"query","name":"requestId","schema":{"type":"string"}},{"description":"Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.","in":"query","name":"validateOnly","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectorsV1AppConnector"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/appGateways":{"get":{"description":"Lists AppGateways in a given project and location.","operationId":"beyondcorp.projects.locations.appGateways.list","parameters":[{"description":"Required. The resource name of the AppGateway location using the form: `projects/{project_id}/locations/{location_id}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Optional. A filter specifying constraints of a list operation.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.","in":"query","name":"orderBy","schema":{"type":"string"}},{"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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"Optional. The next_page_token value returned from a previous ListAppGatewaysRequest, if any.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAppGatewaysResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a new AppGateway in a given project and location.","operationId":"beyondcorp.projects.locations.appGateways.create","parameters":[{"description":"Required. The resource project name of the AppGateway location using the form: `projects/{project_id}/locations/{location_id}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter.","in":"query","name":"appGatewayId","schema":{"type":"string"}},{"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 since 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).","in":"query","name":"requestId","schema":{"type":"string"}},{"description":"Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.","in":"query","name":"validateOnly","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppGateway"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{resource}:getIamPolicy":{"get":{"description":"Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.","operationId":"beyondcorp.projects.locations.clientGateways.getIamPolicy","parameters":[{"description":"REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.","in":"path","name":"resource","required":true,"schema":{"type":"string"}},{"description":"Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).","in":"query","name":"options.requestedPolicyVersion","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIamV1Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{resource}:setIamPolicy":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.","operationId":"beyondcorp.projects.locations.clientGateways.setIamPolicy","parameters":[{"description":"REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIamV1SetIamPolicyRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIamV1Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{resource}:testIamPermissions":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.","operationId":"beyondcorp.projects.locations.clientGateways.testIamPermissions","parameters":[{"description":"REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIamV1TestIamPermissionsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIamV1TestIamPermissionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean"}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"schemas":{"AllocatedConnection":{"description":"Allocated connection of the AppGateway.","properties":{"ingressPort":{"description":"Required. The ingress port of an allocated connection","format":"int32","type":"integer"},"pscUri":{"description":"Required. The PSC uri of an allocated connection","type":"string"}},"type":"object"},"AppGateway":{"description":"A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppGateway. Multiple connectors can be authorised for a single AppGateway.","properties":{"allocatedConnections":{"description":"Output only. A list of connections allocated for the Gateway","items":{"$ref":"#/components/schemas/AllocatedConnection"},"readOnly":true,"type":"array"},"createTime":{"description":"Output only. Timestamp when the resource was created.","format":"google-datetime","readOnly":true,"type":"string"},"displayName":{"description":"Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.","type":"string"},"hostType":{"description":"Required. The type of hosting used by the AppGateway.","enum":["HOST_TYPE_UNSPECIFIED","GCP_REGIONAL_MIG"],"type":"string"},"labels":{"additionalProperties":{"type":"string"},"description":"Optional. Resource labels to represent user provided metadata.","type":"object"},"name":{"description":"Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.","type":"string"},"state":{"description":"Output only. The current state of the AppGateway.","enum":["STATE_UNSPECIFIED","CREATING","CREATED","UPDATING","DELETING","DOWN"],"readOnly":true,"type":"string"},"type":{"description":"Required. The type of network connectivity used by the AppGateway.","enum":["TYPE_UNSPECIFIED","TCP_PROXY"],"type":"string"},"uid":{"description":"Output only. A unique identifier for the instance generated by the system.","readOnly":true,"type":"string"},"updateTime":{"description":"Output only. Timestamp when the resource was last modified.","format":"google-datetime","readOnly":true,"type":"string"},"uri":{"description":"Output only. Server-defined URI for this resource.","readOnly":true,"type":"string"}},"type":"object"},"AppGatewayOperationMetadata":{"description":"Represents the metadata of the long-running operation.","properties":{"apiVersion":{"description":"Output only. API version used to start the operation.","readOnly":true,"type":"string"},"createTime":{"description":"Output only. The time the operation was created.","format":"google-datetime","readOnly":true,"type":"string"},"endTime":{"description":"Output only. The time the operation finished running.","format":"google-datetime","readOnly":true,"type":"string"},"requestedCancellation":{"description":"Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.","readOnly":true,"type":"boolean"},"statusMessage":{"description":"Output only. Human-readable status of the operation, if any.","readOnly":true,"type":"string"},"target":{"description":"Output only. Server-defined resource path for the target of the operation.","readOnly":true,"type":"string"},"verb":{"description":"Output only. Name of the verb executed by the operation.","readOnly":true,"type":"string"}},"type":"object"},"CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig":{"description":"ConnectionConfig represents a Connection Configuration object.","properties":{"applicationEndpoint":{"description":"application_endpoint is the endpoint of the application the form of host:port. For example, \"localhost:80\".","type":"string"},"applicationName":{"description":"application_name represents the given name of the application the connection is connecting with.","type":"string"},"gateway":{"description":"gateway lists all instances running a gateway in GCP. They all connect to a connector on the host.","items":{"$ref":"#/components/schemas/CloudSecurityZerotrustApplinkAppConnectorProtoGateway"},"type":"array"},"name":{"description":"name is the unique ID for each connection. TODO(b/190732451) returns connection name from user-specified name in config. Now, name = ${application_name}:${application_endpoint}","type":"string"},"project":{"description":"project represents the consumer project the connection belongs to.","type":"string"},"tunnelsPerGateway":{"description":"tunnels_per_gateway reflects the number of tunnels between a connector and a gateway.","format":"uint32","type":"integer"},"userPort":{"description":"user_port specifies the reserved port on gateways for user connections.","format":"int32","type":"integer"}},"type":"object"},"CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails":{"description":"ConnectorDetails reflects the details of a connector.","properties":{},"type":"object"},"CloudSecurityZerotrustApplinkAppConnectorProtoGateway":{"description":"Gateway represents a GCE VM Instance endpoint for use by IAP TCP.","properties":{"interface":{"description":"interface specifies the network interface of the gateway to connect to.","type":"string"},"name":{"description":"name is the name of an instance running a gateway. It is the unique ID for a gateway. All gateways under the same connection have the same prefix. It is derived from the gateway URL. For example, name=${instance} assuming a gateway URL. https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}","type":"string"},"port":{"description":"port specifies the port of the gateway for tunnel connections from the connectors.","format":"uint32","type":"integer"},"project":{"description":"project is the tenant project the gateway belongs to. Different from the project in the connection, it is a BeyondCorpAPI internally created project to manage all the gateways. It is sharing the same network with the consumer project user owned. It is derived from the gateway URL. For example, project=${project} assuming a gateway URL. https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}","type":"string"},"selfLink":{"description":"self_link is the gateway URL in the form https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}","type":"string"},"zone":{"description":"zone represents the zone the instance belongs. It is derived from the gateway URL. For example, zone=${zone} assuming a gateway URL. https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}","type":"string"}},"type":"object"},"CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails":{"description":"LogAgentDetails reflects the details of a log agent.","properties":{},"type":"object"},"Empty":{"description":"A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }","properties":{},"type":"object"},"GoogleCloudBeyondcorpAppconnectionsV1AppConnection":{"description":"A BeyondCorp AppConnection resource represents a BeyondCorp protected AppConnection to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppConnection. Multiple connectors can be authorised for a single AppConnection.","properties":{"applicationEndpoint":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint","description":"Required. Address of the remote application endpoint for the BeyondCorp AppConnection."},"connectors":{"description":"Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.","items":{"type":"string"},"type":"array"},"createTime":{"description":"Output only. Timestamp when the resource was created.","format":"google-datetime","readOnly":true,"type":"string"},"displayName":{"description":"Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.","type":"string"},"gateway":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway","description":"Optional. Gateway used by the AppConnection."},"labels":{"additionalProperties":{"type":"string"},"description":"Optional. Resource labels to represent user provided metadata.","type":"object"},"name":{"description":"Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.","type":"string"},"state":{"description":"Output only. The current state of the AppConnection.","enum":["STATE_UNSPECIFIED","CREATING","CREATED","UPDATING","DELETING","DOWN"],"readOnly":true,"type":"string"},"type":{"description":"Required. The type of network connectivity used by the AppConnection.","enum":["TYPE_UNSPECIFIED","TCP_PROXY"],"type":"string"},"uid":{"description":"Output only. A unique identifier for the instance generated by the system.","readOnly":true,"type":"string"},"updateTime":{"description":"Output only. Timestamp when the resource was last modified.","format":"google-datetime","readOnly":true,"type":"string"}},"type":"object"},"GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint":{"description":"ApplicationEndpoint represents a remote application endpoint.","properties":{"host":{"description":"Required. Hostname or IP address of the remote application endpoint.","type":"string"},"port":{"description":"Required. Port of the remote application endpoint.","format":"int32","type":"integer"}},"type":"object"},"GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway":{"description":"Gateway represents a user facing component that serves as an entrance to enable connectivity.","properties":{"appGateway":{"description":"Required. AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`","type":"string"},"ingressPort":{"description":"Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.","format":"int32","readOnly":true,"type":"integer"},"l7psc":{"description":"Output only. L7 private service connection for this resource.","readOnly":true,"type":"string"},"type":{"description":"Required. The type of hosting used by the gateway.","enum":["TYPE_UNSPECIFIED","GCP_REGIONAL_MIG"],"type":"string"},"uri":{"description":"Output only. Server-defined URI for this resource.","readOnly":true,"type":"string"}},"type":"object"},"GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata":{"description":"Represents the metadata of the long-running operation.","properties":{"apiVersion":{"description":"Output only. API version used to start the operation.","readOnly":true,"type":"string"},"createTime":{"description":"Output only. The time the operation was created.","format":"google-datetime","readOnly":true,"type":"string"},"endTime":{"description":"Output only. The time the operation finished running.","format":"google-datetime","readOnly":true,"type":"string"},"requestedCancellation":{"description":"Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.","readOnly":true,"type":"boolean"},"statusMessage":{"description":"Output only. Human-readable status of the operation, if any.","readOnly":true,"type":"string"},"target":{"description":"Output only. Server-defined resource path for the target of the operation.","readOnly":true,"type":"string"},"verb":{"description":"Output only. Name of the verb executed by the operation.","readOnly":true,"type":"string"}},"type":"object"},"GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse":{"description":"Response message for BeyondCorp.ListAppConnections.","properties":{"appConnections":{"description":"A list of BeyondCorp AppConnections in the project.","items":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1AppConnection"},"type":"array"},"nextPageToken":{"description":"A token to retrieve the next page of results, or empty if there are no more results in the list.","type":"string"},"unreachable":{"description":"A list of locations that could not be reached.","items":{"type":"string"},"type":"array"}},"type":"object"},"GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse":{"description":"Response message for BeyondCorp.ResolveAppConnections.","properties":{"appConnectionDetails":{"description":"A list of BeyondCorp AppConnections with details in the project.","items":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails"},"type":"array"},"nextPageToken":{"description":"A token to retrieve the next page of results, or empty if there are no more results in the list.","type":"string"},"unreachable":{"description":"A list of locations that could not be reached.","items":{"type":"string"},"type":"array"}},"type":"object"},"GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails":{"description":"Details of the AppConnection.","properties":{"appConnection":{"$ref":"#/components/schemas/GoogleCloudBeyondcorpAppconnectionsV1AppConnection","description":"A BeyondCorp AppConnection in the project."},"recentMigVms":{"description":"If type=GCP_REGIONAL_MIG, contains most rece