Class: Google::Apis::TrafficdirectorV3::StaticEndpointConfig
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::StaticEndpointConfig
- 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
Instance Attribute Summary collapse
-
#endpoint_config ⇒ Hash<String,Object>
The endpoint config.
-
#last_updated ⇒ String
[#not-implemented-hide:] The timestamp when the Endpoint was last updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StaticEndpointConfig
constructor
A new instance of StaticEndpointConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StaticEndpointConfig
Returns a new instance of StaticEndpointConfig.
1448 1449 1450 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1448 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint_config ⇒ Hash<String,Object>
The endpoint config.
Corresponds to the JSON property endpointConfig
1441 1442 1443 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1441 def endpoint_config @endpoint_config end |
#last_updated ⇒ String
[#not-implemented-hide:] The timestamp when the Endpoint was last updated.
Corresponds to the JSON property lastUpdated
1446 1447 1448 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1446 def last_updated @last_updated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1453 1454 1455 1456 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1453 def update!(**args) @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config) @last_updated = args[:last_updated] if args.key?(:last_updated) end |