Vector Search V1 API - Class Google::Cloud::VectorSearch::V1::DedicatedInfrastructure::AutoscalingSpec (v0.1.0)

Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::DedicatedInfrastructure::AutoscalingSpec.

Specification for autoscaling.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_replica_count

def max_replica_count() -> ::Integer
Returns
  • (::Integer) — Optional. The maximum number of replicas. Must be >= min_replica_count and <= 1000. For the v1beta version, if not set or set to 0, defaults to the greater of min_replica_count and 5. For all other versions, if not set or set to 0, defaults to the greater of min_replica_count and 2.

#max_replica_count=

def max_replica_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The maximum number of replicas. Must be >= min_replica_count and <= 1000. For the v1beta version, if not set or set to 0, defaults to the greater of min_replica_count and 5. For all other versions, if not set or set to 0, defaults to the greater of min_replica_count and 2.
Returns
  • (::Integer) — Optional. The maximum number of replicas. Must be >= min_replica_count and <= 1000. For the v1beta version, if not set or set to 0, defaults to the greater of min_replica_count and 5. For all other versions, if not set or set to 0, defaults to the greater of min_replica_count and 2.

#min_replica_count

def min_replica_count() -> ::Integer
Returns
  • (::Integer) — Optional. The minimum number of replicas. If not set or set to 0, defaults to 2. Must be >= 1 and <= 1000.

#min_replica_count=

def min_replica_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The minimum number of replicas. If not set or set to 0, defaults to 2. Must be >= 1 and <= 1000.
Returns
  • (::Integer) — Optional. The minimum number of replicas. If not set or set to 0, defaults to 2. Must be >= 1 and <= 1000.