Class: Google::Apis::TrafficdirectorV3::StaticEndpointConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StaticEndpointConfig

Returns a new instance of StaticEndpointConfig.



1475
1476
1477
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1475

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

Instance Attribute Details

#endpoint_configHash<String,Object>

The endpoint config. Corresponds to the JSON property endpointConfig

Returns:

  • (Hash<String,Object>)


1468
1469
1470
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1468

def endpoint_config
  @endpoint_config
end

#last_updatedString

[#not-implemented-hide:] The timestamp when the Endpoint was last updated. Corresponds to the JSON property lastUpdated

Returns:

  • (String)


1473
1474
1475
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1473

def last_updated
  @last_updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1480
1481
1482
1483
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1480

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