Class: Google::Apis::TrafficdirectorV3::DynamicEndpointConfig

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

[#next-free-field: 6]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DynamicEndpointConfig

Returns a new instance of DynamicEndpointConfig.



390
391
392
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 390

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

Instance Attribute Details

#client_statusString

The client status of this resource. [#not-implemented-hide:] Corresponds to the JSON property clientStatus

Returns:

  • (String)


363
364
365
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 363

def client_status
  @client_status
end

#endpoint_configHash<String,Object>

The endpoint config. Corresponds to the JSON property endpointConfig

Returns:

  • (Hash<String,Object>)


368
369
370
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 368

def endpoint_config
  @endpoint_config
end

#error_stateGoogle::Apis::TrafficdirectorV3::UpdateFailureState

Set if the last update failed, cleared after the next successful update. The error_state field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:] Corresponds to the JSON property errorState



376
377
378
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 376

def error_state
  @error_state
end

#last_updatedString

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

Returns:

  • (String)


381
382
383
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 381

def last_updated
  @last_updated
end

#version_infoString

[#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the :ref:version_info field at the time that the endpoint configuration was loaded. Corresponds to the JSON property versionInfo

Returns:

  • (String)


388
389
390
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 388

def version_info
  @version_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



395
396
397
398
399
400
401
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 395

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