Class: Google::Apis::TrafficdirectorV3::ContextParams
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::ContextParams
- 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
-
#params ⇒ Hash<String,String>
Corresponds to the JSON property
params
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContextParams
constructor
A new instance of ContextParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#params ⇒ Hash<String,String>
Corresponds to the JSON property params
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 |