class Google::Apis::ManagerV1beta2::LbModule
Attributes
description[RW]
Corresponds to the JSON property `description` @return [String]
health_checks[RW]
Corresponds to the JSON property `healthChecks` @return [Array<String>]
ip_address[RW]
Corresponds to the JSON property `ipAddress` @return [String]
ip_protocol[RW]
Corresponds to the JSON property `ipProtocol` @return [String]
port_range[RW]
Corresponds to the JSON property `portRange` @return [String]
session_affinity[RW]
Corresponds to the JSON property `sessionAffinity` @return [String]
target_modules[RW]
Corresponds to the JSON property `targetModules` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 566 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# 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