VertexRagService constructor

VertexRagService({
  1. required Client client,
})

Creates a VertexRagService using client for transport.

The provided http.Client must be configured to provide whatever authentication is required by VertexRagService. You can do that using package:googleapis_auth.

Implementation

VertexRagService({required http.Client client})
  : _client = ServiceClient(client: client);