Class: Google::Apis::DomainsV1::WrrPolicy
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1::WrrPolicy
- 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
-
#item ⇒ Array<Google::Apis::DomainsV1::WrrPolicyItem>
Corresponds to the JSON property
item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WrrPolicy
constructor
A new instance of WrrPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WrrPolicy
Returns a new instance of WrrPolicy.
2441 2442 2443 |
# File 'lib/google/apis/domains_v1/classes.rb', line 2441 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item ⇒ Array<Google::Apis::DomainsV1::WrrPolicyItem>
Corresponds to the JSON property item
2439 2440 2441 |
# File 'lib/google/apis/domains_v1/classes.rb', line 2439 def item @item end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2446 2447 2448 |
# File 'lib/google/apis/domains_v1/classes.rb', line 2446 def update!(**args) @item = args[:item] if args.key?(:item) end |