Class: Google::Apis::TrafficdirectorV3::ContextParams

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

Overview

Additional parameters that can be used to select resource variants. These include any global context parameters, per-resource type client feature capabilities and per-resource type functional attributes. All per-resource type attributes will be xds.resource. prefixed and some of these are documented below: xds.resource.listening_address: The value is "IP:port" (e. g. "10.1.1.3:8080") which is the listening address of a Listener. Used in a Listener resource query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContextParams

Returns a new instance of ContextParams.



246
247
248
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 246

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#paramsHash<String,String>

Corresponds to the JSON property params

Returns:

  • (Hash<String,String>)


244
245
246
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 244

def params
  @params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



251
252
253
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 251

def update!(**args)
  @params = args[:params] if args.key?(:params)
end