GoogleApi.BeyondCorp.V1.Model.CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig (google_api_beyond_corp v0.16.0)

View Source

ConnectionConfig represents a Connection Configuration object.

Attributes

  • applicationEndpoint (type: String.t, default: nil) - application_endpoint is the endpoint of the application the form of host:port. For example, "localhost:80".
  • applicationName (type: String.t, default: nil) - application_name represents the given name of the application the connection is connecting with.
  • gateway (type: list(GoogleApi.BeyondCorp.V1.Model.CloudSecurityZerotrustApplinkAppConnectorProtoGateway.t), default: nil) - gateway lists all instances running a gateway in GCP. They all connect to a connector on the host.
  • name (type: String.t, default: nil) - 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}
  • project (type: String.t, default: nil) - project represents the consumer project the connection belongs to.
  • tunnelsPerGateway (type: integer(), default: nil) - tunnels_per_gateway reflects the number of tunnels between a connector and a gateway.
  • userPort (type: integer(), default: nil) - user_port specifies the reserved port on gateways for user connections.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.BeyondCorp.V1.Model.CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig{
    applicationEndpoint: String.t() | nil,
    applicationName: String.t() | nil,
    gateway:
      [
        GoogleApi.BeyondCorp.V1.Model.CloudSecurityZerotrustApplinkAppConnectorProtoGateway.t()
      ]
      | nil,
    name: String.t() | nil,
    project: String.t() | nil,
    tunnelsPerGateway: integer() | nil,
    userPort: integer() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.