class Google::Apis::ManagerV1beta2::Module

A module in a configuration. A module represents a single homogeneous, possibly replicated task.

Attributes

autoscaling_module[RW]

Corresponds to the JSON property `autoscalingModule` @return [Google::Apis::ManagerV1beta2::AutoscalingModule]

firewall_module[RW]

A Firewall resource Corresponds to the JSON property `firewallModule` @return [Google::Apis::ManagerV1beta2::FirewallModule]

health_check_module[RW]

Corresponds to the JSON property `healthCheckModule` @return [Google::Apis::ManagerV1beta2::HealthCheckModule]

lb_module[RW]

Corresponds to the JSON property `lbModule` @return [Google::Apis::ManagerV1beta2::LbModule]

network_module[RW]

Corresponds to the JSON property `networkModule` @return [Google::Apis::ManagerV1beta2::NetworkModule]

replica_pool_module[RW]

Corresponds to the JSON property `replicaPoolModule` @return [Google::Apis::ManagerV1beta2::ReplicaPoolModule]

type[RW]

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

new(**args) click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 700
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 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