Class: Google::Cloud::Compute::V1::NamedPort
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::NamedPort
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
The named port. For example: <"http", 80>.
Instance Attribute Summary collapse
-
#name ⇒ ::String
The name for this named port.
-
#port ⇒ ::Integer
The port number, which can be a value between 1 and 65535.
Instance Attribute Details
#name ⇒ ::String
Returns The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
20596 20597 20598 20599 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 20596 class NamedPort include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |