Class: Google::Apis::DomainsV1alpha2::WrrPolicy
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::WrrPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb
Overview
Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
Instance Attribute Summary collapse
-
#item ⇒ Array<Google::Apis::DomainsV1alpha2::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.
2424 2425 2426 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item ⇒ Array<Google::Apis::DomainsV1alpha2::WrrPolicyItem>
Corresponds to the JSON property item
2422 2423 2424 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2422 def item @item end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2429 2430 2431 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2429 def update!(**args) @item = args[:item] if args.key?(:item) end |