Class: Google::Apis::ComputeBeta::Subsetting

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



34219
34220
34221
# File 'lib/google/apis/compute_beta/classes.rb', line 34219

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

Instance Attribute Details

#policyString

Corresponds to the JSON property policy

Returns:

  • (String)


34217
34218
34219
# File 'lib/google/apis/compute_beta/classes.rb', line 34217

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34224
34225
34226
# File 'lib/google/apis/compute_beta/classes.rb', line 34224

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