Class: Google::Apis::TrafficdirectorV2::Pipe
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV2::Pipe
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/trafficdirector_v2/classes.rb,
generated/google/apis/trafficdirector_v2/representations.rb,
generated/google/apis/trafficdirector_v2/representations.rb
Instance Attribute Summary collapse
-
#mode ⇒ Fixnum
The mode for the Pipe.
-
#path ⇒ String
Unix Domain Socket path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pipe
constructor
A new instance of Pipe.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pipe
Returns a new instance of Pipe.
877 878 879 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ Fixnum
The mode for the Pipe. Not applicable for abstract sockets.
Corresponds to the JSON property mode
867 868 869 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 867 def mode @mode end |
#path ⇒ String
Unix Domain Socket path. On Linux, paths starting with '@' will use the
abstract namespace. The starting '@' is replaced by a null byte by Envoy.
Paths starting with '@' will result in an error in environments other than
Linux.
Corresponds to the JSON property path
875 876 877 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 875 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
882 883 884 885 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 882 def update!(**args) @mode = args[:mode] if args.key?(:mode) @path = args[:path] if args.key?(:path) end |