Class GetSupportedDatabaseFlagsSupportedDatabaseFlag


  • public final class GetSupportedDatabaseFlagsSupportedDatabaseFlag
    extends java.lang.Object
    • Method Detail

      • acceptsMultipleValues

        public java.lang.Boolean acceptsMultipleValues()
        Returns:
        Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
      • flagName

        public java.lang.String flagName()
        Returns:
        The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.
      • name

        public java.lang.String name()
        Returns:
        The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.
      • requiresDbRestart

        public java.lang.Boolean requiresDbRestart()
        Returns:
        Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).
      • supportedDbVersions

        public java.util.List<java.lang.String> supportedDbVersions()
        Returns:
        Major database engine versions for which this flag is supported. The supported values are `POSTGRES_14` and `DATABASE_VERSION_UNSPECIFIED`.
      • valueType

        public java.lang.String valueType()
        Returns:
        ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14". The supported values are `VALUE_TYPE_UNSPECIFIED`, `STRING`, `INTEGER`, `FLOAT` and `NONE`.