class Google::Apis::ManagerV1beta2::ReplicaPoolModule

Attributes

env_variables[RW]

A list of environment variables. Corresponds to the JSON property `envVariables` @return [Hash<String,Google::Apis::ManagerV1beta2::EnvVariable>]

health_checks[RW]

The Health Checks to configure for the ReplicaPoolModule Corresponds to the JSON property `healthChecks` @return [Array<String>]

num_replicas[RW]

Number of replicas in this module. Corresponds to the JSON property `numReplicas` @return [Fixnum]

replica_pool_params[RW]

Configuration information for a ReplicaPools resource. Specifying an item within will determine the ReplicaPools API version used for a ReplicaPoolModule. Only one may be specified. Corresponds to the JSON property `replicaPoolParams` @return [Google::Apis::ManagerV1beta2::ReplicaPoolParams]

resource_view[RW]
Output Only

The name of the Resource View associated with a

ReplicaPoolModule. This field will be generated by the service. Corresponds to the JSON property `resourceView` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 1003
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 1008
def update!(**args)
  @env_variables = args[:env_variables] if args.key?(:env_variables)
  @health_checks = args[:health_checks] if args.key?(:health_checks)
  @num_replicas = args[:num_replicas] if args.key?(:num_replicas)
  @replica_pool_params = args[:replica_pool_params] if args.key?(:replica_pool_params)
  @resource_view = args[:resource_view] if args.key?(:resource_view)
end