Class: Google::Apis::DomainsV1::WrrPolicy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/domains_v1/classes.rb,
lib/google/apis/domains_v1/representations.rb,
lib/google/apis/domains_v1/representations.rb

Overview

Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WrrPolicy

Returns a new instance of WrrPolicy.



2417
2418
2419
# File 'lib/google/apis/domains_v1/classes.rb', line 2417

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

Instance Attribute Details

#itemArray<Google::Apis::DomainsV1::WrrPolicyItem>

Corresponds to the JSON property item



2415
2416
2417
# File 'lib/google/apis/domains_v1/classes.rb', line 2415

def item
  @item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2422
2423
2424
# File 'lib/google/apis/domains_v1/classes.rb', line 2422

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