Class: Google::Apis::ComputeV1::Subsetting
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::Subsetting
- 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
-
#policy ⇒ String
Corresponds to the JSON property
policy
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Subsetting
constructor
A new instance of Subsetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Subsetting
Returns a new instance of Subsetting.
43107 43108 43109 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy ⇒ String
Corresponds to the JSON property policy
43105 43106 43107 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43105 def policy @policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43112 43113 43114 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43112 def update!(**args) @policy = args[:policy] if args.key?(:policy) end |