public class ServiceNetworking.Services extends Object
Modifier and Type | Class and Description |
---|---|
class |
ServiceNetworking.Services.AddSubnetwork |
class |
ServiceNetworking.Services.Connections
The "connections" collection of methods.
|
class |
ServiceNetworking.Services.SearchRange |
class |
ServiceNetworking.Services.UpdateConnections |
Constructor and Description |
---|
Services() |
Modifier and Type | Method and Description |
---|---|
ServiceNetworking.Services.AddSubnetwork |
addSubnetwork(String parent,
AddSubnetworkRequest content)
For service producers, provisions a new subnet in a peered service's shared VPC network in the
requested region and with the requested size that's expressed as a CIDR range (number of leading
bits of ipV4 network mask).
|
ServiceNetworking.Services.Connections |
connections()
An accessor for creating requests from the Connections collection.
|
ServiceNetworking.Services.SearchRange |
searchRange(String parent,
SearchRangeRequest content)
Service producers can use this method to find a currently unused range within consumer allocated
ranges.
|
ServiceNetworking.Services.UpdateConnections |
updateConnections(String name,
GoogleCloudServicenetworkingV1betaConnection content)
Updates the allocated ranges that are assigned to a connection.
|
public ServiceNetworking.Services.AddSubnetwork addSubnetwork(String parent, AddSubnetworkRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. A tenant project in the service producer organization, in the following format:
services/{service}/{collection-id}/{resource-id}. {collection-id} is the cloud resource
collection type that represents the tenant project. Only `projects` are supported.
{resource-id} is the tenant project numeric id, such as `123456`. {service} the name of
the peering service, such as `service-peering.example.com`. This service must already be
enabled in the service consumer's project.content
- the AddSubnetworkRequest
IOException
public ServiceNetworking.Services.SearchRange searchRange(String parent, SearchRangeRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. This is in a form services/{service}. {service} the name of the private access management
service, for example 'service-peering.example.com'.content
- the SearchRangeRequest
IOException
public ServiceNetworking.Services.UpdateConnections updateConnections(String name, GoogleCloudServicenetworkingV1betaConnection content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- The service producer peering service that is managing peering connectivity for a service producer
organization. For Google services that support this functionality, this is
`services/servicenetworking.googleapis.com`.content
- the GoogleCloudServicenetworkingV1betaConnection
IOException
public ServiceNetworking.Services.Connections connections()
The typical use is:
ServiceNetworking servicenetworking = new ServiceNetworking(...);
ServiceNetworking.Connections.List request = servicenetworking.connections().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.