All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sqladmin.model.ConnectSettings.html Maven / Gradle / Ivy

The newest version!






ConnectSettings (Cloud SQL Admin API v1-rev20241108-2.0.0)












com.google.api.services.sqladmin.model

Class ConnectSettings

    • Constructor Detail

      • ConnectSettings

        public ConnectSettings()
    • Method Detail

      • getBackendType

        public String getBackendType()
        `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.
        Returns:
        value or null for none
      • setBackendType

        public ConnectSettings setBackendType(String backendType)
        `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.
        Parameters:
        backendType - backendType or null for none
      • getDatabaseVersion

        public String getDatabaseVersion()
        The database engine type and version. The `databaseVersion` field cannot be changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL Server instances: `SQLSERVER_2017_STANDARD` (default), `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`.
        Returns:
        value or null for none
      • setDatabaseVersion

        public ConnectSettings setDatabaseVersion(String databaseVersion)
        The database engine type and version. The `databaseVersion` field cannot be changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL Server instances: `SQLSERVER_2017_STANDARD` (default), `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`.
        Parameters:
        databaseVersion - databaseVersion or null for none
      • getDnsName

        public String getDnsName()
        The dns name of the instance.
        Returns:
        value or null for none
      • setDnsName

        public ConnectSettings setDnsName(String dnsName)
        The dns name of the instance.
        Parameters:
        dnsName - dnsName or null for none
      • getIpAddresses

        public List<IpMapping> getIpAddresses()
        The assigned IP addresses for the instance.
        Returns:
        value or null for none
      • setIpAddresses

        public ConnectSettings setIpAddresses(List<IpMapping> ipAddresses)
        The assigned IP addresses for the instance.
        Parameters:
        ipAddresses - ipAddresses or null for none
      • getKind

        public String getKind()
        This is always `sql#connectSettings`.
        Returns:
        value or null for none
      • setKind

        public ConnectSettings setKind(String kind)
        This is always `sql#connectSettings`.
        Parameters:
        kind - kind or null for none
      • getPscEnabled

        public Boolean getPscEnabled()
        Whether PSC connectivity is enabled for this instance.
        Returns:
        value or null for none
      • setPscEnabled

        public ConnectSettings setPscEnabled(Boolean pscEnabled)
        Whether PSC connectivity is enabled for this instance.
        Parameters:
        pscEnabled - pscEnabled or null for none
      • getRegion

        public String getRegion()
        The cloud region for the instance. For example, `us-central1`, `europe-west1`. The region cannot be changed after instance creation.
        Returns:
        value or null for none
      • setRegion

        public ConnectSettings setRegion(String region)
        The cloud region for the instance. For example, `us-central1`, `europe-west1`. The region cannot be changed after instance creation.
        Parameters:
        region - region or null for none
      • getServerCaCert

        public SslCert getServerCaCert()
        SSL configuration.
        Returns:
        value or null for none
      • setServerCaCert

        public ConnectSettings setServerCaCert(SslCert serverCaCert)
        SSL configuration.
        Parameters:
        serverCaCert - serverCaCert or null for none
      • getServerCaMode

        public String getServerCaMode()
        Specify what type of CA is used for the server certificate.
        Returns:
        value or null for none
      • setServerCaMode

        public ConnectSettings setServerCaMode(String serverCaMode)
        Specify what type of CA is used for the server certificate.
        Parameters:
        serverCaMode - serverCaMode or null for none
      • clone

        public ConnectSettings clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy