Class: Google::Compute::Data::BackendServiceBackendCatalog
- Inherits:
-
BackendServiceBackend
- Object
- BackendServiceBackend
- Google::Compute::Data::BackendServiceBackendCatalog
- Defined in:
- lib/google/compute/property/backendservice_backends.rb
Overview
Manages a BackendServiceBackend nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from BackendServiceBackend
#balancing_mode, #capacity_scaler, #description, #group, #max_connections, #max_connections_per_instance, #max_rate, #max_rate_per_instance, #max_utilization
Instance Method Summary collapse
-
#initialize(args) ⇒ BackendServiceBackendCatalog
constructor
rubocop:disable Metrics/MethodLength.
Methods inherited from BackendServiceBackend
Constructor Details
#initialize(args) ⇒ BackendServiceBackendCatalog
rubocop:disable Metrics/MethodLength
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'lib/google/compute/property/backendservice_backends.rb', line 150 def initialize(args) @balancing_mode = Google::Compute::Property::Enum.unsafe_munge(args['balancing_mode']) @capacity_scaler = Google::Compute::Property::Double.unsafe_munge( args['capacity_scaler'] ) @description = Google::Compute::Property::String.unsafe_munge(args['description']) @group = Google::Compute::Property::InstGrouSelfLinkRef.unsafe_munge( args['group'] ) @max_connections = Google::Compute::Property::Integer.unsafe_munge( args['max_connections'] ) @max_connections_per_instance = Google::Compute::Property::Integer.unsafe_munge( args['max_connections_per_instance'] ) @max_rate = Google::Compute::Property::Integer.unsafe_munge(args['max_rate']) @max_rate_per_instance = Google::Compute::Property::Double.unsafe_munge( args['max_rate_per_instance'] ) @max_utilization = Google::Compute::Property::Double.unsafe_munge( args['max_utilization'] ) end |