Class: Google::Cloud::Run::V2::ServiceScaling

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/vendor_settings.rb

Overview

Scaling settings applied at the service level rather than at the revision level.

Defined Under Namespace

Modules: ScalingMode

Instance Attribute Summary collapse

Instance Attribute Details

#manual_instance_count::Integer



148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 148

class ServiceScaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The scaling mode for the service. If not provided, it defaults to
  # AUTOMATIC.
  module ScalingMode
    # Unspecified.
    SCALING_MODE_UNSPECIFIED = 0

    # Scale based on traffic between min and max instances.
    AUTOMATIC = 1

    # Scale to exactly min instances and ignore max instances.
    MANUAL = 2
  end
end

#min_instance_count::Integer



148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 148

class ServiceScaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The scaling mode for the service. If not provided, it defaults to
  # AUTOMATIC.
  module ScalingMode
    # Unspecified.
    SCALING_MODE_UNSPECIFIED = 0

    # Scale based on traffic between min and max instances.
    AUTOMATIC = 1

    # Scale to exactly min instances and ignore max instances.
    MANUAL = 2
  end
end

#scaling_mode::Google::Cloud::Run::V2::ServiceScaling::ScalingMode



148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 148

class ServiceScaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The scaling mode for the service. If not provided, it defaults to
  # AUTOMATIC.
  module ScalingMode
    # Unspecified.
    SCALING_MODE_UNSPECIFIED = 0

    # Scale based on traffic between min and max instances.
    AUTOMATIC = 1

    # Scale to exactly min instances and ignore max instances.
    MANUAL = 2
  end
end