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.
2417 2418 2419 |
# File 'lib/google/apis/domains_v1/classes.rb', line 2417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item ⇒ Array<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 |