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

There is a newer version: v1-rev20241108-2.0.0
Show newest version






PscConfig (Cloud SQL Admin API v1-rev20240925-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
      • 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