googleapis
Version:
Google APIs Client Library for Node.js
1,264 lines (1,263 loc) • 339 kB
TypeScript
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { Readable } from 'stream';
export declare namespace beyondcorp_v1 {
export interface Options extends GlobalOptions {
version: 'v1';
}
interface StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth;
/**
* V1 error format.
*/
'$.xgafv'?: string;
/**
* OAuth access token.
*/
access_token?: string;
/**
* Data format for response.
*/
alt?: string;
/**
* JSONP
*/
callback?: string;
/**
* Selector specifying which fields to include in a partial response.
*/
fields?: string;
/**
* 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.
*/
key?: string;
/**
* OAuth 2.0 token for the current user.
*/
oauth_token?: string;
/**
* Returns response with indentations and line breaks.
*/
prettyPrint?: boolean;
/**
* 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.
*/
quotaUser?: string;
/**
* Legacy upload protocol for media (e.g. "media", "multipart").
*/
uploadType?: string;
/**
* Upload protocol for media (e.g. "raw", "multipart").
*/
upload_protocol?: string;
}
/**
* BeyondCorp API
*
* Chrome Enterprise Premium is a secure enterprise browsing solution that provides secure access to applications and resources, and offers integrated threat and data protection. It adds an extra layer of security to safeguard your Chrome browser environment, including Data Loss Prevention (DLP), real-time URL and file scanning, and Context-Aware Access for SaaS and web apps.
*
* @example
* ```js
* const {google} = require('googleapis');
* const beyondcorp = google.beyondcorp('v1');
* ```
*/
export class Beyondcorp {
context: APIRequestContext;
organizations: Resource$Organizations;
projects: Resource$Projects;
constructor(options: GlobalOptions, google?: GoogleConfigurable);
}
/**
* Allocated connection of the AppGateway.
*/
export interface Schema$AllocatedConnection {
/**
* Required. The ingress port of an allocated connection
*/
ingressPort?: number | null;
/**
* Required. The PSC uri of an allocated connection
*/
pscUri?: string | null;
}
/**
* 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.
*/
export interface Schema$AppGateway {
/**
* Output only. A list of connections allocated for the Gateway
*/
allocatedConnections?: Schema$AllocatedConnection[];
/**
* Output only. Timestamp when the resource was created.
*/
createTime?: string | null;
/**
* Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
*/
displayName?: string | null;
/**
* Required. The type of hosting used by the AppGateway.
*/
hostType?: string | null;
/**
* Optional. Resource labels to represent user provided metadata.
*/
labels?: {
[key: string]: string;
} | null;
/**
* 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.
*/
state?: string | null;
/**
* Required. The type of network connectivity used by the AppGateway.
*/
type?: string | null;
/**
* Output only. A unique identifier for the instance generated by the system.
*/
uid?: string | null;
/**
* Output only. Timestamp when the resource was last modified.
*/
updateTime?: string | null;
/**
* Output only. Server-defined URI for this resource.
*/
uri?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$AppGatewayOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* ConnectionConfig represents a Connection Configuration object.
*/
export interface Schema$CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig {
/**
* application_endpoint is the endpoint of the application the form of host:port. For example, "localhost:80".
*/
applicationEndpoint?: string | null;
/**
* application_name represents the given name of the application the connection is connecting with.
*/
applicationName?: string | null;
/**
* gateway lists all instances running a gateway in GCP. They all connect to a connector on the host.
*/
gateway?: Schema$CloudSecurityZerotrustApplinkAppConnectorProtoGateway[];
/**
* 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\}
*/
name?: string | null;
/**
* project represents the consumer project the connection belongs to.
*/
project?: string | null;
/**
* tunnels_per_gateway reflects the number of tunnels between a connector and a gateway.
*/
tunnelsPerGateway?: number | null;
/**
* user_port specifies the reserved port on gateways for user connections.
*/
userPort?: number | null;
}
/**
* ConnectorDetails reflects the details of a connector.
*/
export interface Schema$CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails {
}
/**
* Gateway represents a GCE VM Instance endpoint for use by IAP TCP.
*/
export interface Schema$CloudSecurityZerotrustApplinkAppConnectorProtoGateway {
/**
* interface specifies the network interface of the gateway to connect to.
*/
interface?: string | null;
/**
* 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\}
*/
name?: string | null;
/**
* port specifies the port of the gateway for tunnel connections from the connectors.
*/
port?: number | null;
/**
* 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\}
*/
project?: string | null;
/**
* self_link is the gateway URL in the form https://www.googleapis.com/compute/${version\}/projects/${project\}/zones/${zone\}/instances/${instance\}
*/
selfLink?: string | null;
/**
* 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\}
*/
zone?: string | null;
}
/**
* LogAgentDetails reflects the details of a log agent.
*/
export interface Schema$CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails {
}
/**
* 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); \}
*/
export interface Schema$Empty {
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* 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.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnection {
/**
* Required. Address of the remote application endpoint for the BeyondCorp AppConnection.
*/
applicationEndpoint?: Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint;
/**
* Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.
*/
connectors?: string[] | null;
/**
* Output only. Timestamp when the resource was created.
*/
createTime?: string | null;
/**
* Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.
*/
displayName?: string | null;
/**
* Optional. Gateway used by the AppConnection.
*/
gateway?: Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway;
/**
* Optional. Resource labels to represent user provided metadata.
*/
labels?: {
[key: string]: string;
} | null;
/**
* 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.
*/
state?: string | null;
/**
* Required. The type of network connectivity used by the AppConnection.
*/
type?: string | null;
/**
* Output only. A unique identifier for the instance generated by the system.
*/
uid?: string | null;
/**
* Output only. Timestamp when the resource was last modified.
*/
updateTime?: string | null;
}
/**
* ApplicationEndpoint represents a remote application endpoint.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint {
/**
* Required. Hostname or IP address of the remote application endpoint.
*/
host?: string | null;
/**
* Required. Port of the remote application endpoint.
*/
port?: number | null;
}
/**
* Gateway represents a user facing component that serves as an entrance to enable connectivity.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway {
/**
* Required. AppGateway name in following format: `projects/{project_id\}/locations/{location_id\}/appgateways/{gateway_id\}`
*/
appGateway?: string | null;
/**
* Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
*/
ingressPort?: number | null;
/**
* Output only. L7 private service connection for this resource.
*/
l7psc?: string | null;
/**
* Required. The type of hosting used by the gateway.
*/
type?: string | null;
/**
* Output only. Server-defined URI for this resource.
*/
uri?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* Response message for BeyondCorp.ListAppConnections.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse {
/**
* A list of BeyondCorp AppConnections in the project.
*/
appConnections?: Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnection[];
/**
* A token to retrieve the next page of results, or empty if there are no more results in the list.
*/
nextPageToken?: string | null;
/**
* A list of locations that could not be reached.
*/
unreachable?: string[] | null;
}
/**
* Response message for BeyondCorp.ResolveAppConnections.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse {
/**
* A list of BeyondCorp AppConnections with details in the project.
*/
appConnectionDetails?: Schema$GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails[];
/**
* A token to retrieve the next page of results, or empty if there are no more results in the list.
*/
nextPageToken?: string | null;
/**
* A list of locations that could not be reached.
*/
unreachable?: string[] | null;
}
/**
* Details of the AppConnection.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails {
/**
* A BeyondCorp AppConnection in the project.
*/
appConnection?: Schema$GoogleCloudBeyondcorpAppconnectionsV1AppConnection;
/**
* If type=GCP_REGIONAL_MIG, contains most recent VM instances, like `https://www.googleapis.com/compute/v1/projects/{project_id\}/zones/{zone_id\}/instances/{instance_id\}`.
*/
recentMigVms?: string[] | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* ContainerHealthDetails reflects the health details of a container.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails {
/**
* The version of the current config.
*/
currentConfigVersion?: string | null;
/**
* The latest error message.
*/
errorMsg?: string | null;
/**
* The version of the expected config.
*/
expectedConfigVersion?: string | null;
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*/
extendedStatus?: {
[key: string]: string;
} | null;
}
/**
* RemoteAgentDetails reflects the details of a remote agent.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails {
}
/**
* A BeyondCorp connector resource that represents an application facing component deployed proximal to and with direct access to the application instances. It is used to establish connectivity between the remote enterprise environment and GCP. It initiates connections to the applications and can proxy the data from users over the connection.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnector {
/**
* Output only. Timestamp when the resource was created.
*/
createTime?: string | null;
/**
* Optional. An arbitrary user-provided name for the AppConnector. Cannot exceed 64 characters.
*/
displayName?: string | null;
/**
* Optional. Resource labels to represent user provided metadata.
*/
labels?: {
[key: string]: string;
} | null;
/**
* Required. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector.
*/
name?: string | null;
/**
* Required. Principal information about the Identity of the AppConnector.
*/
principalInfo?: Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo;
/**
* Optional. Resource info of the connector.
*/
resourceInfo?: Schema$GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo;
/**
* Output only. The current state of the AppConnector.
*/
state?: string | null;
/**
* Output only. A unique identifier for the instance generated by the system.
*/
uid?: string | null;
/**
* Output only. Timestamp when the resource was last modified.
*/
updateTime?: string | null;
}
/**
* AppConnectorInstanceConfig defines the instance config of a AppConnector.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig {
/**
* ImageConfig defines the GCR images to run for the remote agent's control plane.
*/
imageConfig?: Schema$GoogleCloudBeyondcorpAppconnectorsV1ImageConfig;
/**
* The SLM instance agent configuration.
*/
instanceConfig?: {
[key: string]: any;
} | null;
/**
* NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.
*/
notificationConfig?: Schema$GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig;
/**
* Required. A monotonically increasing number generated and maintained by the API provider. Every time a config changes in the backend, the sequenceNumber should be bumped up to reflect the change.
*/
sequenceNumber?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* PrincipalInfo represents an Identity oneof.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo {
/**
* A GCP service account.
*/
serviceAccount?: Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount;
}
/**
* ServiceAccount represents a GCP service account.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount {
/**
* Email address of the service account.
*/
email?: string | null;
}
/**
* ContainerHealthDetails reflects the health details of a container.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails {
/**
* The version of the current config.
*/
currentConfigVersion?: string | null;
/**
* The latest error message.
*/
errorMsg?: string | null;
/**
* The version of the expected config.
*/
expectedConfigVersion?: string | null;
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*/
extendedStatus?: {
[key: string]: string;
} | null;
}
/**
* ImageConfig defines the control plane images to run.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1ImageConfig {
/**
* The stable image that the remote agent will fallback to if the target image fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
*/
stableImage?: string | null;
/**
* The initial image the remote agent will attempt to run for the control plane. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
*/
targetImage?: string | null;
}
/**
* Response message for BeyondCorp.ListAppConnectors.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse {
/**
* A list of BeyondCorp AppConnectors in the project.
*/
appConnectors?: Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnector[];
/**
* A token to retrieve the next page of results, or empty if there are no more results in the list.
*/
nextPageToken?: string | null;
/**
* A list of locations that could not be reached.
*/
unreachable?: string[] | null;
}
/**
* NotificationConfig defines the mechanisms to notify instance agent.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig {
/**
* Cloud Pub/Sub Configuration to receive notifications.
*/
pubsubNotification?: Schema$GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig;
}
/**
* The configuration for Pub/Sub messaging for the AppConnector.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig {
/**
* The Pub/Sub subscription the AppConnector uses to receive notifications.
*/
pubsubSubscription?: string | null;
}
/**
* RemoteAgentDetails reflects the details of a remote agent.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails {
}
/**
* Request report the connector status.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest {
/**
* 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).
*/
requestId?: string | null;
/**
* Required. Resource info of the connector.
*/
resourceInfo?: Schema$GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo;
/**
* Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
*/
validateOnly?: boolean | null;
}
/**
* Response message for BeyondCorp.ResolveInstanceConfig.
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse {
/**
* AppConnectorInstanceConfig.
*/
instanceConfig?: Schema$GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig;
}
/**
* ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent
*/
export interface Schema$GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo {
/**
* Required. Unique Id for the resource.
*/
id?: string | null;
/**
* Specific details for the resource. This is for internal use only.
*/
resource?: {
[key: string]: any;
} | null;
/**
* Overall health status. Overall status is derived based on the status of each sub level resources.
*/
status?: string | null;
/**
* List of Info for the sub level resources.
*/
sub?: Schema$GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo[];
/**
* The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
*/
time?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* 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`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* 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`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* ContainerHealthDetails reflects the health details of a container.
*/
export interface Schema$GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails {
/**
* The version of the current config.
*/
currentConfigVersion?: string | null;
/**
* The latest error message.
*/
errorMsg?: string | null;
/**
* The version of the expected config.
*/
expectedConfigVersion?: string | null;
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*/
extendedStatus?: {
[key: string]: string;
} | null;
}
/**
* RemoteAgentDetails reflects the details of a remote agent.
*/
export interface Schema$GoogleCloudBeyondcorpConnectorsV1alphaRemoteAgentDetails {
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the caller 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`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the caller 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`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* Represents the metadata of the long-running operation.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata {
/**
* Output only. API version used to start the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the verb executed by the operation.
*/
verb?: string | null;
}
/**
* The information about an application resource.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1Application {
/**
* Output only. Timestamp when the resource was created.
*/
createTime?: string | null;
/**
* Optional. An arbitrary user-provided name for the application resource. Cannot exceed 64 characters.
*/
displayName?: string | null;
/**
* Optional. An array of conditions to match the application's network endpoint. Each element in the array is an EndpointMatcher object, which defines a specific combination of a hostname pattern and one or more ports. The application is considered matched if at least one of the EndpointMatcher conditions in this array is met (the conditions are combined using OR logic). Each EndpointMatcher must contain a hostname pattern, such as "example.com", and one or more port numbers specified as a string, such as "443". Hostname and port number examples: "*.example.com", "443" "example.com" and "22" "example.com" and "22,33"
*/
endpointMatchers?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher[];
/**
* Identifier. Name of the resource.
*/
name?: string | null;
/**
* Optional. Type of the external application.
*/
schema?: string | null;
/**
* Output only. Timestamp when the resource was last modified.
*/
updateTime?: string | null;
/**
* Optional. Which upstream resources to forward traffic to.
*/
upstreams?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream[];
}
/**
* Which upstream resource to forward traffic to.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream {
/**
* Optional. Routing policy information.
*/
egressPolicy?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy;
/**
* List of the external endpoints to forward traffic to.
*/
external?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal;
/**
* Network to forward traffic to.
*/
network?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork;
/**
* Optional. Enables proxy protocol configuration for the upstream.
*/
proxyProtocol?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig;
}
/**
* Endpoints to forward traffic to.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal {
/**
* Required. List of the endpoints to forward traffic to.
*/
endpoints?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint[];
}
/**
* Network to forward traffic to.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork {
/**
* Required. Network name is of the format: `projects/{project\}/global/networks/{network\}
*/
name?: string | null;
}
/**
* Contextual headers configuration.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders {
/**
* Optional. The device information configuration.
*/
deviceInfo?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo;
/**
* Optional. Group details.
*/
groupInfo?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo;
/**
* Optional. Default output type for all enabled headers.
*/
outputType?: string | null;
/**
* Optional. User details.
*/
userInfo?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo;
}
/**
* The delegated device information configuration.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo {
/**
* Optional. The output type details for the delegated device.
*/
outputType?: string | null;
}
/**
* The delegated group configuration details.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo {
/**
* Optional. The output type of the delegated group information.
*/
outputType?: string | null;
}
/**
* The configuration information for the delegated user.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo {
/**
* Optional. The delegated user's information.
*/
outputType?: string | null;
}
/**
* Routing policy information.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy {
/**
* Required. List of the regions where the application sends traffic.
*/
regions?: string[] | null;
}
/**
* Internet Gateway endpoint to forward traffic to.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint {
/**
* Required. Hostname of the endpoint.
*/
hostname?: string | null;
/**
* Required. Port of the endpoint.
*/
port?: number | null;
}
/**
* EndpointMatcher contains the information of the endpoint that will match the application.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher {
/**
* Required. Hostname of the application.
*/
hostname?: string | null;
/**
* Required. The ports of the application.
*/
ports?: number[] | null;
}
/**
* The Hub message contains information pertaining to the regional data path deployments.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1Hub {
/**
* Optional. Internet Gateway configuration.
*/
internetGateway?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway;
}
/**
* Represents the Internet Gateway configuration.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway {
/**
* Output only. List of IP addresses assigned to the Cloud NAT.
*/
assignedIps?: string[] | null;
}
/**
* Message for response to listing Applications.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse {
/**
* A list of BeyondCorp Application in the project.
*/
applications?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1Application[];
/**
* A token to retrieve the next page of results, or empty if there are no more results in the list.
*/
nextPageToken?: string | null;
/**
* A list of locations that could not be reached.
*/
unreachable?: string[] | null;
}
/**
* Message for response to listing SecurityGateways.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse {
/**
* A token to retrieve the next page of results, or empty if there are no more results in the list.
*/
nextPageToken?: string | null;
/**
* A list of BeyondCorp SecurityGateway in the project.
*/
securityGateways?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway[];
/**
* A list of locations that could not be reached.
*/
unreachable?: string[] | null;
}
/**
* The configuration for the proxy.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig {
/**
* Optional. List of the allowed client header names.
*/
allowedClientHeaders?: string[] | null;
/**
* Optional. Client IP configuration. The client IP address is included if true.
*/
clientIp?: boolean | null;
/**
* Optional. Configuration for the contextual headers.
*/
contextualHeaders?: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders;
/**
* Optional. The security gateway identity configuration.
*/
gatewayIdentity?: string | null;
/**
* Optional. Custom resource specific headers along with the values. The names should conform to RFC 9110: \>Field names can contain alphanumeric characters, hyphens, and periods, can contain only ASCII-printable characters and tabs, and must start with a letter.
*/
metadataHeaders?: {
[key: string]: string;
} | null;
}
/**
* The information about a security gateway resource.
*/
export interface Schema$GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway {
/**
* Output only. Timestamp when the resource was created.
*/
createTime?: string | null;
/**
* Output only. Service account used for operations that involve resources in consumer projects.
*/
delegatingServiceAccount?: string | null;
/**
* Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
*/
displayName?: string | null;
/**
* Output only. IP addresses that will be used for establishing connection to the endpoints.
*/
externalIps?: string[] | null;
/**
* Optional. Map of Hubs that represents regional data path deployment with GCP region as a key.
*/
hubs?: {
[key: string]: Schema$GoogleCloudBeyondcorpSecuritygatewaysV1Hub;
} | null;
/**
* Identifier. Name of the resource.
*/
name?: string | null;
/**