Class: Google::Apis::ComputeV1::Subsetting

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Subsetting

Returns a new instance of Subsetting.



43000
43001
43002
# File 'lib/google/apis/compute_v1/classes.rb', line 43000

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

Instance Attribute Details

#policyString

Corresponds to the JSON property policy

Returns:

  • (String)


42998
42999
43000
# File 'lib/google/apis/compute_v1/classes.rb', line 42998

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43005
43006
43007
# File 'lib/google/apis/compute_v1/classes.rb', line 43005

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