class Google::Apis::TrafficdirectorV2::PathSegment

Specifies the segment in a path to retrieve value from Struct.

Attributes

key[RW]

If specified, use the key to retrieve the value in a Struct. Corresponds to the JSON property `key` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 791
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/trafficdirector_v2/classes.rb, line 796
def update!(**args)
  @key = args[:key] if args.key?(:key)
end