class Google::Apis::ManagerV1beta2::Module
A module in a configuration. A module represents a single homogeneous, possibly replicated task.
Attributes
Corresponds to the JSON property `autoscalingModule` @return [Google::Apis::ManagerV1beta2::AutoscalingModule]
A Firewall resource Corresponds to the JSON property `firewallModule` @return [Google::Apis::ManagerV1beta2::FirewallModule]
Corresponds to the JSON property `healthCheckModule` @return [Google::Apis::ManagerV1beta2::HealthCheckModule]
Corresponds to the JSON property `lbModule` @return [Google::Apis::ManagerV1beta2::LbModule]
Corresponds to the JSON property `networkModule` @return [Google::Apis::ManagerV1beta2::NetworkModule]
Corresponds to the JSON property `replicaPoolModule` @return [Google::Apis::ManagerV1beta2::ReplicaPoolModule]
The type of this module. Valid values (“AUTOSCALING”, “FIREWALL”, “ HEALTH_CHECK”, “LOAD_BALANCING”, “NETWORK”, “REPLICA_POOL”) Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/manager_v1beta2/classes.rb, line 700 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/manager_v1beta2/classes.rb, line 705 def update!(**args) @autoscaling_module = args[:autoscaling_module] if args.key?(:autoscaling_module) @firewall_module = args[:firewall_module] if args.key?(:firewall_module) @health_check_module = args[:health_check_module] if args.key?(:health_check_module) @lb_module = args[:lb_module] if args.key?(:lb_module) @network_module = args[:network_module] if args.key?(:network_module) @replica_pool_module = args[:replica_pool_module] if args.key?(:replica_pool_module) @type = args[:type] if args.key?(:type) end