Class: Google::Apis::DomainsV1alpha2::WrrPolicy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WrrPolicy

Returns a new instance of WrrPolicy.



2407
2408
2409
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2407

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

Instance Attribute Details

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

Corresponds to the JSON property item



2405
2406
2407
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2405

def item
  @item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2412
2413
2414
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2412

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