Class: Google::Apis::ComputeAlpha::Subsetting

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Overview

Subsetting options to make L4 ILB support any number of backend instances

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Subsetting

Returns a new instance of Subsetting.



36774
36775
36776
# File 'generated/google/apis/compute_alpha/classes.rb', line 36774

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

Instance Attribute Details

#policyString

Corresponds to the JSON property policy

Returns:

  • (String)


36772
36773
36774
# File 'generated/google/apis/compute_alpha/classes.rb', line 36772

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36779
36780
36781
# File 'generated/google/apis/compute_alpha/classes.rb', line 36779

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