class Google::Apis::ManagerV1beta2::ReplicaPoolModule
Attributes
A list of environment variables. Corresponds to the JSON property `envVariables` @return [Hash<String,Google::Apis::ManagerV1beta2::EnvVariable>]
The Health Checks to configure for the ReplicaPoolModule Corresponds to the JSON property `healthChecks` @return [Array<String>]
Number of replicas in this module. Corresponds to the JSON property `numReplicas` @return [Fixnum]
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]
- 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
# File generated/google/apis/manager_v1beta2/classes.rb, line 1003 def initialize(**args) update!(**args) end
Public Instance Methods
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