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

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

The newest version!






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












com.google.api.services.sqladmin.model

Class PscConfig

    • Constructor Detail

      • PscConfig

        public PscConfig()
    • Method Detail

      • getAllowedConsumerProjects

        public List<String> getAllowedConsumerProjects()
        Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
        Returns:
        value or null for none
      • setAllowedConsumerProjects

        public PscConfig setAllowedConsumerProjects(List<String> allowedConsumerProjects)
        Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
        Parameters:
        allowedConsumerProjects - allowedConsumerProjects or null for none
      • getPscAutoConnections

        public List<PscAutoConnectionConfig> getPscAutoConnections()
        Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
        Returns:
        value or null for none
      • setPscAutoConnections

        public PscConfig setPscAutoConnections(List<PscAutoConnectionConfig> pscAutoConnections)
        Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
        Parameters:
        pscAutoConnections - pscAutoConnections or null for none
      • getPscEnabled

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

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

        public PscConfig set(String fieldName,
                             Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public PscConfig 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