# Apigee Connect V1 API - Class Google::Cloud::ApigeeConnect::V1::ConnectionService::Rest::ServiceStub (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Apigee Connect V1 API class Google::Cloud::ApigeeConnect::V1::ConnectionService::Rest::ServiceStub.

REST service stub for the ConnectionService service.
Service stub contains baseline method implementations
including transcoding, making the REST call, and deserialing the response.

## Inherits

- Object

## Methods

### #endpoint

    def endpoint() -> String

The effective endpoint
**Returns**

- (String)

### #list_connections

    def list_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeConnect::V1::ListConnectionsResponse

Baseline implementation for the list_connections REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeConnect::V1::ListConnectionsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-ListConnectionsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeConnect::V1::ListConnectionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-ListConnectionsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeConnect::V1::ListConnectionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-ListConnectionsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #logger

    def logger(stub: false) -> Logger

The logger used for request/response debug logging.
**Returns**

- (Logger)

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)