Class: Google::Apis::ManagerV1beta2::ReplicaPoolModule
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::ReplicaPoolModule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#env_variables ⇒ Hash<String,Google::Apis::ManagerV1beta2::EnvVariable>
A list of environment variables.
-
#health_checks ⇒ Array<String>
The Health Checks to configure for the ReplicaPoolModule Corresponds to the JSON property
healthChecks
. -
#num_replicas ⇒ Fixnum
Number of replicas in this module.
-
#replica_pool_params ⇒ Google::Apis::ManagerV1beta2::ReplicaPoolParams
Configuration information for a ReplicaPools resource.
-
#resource_view ⇒ String
[Output Only] The name of the Resource View associated with a ReplicaPoolModule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicaPoolModule
constructor
A new instance of ReplicaPoolModule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReplicaPoolModule
Returns a new instance of ReplicaPoolModule
1003 1004 1005 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#env_variables ⇒ Hash<String,Google::Apis::ManagerV1beta2::EnvVariable>
A list of environment variables.
Corresponds to the JSON property envVariables
978 979 980 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 978 def env_variables @env_variables end |
#health_checks ⇒ Array<String>
The Health Checks to configure for the ReplicaPoolModule
Corresponds to the JSON property healthChecks
983 984 985 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 983 def health_checks @health_checks end |
#num_replicas ⇒ Fixnum
Number of replicas in this module.
Corresponds to the JSON property numReplicas
988 989 990 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 988 def num_replicas @num_replicas end |
#replica_pool_params ⇒ Google::Apis::ManagerV1beta2::ReplicaPoolParams
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
995 996 997 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 995 def replica_pool_params @replica_pool_params end |
#resource_view ⇒ String
[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
1001 1002 1003 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1001 def resource_view @resource_view end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1008 1009 1010 1011 1012 1013 1014 |
# 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 |