Namespace google::cloud::generativelanguage_v1 (2.30.0-rc)

Classes

GenerativeServiceClient

API for using Large Models that generate multimodal content and have additional capabilities beyond text generation.

GenerativeServiceConnection

The GenerativeServiceConnection object for GenerativeServiceClient.

GenerativeServiceConnectionIdempotencyPolicy

GenerativeServiceLimitedErrorCountRetryPolicy

A retry policy for GenerativeServiceConnection based on counting errors.

GenerativeServiceLimitedTimeRetryPolicy

A retry policy for GenerativeServiceConnection based on elapsed time.

GenerativeServiceRetryPolicy

The retry policy for GenerativeServiceConnection.

ModelServiceClient

Provides methods for getting metadata information about Generative Models.

ModelServiceConnection

The ModelServiceConnection object for ModelServiceClient.

ModelServiceConnectionIdempotencyPolicy

ModelServiceLimitedErrorCountRetryPolicy

A retry policy for ModelServiceConnection based on counting errors.

ModelServiceLimitedTimeRetryPolicy

A retry policy for ModelServiceConnection based on elapsed time.

ModelServiceRetryPolicy

The retry policy for ModelServiceConnection.

Structs

GenerativeServiceBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

GenerativeServiceConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

GenerativeServiceRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

ModelServiceBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

ModelServiceConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

ModelServiceRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

Functions

MakeGenerativeServiceConnection(Options)

A factory function to construct an object of type GenerativeServiceConnection.

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of GenerativeServiceClient.

The optional options argument may be used to configure aspects of the returned GenerativeServiceConnection. Expected options are any of the types in the following option lists:

Parameter
Name Description
options

(optional) Configure the GenerativeServiceConnection created by this function.

Returns
Type Description
std::shared_ptr< GenerativeServiceConnection >

MakeDefaultGenerativeServiceConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< GenerativeServiceConnectionIdempotencyPolicy >

MakeModelServiceConnection(Options)

A factory function to construct an object of type ModelServiceConnection.

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of ModelServiceClient.

The optional options argument may be used to configure aspects of the returned ModelServiceConnection. Expected options are any of the types in the following option lists:

Parameter
Name Description
options

(optional) Configure the ModelServiceConnection created by this function.

Returns
Type Description
std::shared_ptr< ModelServiceConnection >

MakeDefaultModelServiceConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< ModelServiceConnectionIdempotencyPolicy >