Network Services V1 API - Class Google::Cloud::NetworkServices::V1::Gateway (v0.1.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::Gateway.

Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the Gateway resource.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the Gateway resource.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the Gateway resource.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/<gateway_name>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/<gateway_name>.
Returns
  • (::String) — Required. Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/<gateway_name>.

#ports

def ports() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — Required. One or more ports that the Gateway must receive traffic on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0 on the ports specified below.

#ports=

def ports=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — Required. One or more ports that the Gateway must receive traffic on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0 on the ports specified below.
Returns
  • (::Array<::Integer>) — Required. One or more ports that the Gateway must receive traffic on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0 on the ports specified below.

#scope

def scope() -> ::String
Returns
  • (::String) — Required. Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer.

    Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer.

    Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.

Returns
  • (::String) — Required. Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer.

    Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.

def self_link() -> ::String
Returns
  • (::String) — Output only. Server-defined URL of this resource

#server_tls_policy

def server_tls_policy() -> ::String
Returns
  • (::String) — Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.

#server_tls_policy=

def server_tls_policy=(value) -> ::String
Parameter
  • value (::String) — Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
Returns
  • (::String) — Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.

#type

def type() -> ::Google::Cloud::NetworkServices::V1::Gateway::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::NetworkServices::V1::Gateway::Type
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns