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

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

Overview

Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing and Internal HTTP(S) load balancing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Subsetting

Returns a new instance of Subsetting.



38862
38863
38864
# File 'lib/google/apis/compute_alpha/classes.rb', line 38862

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

Instance Attribute Details

#policyString

Corresponds to the JSON property policy

Returns:

  • (String)


38860
38861
38862
# File 'lib/google/apis/compute_alpha/classes.rb', line 38860

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38867
38868
38869
# File 'lib/google/apis/compute_alpha/classes.rb', line 38867

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