Class: Google::Cloud::NetworkServices::V1::Gateway
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::Gateway
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/gateway.rb
Overview
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.
Defined Under Namespace
Modules: Type Classes: LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
Required.
-
#ports ⇒ ::Array<::Integer>
Required.
-
#scope ⇒ ::String
Required.
-
#self_link ⇒ ::String
readonly
Output only.
-
#server_tls_policy ⇒ ::String
Optional.
-
#type ⇒ ::Google::Cloud::NetworkServices::V1::Gateway::Type
Immutable.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp when the resource was created.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#description ⇒ ::String
Returns Optional. A free-text description of the resource. Max length 1024 characters.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Set of label tags associated with the Gateway resource.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#name ⇒ ::String
Returns Required. Name of the Gateway resource. It matches pattern
projects/*/locations/*/gateways/<gateway_name>
.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#ports ⇒ ::Array<::Integer>
Returns 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.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#scope ⇒ ::String
Returns 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.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#self_link ⇒ ::String (readonly)
Returns Output only. Server-defined URL of this resource.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#server_tls_policy ⇒ ::String
Returns Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#type ⇒ ::Google::Cloud::NetworkServices::V1::Gateway::Type
Returns Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp when the resource was updated.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/networkservices/v1/gateway.rb', line 71 class Gateway include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the customer-managed gateway. # Possible values are: # * OPEN_MESH # * SECURE_WEB_GATEWAY module Type # The type of the customer managed gateway is unspecified. TYPE_UNSPECIFIED = 0 # The type of the customer managed gateway is TrafficDirector Open # Mesh. OPEN_MESH = 1 # The type of the customer managed gateway is SecureWebGateway (SWG). SECURE_WEB_GATEWAY = 2 end end |