Show / Hide Table of Contents

Class ConnectionPoolConfig

Configuration for Managed Connection Pool (MCP).

Inheritance
object
ConnectionPoolConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudAlloyDBAdmin.v1beta.Data
Assembly: Google.Apis.CloudAlloyDBAdmin.v1beta.dll
Syntax
public class ConnectionPoolConfig : IDirectResponseSchema

Properties

DefaultPoolSize

Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.

Declaration
[JsonProperty("defaultPoolSize")]
public virtual string DefaultPoolSize { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Enable

Optional. Deprecated; Prefer 'enabled' as this will be removed soon.

Declaration
[JsonProperty("enable")]
public virtual bool? Enable { get; set; }
Property Value
Type Description
bool?

Enabled

Optional. Whether to enable Managed Connection Pool (MCP).

Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type Description
bool?

Flags

Optional. Connection Pool flags, as a list of "key": "value" pairs.

Declaration
[JsonProperty("flags")]
public virtual IDictionary<string, string> Flags { get; set; }
Property Value
Type Description
IDictionary<string, string>

IgnoreStartupParameters

Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]

Declaration
[JsonProperty("ignoreStartupParameters")]
public virtual IList<string> IgnoreStartupParameters { get; set; }
Property Value
Type Description
IList<string>

MaxClientConn

Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.

Declaration
[JsonProperty("maxClientConn")]
public virtual string MaxClientConn { get; set; }
Property Value
Type Description
string

MaxPreparedStatements

Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0.

Declaration
[JsonProperty("maxPreparedStatements")]
public virtual string MaxPreparedStatements { get; set; }
Property Value
Type Description
string

MinPoolSize

Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.

Declaration
[JsonProperty("minPoolSize")]
public virtual string MinPoolSize { get; set; }
Property Value
Type Description
string

PoolMode

Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to POOL_MODE_TRANSACTION.

Declaration
[JsonProperty("poolMode")]
public virtual string PoolMode { get; set; }
Property Value
Type Description
string

QueryWaitTimeout

Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables.

Declaration
[JsonProperty("queryWaitTimeout")]
public virtual string QueryWaitTimeout { get; set; }
Property Value
Type Description
string

ServerIdleTimeout

Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.

Declaration
[JsonProperty("serverIdleTimeout")]
public virtual string ServerIdleTimeout { get; set; }
Property Value
Type Description
string

StatsUsers

Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database.

Declaration
[JsonProperty("statsUsers")]
public virtual IList<string> StatsUsers { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX