public class ServiceNetworking.Services.Connections
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ServiceNetworking.Services.Connections.Create |
class |
ServiceNetworking.Services.Connections.List |
Constructor and Description |
---|
Connections() |
Modifier and Type | Method and Description |
---|---|
ServiceNetworking.Services.Connections.Create |
create(java.lang.String parent,
Connection content)
Creates a private connection that establishes a VPC Network Peering connection to a VPC network
in the service producer's organization.
|
ServiceNetworking.Services.Connections.List |
list(java.lang.String parent)
List the private connections that are configured in a service consumer's VPC network.
|
public ServiceNetworking.Services.Connections.Create create(java.lang.String parent, Connection content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The service that is managing peering connectivity for a service producer's
organization. For Google
services that support this functionality, this
value is
`services/servicenetworking.googleapis.com`.content
- the Connection
java.io.IOException
public ServiceNetworking.Services.Connections.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The service that is managing peering connectivity for a service producer's
organization. For Google
services that support this functionality, this
value is
`services/servicenetworking.googleapis.com`.
If you specify `-` as the parameter value,
all configured public peering
services are listed.java.io.IOException