Class: Google::Apis::TrafficdirectorV3::InlineScopedRouteConfigs

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) ⇒ InlineScopedRouteConfigs

Returns a new instance of InlineScopedRouteConfigs.



848
849
850
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 848

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

Instance Attribute Details

#last_updatedString

The timestamp when the scoped route config set was last updated. Corresponds to the JSON property lastUpdated

Returns:

  • (String)


836
837
838
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 836

def last_updated
  @last_updated
end

#nameString

The name assigned to the scoped route configurations. Corresponds to the JSON property name

Returns:

  • (String)


841
842
843
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 841

def name
  @name
end

#scoped_route_configsArray<Hash<String,Object>>

The scoped route configurations. Corresponds to the JSON property scopedRouteConfigs

Returns:

  • (Array<Hash<String,Object>>)


846
847
848
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 846

def scoped_route_configs
  @scoped_route_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



853
854
855
856
857
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 853

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