target.apidocs.com.google.api.services.sqladmin.model.PscAutoConnectionConfig.html Maven / Gradle / Ivy
The newest version!
PscAutoConnectionConfig (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin.model
Class PscAutoConnectionConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sqladmin.model.PscAutoConnectionConfig
-
public final class PscAutoConnectionConfig
extends com.google.api.client.json.GenericJson
Settings for an automatically-setup Private Service Connect consumer endpoint that is used to
connect to a Cloud SQL instance.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PscAutoConnectionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PscAutoConnectionConfig
clone()
String
getConsumerNetwork()
The consumer network of this consumer endpoint.
String
getConsumerNetworkStatus()
The connection policy status of the consumer network.
String
getConsumerProject()
This is the project ID of consumer service project of this consumer endpoint.
String
getIpAddress()
The IP address of the consumer endpoint.
String
getStatus()
The connection status of the consumer endpoint.
PscAutoConnectionConfig
set(String fieldName,
Object value)
PscAutoConnectionConfig
setConsumerNetwork(String consumerNetwork)
The consumer network of this consumer endpoint.
PscAutoConnectionConfig
setConsumerNetworkStatus(String consumerNetworkStatus)
The connection policy status of the consumer network.
PscAutoConnectionConfig
setConsumerProject(String consumerProject)
This is the project ID of consumer service project of this consumer endpoint.
PscAutoConnectionConfig
setIpAddress(String ipAddress)
The IP address of the consumer endpoint.
PscAutoConnectionConfig
setStatus(String status)
The connection status of the consumer endpoint.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getConsumerNetwork
public String getConsumerNetwork()
The consumer network of this consumer endpoint. This must be a resource path that includes both
the host project and the network name. For example,
`projects/project1/global/networks/network1`. The consumer host project of this network might
be different from the consumer service project.
- Returns:
- value or
null
for none
-
setConsumerNetwork
public PscAutoConnectionConfig setConsumerNetwork(String consumerNetwork)
The consumer network of this consumer endpoint. This must be a resource path that includes both
the host project and the network name. For example,
`projects/project1/global/networks/network1`. The consumer host project of this network might
be different from the consumer service project.
- Parameters:
consumerNetwork
- consumerNetwork or null
for none
-
getConsumerNetworkStatus
public String getConsumerNetworkStatus()
The connection policy status of the consumer network.
- Returns:
- value or
null
for none
-
setConsumerNetworkStatus
public PscAutoConnectionConfig setConsumerNetworkStatus(String consumerNetworkStatus)
The connection policy status of the consumer network.
- Parameters:
consumerNetworkStatus
- consumerNetworkStatus or null
for none
-
getConsumerProject
public String getConsumerProject()
This is the project ID of consumer service project of this consumer endpoint. Optional. This is
only applicable if consumer_network is a shared vpc network.
- Returns:
- value or
null
for none
-
setConsumerProject
public PscAutoConnectionConfig setConsumerProject(String consumerProject)
This is the project ID of consumer service project of this consumer endpoint. Optional. This is
only applicable if consumer_network is a shared vpc network.
- Parameters:
consumerProject
- consumerProject or null
for none
-
getIpAddress
public String getIpAddress()
The IP address of the consumer endpoint.
- Returns:
- value or
null
for none
-
setIpAddress
public PscAutoConnectionConfig setIpAddress(String ipAddress)
The IP address of the consumer endpoint.
- Parameters:
ipAddress
- ipAddress or null
for none
-
getStatus
public String getStatus()
The connection status of the consumer endpoint.
- Returns:
- value or
null
for none
-
setStatus
public PscAutoConnectionConfig setStatus(String status)
The connection status of the consumer endpoint.
- Parameters:
status
- status or null
for none
-
set
public PscAutoConnectionConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PscAutoConnectionConfig 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