- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.1
- 2.1.5
The interfaces provided are listed below, along with usage samples.
ConnectionServiceClient
Service Description: Service Interface for the Apigee Connect connection management APIs.
Sample for ConnectionServiceClient:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
EndpointName parent = EndpointName.of("[PROJECT]", "[ENDPOINT]");
for (Connection element : connectionServiceClient.listConnections(parent).iterateAll()) {
// doThingsWith(element);
}
}
TetherClient
Service Description: Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
Sample for TetherClient:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (TetherClient tetherClient = TetherClient.create()) {
BidiStream<EgressResponse, EgressRequest> bidiStream = tetherClient.egressCallable().call();
EgressResponse request =
EgressResponse.newBuilder()
.setId("id3355")
.setHttpResponse(HttpResponse.newBuilder().build())
.setStatus(Status.newBuilder().build())
.setProject("project-309310695")
.setTraceId("traceId-1067401920")
.setEndpoint(TetherEndpoint.forNumber(0))
.setName("name3373707")
.build();
bidiStream.send(request);
for (EgressRequest response : bidiStream) {
// Do something when a response is received.
}
}
Classes
Cluster
Protobuf type google.cloud.apigeeconnect.v1.Cluster
Cluster.Builder
Protobuf type google.cloud.apigeeconnect.v1.Cluster
Connection
Protobuf type google.cloud.apigeeconnect.v1.Connection
Connection.Builder
Protobuf type google.cloud.apigeeconnect.v1.Connection
ConnectionProto
ConnectionServiceClient
Service Description: Service Interface for the Apigee Connect connection management APIs.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
EndpointName parent = EndpointName.of("[PROJECT]", "[ENDPOINT]");
for (Connection element : connectionServiceClient.listConnections(parent).iterateAll()) {
// doThingsWith(element);
}
}
Note: close() needs to be called on the ConnectionServiceClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of ConnectionServiceSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
ConnectionServiceSettings connectionServiceSettings =
ConnectionServiceSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
ConnectionServiceClient connectionServiceClient =
ConnectionServiceClient.create(connectionServiceSettings);
To customize the endpoint:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
ConnectionServiceSettings connectionServiceSettings =
ConnectionServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
ConnectionServiceClient connectionServiceClient =
ConnectionServiceClient.create(connectionServiceSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
ConnectionServiceClient.ListConnectionsFixedSizeCollection
ConnectionServiceClient.ListConnectionsPage
ConnectionServiceClient.ListConnectionsPagedResponse
ConnectionServiceGrpc
Service Interface for the Apigee Connect connection management APIs.
ConnectionServiceGrpc.ConnectionServiceBlockingStub
Service Interface for the Apigee Connect connection management APIs.
ConnectionServiceGrpc.ConnectionServiceFutureStub
Service Interface for the Apigee Connect connection management APIs.
ConnectionServiceGrpc.ConnectionServiceImplBase
Service Interface for the Apigee Connect connection management APIs.
ConnectionServiceGrpc.ConnectionServiceStub
Service Interface for the Apigee Connect connection management APIs.
ConnectionServiceSettings
Settings class to configure an instance of ConnectionServiceClient.
The default instance has everything set to sensible defaults:
- The default service address (apigeeconnect.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of listConnections to 30 seconds:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
ConnectionServiceSettings.Builder connectionServiceSettingsBuilder =
ConnectionServiceSettings.newBuilder();
connectionServiceSettingsBuilder
.listConnectionsSettings()
.setRetrySettings(
connectionServiceSettingsBuilder
.listConnectionsSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ConnectionServiceSettings connectionServiceSettings = connectionServiceSettingsBuilder.build();
ConnectionServiceSettings.Builder
Builder for ConnectionServiceSettings.
EgressRequest
gRPC request payload for tether.
Protobuf type google.cloud.apigeeconnect.v1.EgressRequest
EgressRequest.Builder
gRPC request payload for tether.
Protobuf type google.cloud.apigeeconnect.v1.EgressRequest
EgressResponse
gRPC response payload for tether.
Protobuf type google.cloud.apigeeconnect.v1.EgressResponse
EgressResponse.Builder
gRPC response payload for tether.
Protobuf type google.cloud.apigeeconnect.v1.EgressResponse
EndpointName
EndpointName.Builder
Builder for projects/{project}/endpoints/{endpoint}.
Header
The http headers.
Protobuf type google.cloud.apigeeconnect.v1.Header
Header.Builder
The http headers.
Protobuf type google.cloud.apigeeconnect.v1.Header
HttpRequest
The proto definition of http request.
Protobuf type google.cloud.apigeeconnect.v1.HttpRequest
HttpRequest.Builder
The proto definition of http request.
Protobuf type google.cloud.apigeeconnect.v1.HttpRequest
HttpResponse
The proto definition of http response.
Protobuf type google.cloud.apigeeconnect.v1.HttpResponse
HttpResponse.Builder
The proto definition of http response.
Protobuf type google.cloud.apigeeconnect.v1.HttpResponse
ListConnectionsRequest
The request for ListConnections.
Protobuf type google.cloud.apigeeconnect.v1.ListConnectionsRequest
ListConnectionsRequest.Builder
The request for ListConnections.
Protobuf type google.cloud.apigeeconnect.v1.ListConnectionsRequest
ListConnectionsResponse
The response for ListConnections.
Protobuf type google.cloud.apigeeconnect.v1.ListConnectionsResponse
ListConnectionsResponse.Builder
The response for ListConnections.
Protobuf type google.cloud.apigeeconnect.v1.ListConnectionsResponse
Payload
Payload for EgressRequest.
Protobuf type google.cloud.apigeeconnect.v1.Payload
Payload.Builder
Payload for EgressRequest.
Protobuf type google.cloud.apigeeconnect.v1.Payload
StreamInfo
The Information of bi-directional stream.
Protobuf type google.cloud.apigeeconnect.v1.StreamInfo
StreamInfo.Builder
The Information of bi-directional stream.
Protobuf type google.cloud.apigeeconnect.v1.StreamInfo
TetherClient
Service Description: Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (TetherClient tetherClient = TetherClient.create()) {
BidiStream<EgressResponse, EgressRequest> bidiStream = tetherClient.egressCallable().call();
EgressResponse request =
EgressResponse.newBuilder()
.setId("id3355")
.setHttpResponse(HttpResponse.newBuilder().build())
.setStatus(Status.newBuilder().build())
.setProject("project-309310695")
.setTraceId("traceId-1067401920")
.setEndpoint(TetherEndpoint.forNumber(0))
.setName("name3373707")
.build();
bidiStream.send(request);
for (EgressRequest response : bidiStream) {
// Do something when a response is received.
}
}
Note: close() needs to be called on the TetherClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of TetherSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
TetherSettings tetherSettings =
TetherSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
TetherClient tetherClient = TetherClient.create(tetherSettings);
To customize the endpoint:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
TetherSettings tetherSettings = TetherSettings.newBuilder().setEndpoint(myEndpoint).build();
TetherClient tetherClient = TetherClient.create(tetherSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
TetherGrpc
Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
TetherGrpc.TetherBlockingStub
Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
TetherGrpc.TetherFutureStub
Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
TetherGrpc.TetherImplBase
Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
TetherGrpc.TetherStub
Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
TetherProto
TetherSettings
Settings class to configure an instance of TetherClient.
The default instance has everything set to sensible defaults:
- The default service address (apigeeconnect.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of egress to 30 seconds:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
TetherSettings.Builder tetherSettingsBuilder = TetherSettings.newBuilder();
tetherSettingsBuilder
.egressSettings()
.setRetrySettings(
tetherSettingsBuilder
.egressSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TetherSettings tetherSettings = tetherSettingsBuilder.build();
TetherSettings.Builder
Builder for TetherSettings.
Url
The proto definition of url.
A url represents a URL and the general form represented is:
scheme://[path]
Protobuf type google.cloud.apigeeconnect.v1.Url
Url.Builder
The proto definition of url.
A url represents a URL and the general form represented is:
scheme://[path]
Protobuf type google.cloud.apigeeconnect.v1.Url
Interfaces
ClusterOrBuilder
ConnectionOrBuilder
EgressRequestOrBuilder
EgressResponseOrBuilder
HeaderOrBuilder
HttpRequestOrBuilder
HttpResponseOrBuilder
ListConnectionsRequestOrBuilder
ListConnectionsResponseOrBuilder
PayloadOrBuilder
StreamInfoOrBuilder
UrlOrBuilder
Enums
Action
The action taken by agent.
Protobuf enum google.cloud.apigeeconnect.v1.Action
Payload.KindCase
Scheme
HTTP Scheme.
Protobuf enum google.cloud.apigeeconnect.v1.Scheme
TetherEndpoint
Endpoint indicates where the messages will be delivered.
Protobuf enum google.cloud.apigeeconnect.v1.TetherEndpoint