REST Resource: projects.locations.appGateways

Resource: AppGateway

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.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "displayName": string,
  "uid": string,
  "type": enum (Type),
  "state": enum (State),
  "uri": string,
  "allocatedConnections": [
    {
      object (AllocatedConnection)
    }
  ],
  "hostType": enum (HostType)
}
Fields
name

string

Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.

createTime

string (Timestamp format)

Output only. Timestamp when the resource was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Timestamp when the resource was last modified.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

Optional. Resource labels to represent user provided metadata.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

displayName

string

Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.

uid

string

Output only. A unique identifier for the instance generated by the system.

type

enum (Type)

Required. The type of network connectivity used by the AppGateway.

state

enum (State)

Output only. The current state of the AppGateway.

uri

string

Output only. Server-defined URI for this resource.

allocatedConnections[]

object (AllocatedConnection)

Output only. A list of connections allocated for the Gateway

hostType

enum (HostType)

Required. The type of hosting used by the AppGateway.

Type

Enum containing list of all possible network connectivity options supported by BeyondCorp AppGateway.

Enums
TYPE_UNSPECIFIED Default value. This value is unused.
TCP_PROXY TCP Proxy based BeyondCorp Connection. API will default to this if unset.

State

Represents the different states of an AppGateway.

Enums
STATE_UNSPECIFIED Default value. This value is unused.
CREATING AppGateway is being created.
CREATED AppGateway has been created.
UPDATING AppGateway's configuration is being updated.
DELETING AppGateway is being deleted.
DOWN AppGateway is down and may be restored in the future. This happens when CCFE sends ProjectState = OFF.

AllocatedConnection

Allocated connection of the AppGateway.

JSON representation
{
  "pscUri": string,
  "ingressPort": integer
}
Fields
pscUri

string

Required. The PSC uri of an allocated connection

ingressPort

integer

Required. The ingress port of an allocated connection

HostType

Enum containing list of all possible host types supported by BeyondCorp Connection.

Enums
HOST_TYPE_UNSPECIFIED Default value. This value is unused.
GCP_REGIONAL_MIG AppGateway hosted in a GCP regional managed instance group.

Methods

create

Creates a new AppGateway in a given project and location.

delete

Deletes a single AppGateway.

get

Gets details of a single AppGateway.

getIamPolicy

Gets the access control policy for a resource.

list

Lists AppGateways in a given project and location.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.