Class: Google::Apis::TrafficdirectorV2::Pipe

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#modeFixnum

The mode for the Pipe. Not applicable for abstract sockets. Corresponds to the JSON property mode

Returns:

  • (Fixnum)


867
868
869
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 867

def mode
  @mode
end

#pathString

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

Returns:

  • (String)


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