Class: Google::Apis::TrafficdirectorV2::ClientConfig

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

Overview

All xds configs for a particular client.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientConfig

Returns a new instance of ClientConfig.



97
98
99
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 97

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

Instance Attribute Details

#nodeGoogle::Apis::TrafficdirectorV2::Node

Identifies a specific Envoy instance. The node identifier is presented to the management server, which may use this identifier to distinguish per Envoy configuration for serving. [#next-free-field: 12] Corresponds to the JSON property node



90
91
92
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 90

def node
  @node
end

#xds_configArray<Google::Apis::TrafficdirectorV2::PerXdsConfig>

Corresponds to the JSON property xdsConfig



95
96
97
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 95

def xds_config
  @xds_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



102
103
104
105
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 102

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