Class: Google::Apis::ManagerV1beta2::LbModule
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::LbModule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description
. -
#health_checks ⇒ Array<String>
Corresponds to the JSON property
healthChecks
. -
#ip_address ⇒ String
Corresponds to the JSON property
ipAddress
. -
#ip_protocol ⇒ String
Corresponds to the JSON property
ipProtocol
. -
#port_range ⇒ String
Corresponds to the JSON property
portRange
. -
#session_affinity ⇒ String
Corresponds to the JSON property
sessionAffinity
. -
#target_modules ⇒ Array<String>
Corresponds to the JSON property
targetModules
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LbModule
constructor
A new instance of LbModule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LbModule
Returns a new instance of LbModule
566 567 568 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 566 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
534 535 536 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 534 def description @description end |
#health_checks ⇒ Array<String>
Corresponds to the JSON property healthChecks
539 540 541 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 539 def health_checks @health_checks end |
#ip_address ⇒ String
Corresponds to the JSON property ipAddress
544 545 546 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 544 def ip_address @ip_address end |
#ip_protocol ⇒ String
Corresponds to the JSON property ipProtocol
549 550 551 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 549 def ip_protocol @ip_protocol end |
#port_range ⇒ String
Corresponds to the JSON property portRange
554 555 556 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 554 def port_range @port_range end |
#session_affinity ⇒ String
Corresponds to the JSON property sessionAffinity
559 560 561 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 559 def session_affinity @session_affinity end |
#target_modules ⇒ Array<String>
Corresponds to the JSON property targetModules
564 565 566 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 564 def target_modules @target_modules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
571 572 573 574 575 576 577 578 579 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 571 def update!(**args) @description = args[:description] if args.key?(:description) @health_checks = args[:health_checks] if args.key?(:health_checks) @ip_address = args[:ip_address] if args.key?(:ip_address) @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) @port_range = args[:port_range] if args.key?(:port_range) @session_affinity = args[:session_affinity] if args.key?(:session_affinity) @target_modules = args[:target_modules] if args.key?(:target_modules) end |