Class: Google::Apis::TrafficdirectorV3::Pipe
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::Pipe
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/trafficdirector_v3/classes.rb,
lib/google/apis/trafficdirector_v3/representations.rb,
lib/google/apis/trafficdirector_v3/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.
1228 1229 1230 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1228 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
1218 1219 1220 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1218 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
1226 1227 1228 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1226 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1233 1234 1235 1236 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1233 def update!(**args) @mode = args[:mode] if args.key?(:mode) @path = args[:path] if args.key?(:path) end |