Class: Google::Apis::TrafficdirectorV3::ClientStatusRequest

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

Request for client status of clients identified by a list of NodeMatchers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientStatusRequest

Returns a new instance of ClientStatusRequest.



155
156
157
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 155

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

Instance Attribute Details

#exclude_resource_contentsBoolean Also known as: exclude_resource_contents?

If true, the server will not include the resource contents in the response (i. e., the generic_xds_configs.xds_config field will not be populated). [#not- implemented-hide:] Corresponds to the JSON property excludeResourceContents

Returns:

  • (Boolean)


139
140
141
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 139

def exclude_resource_contents
  @exclude_resource_contents
end

#nodeGoogle::Apis::TrafficdirectorV3::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: 13] Corresponds to the JSON property node



147
148
149
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 147

def node
  @node
end

#node_matchersArray<Google::Apis::TrafficdirectorV3::NodeMatcher>

Management server can use these match criteria to identify clients. The match follows OR semantics. Corresponds to the JSON property nodeMatchers



153
154
155
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 153

def node_matchers
  @node_matchers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



160
161
162
163
164
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 160

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