public class ServiceNetworking.Services.Connections extends 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(String parent,
GoogleCloudServicenetworkingV1betaConnection 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(String parent)
List the private connections that are configured in a service consumer's VPC network.
|
public ServiceNetworking.Services.Connections.Create create(String parent, GoogleCloudServicenetworkingV1betaConnection content) throws 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 GoogleCloudServicenetworkingV1betaConnectionIOExceptionpublic ServiceNetworking.Services.Connections.List list(String parent) throws 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.IOExceptionCopyright © 2011–2025 Google. All rights reserved.