REST Resource: projects.locations.securityGateways.applications

Resource: Application

The information about an application resource.

JSON representation
{
  "name": string,
  "endpointMatchers": [
    {
      object (EndpointMatcher)
    }
  ],
  "createTime": string,
  "updateTime": string,
  "displayName": string,
  "upstreams": [
    {
      object (Upstream)
    }
  ]
}
Fields
name

string

Identifier. Name of the resource.

endpointMatchers[]

object (EndpointMatcher)

Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matchers is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one of the conditions is met. The conditions can be one of the following combinations (Hostname), (Hostname & Ports)

EXAMPLES: Hostname - ("*.example.com"), ("xyz.example.com") Hostname and Ports - ("example.com" and "22"), ("example.com" and "22,33") etc

createTime

string (Timestamp format)

Output only. Timestamp when the resource was created.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Timestamp when the resource was last modified.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

displayName

string

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

upstreams[]

object (Upstream)

Optional. Which upstream resources to forward traffic to.

EndpointMatcher

EndpointMatcher contains the information of the endpoint that will match the application.

JSON representation
{
  "hostname": string,
  "ports": [
    integer
  ]
}
Fields
hostname

string

Required. Hostname of the application.

ports[]

integer

Optional. Ports of the application.

Upstream

Which upstream resource to forward traffic to.

JSON representation
{
  "egressPolicy": {
    object (EgressPolicy)
  },

  // Union field target can be only one of the following:
  "network": {
    object (Network)
  }
  // End of list of possible types for union field target.
}
Fields
egressPolicy

object (EgressPolicy)

Optional. Routing policy information.

Union field target. The target of the upstream resource. target can be only one of the following:
network

object (Network)

Network to forward traffic to.

Network

Network to forward traffic to.

JSON representation
{
  "name": string
}
Fields
name

string

Required. Network name is of the format: `projects/{project}/global/networks/{network}

EgressPolicy

Routing policy information.

JSON representation
{
  "regions": [
    string
  ]
}
Fields
regions[]

string

Required. List of the regions where the application sends traffic.

Methods

create

Creates a new Application in a given project and location.

delete

Deletes a single application.

get

Gets details of a single Application.

getIamPolicy

Gets the access control policy for a resource.

list

Lists Applications in a given project and location.

patch

Updates the parameters of a single Application.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.