Classes
PacketMirroringsClient
Service for the packetMirrorings resource.
PacketMirroringsConnection
The PacketMirroringsConnection
object for PacketMirroringsClient
.
PacketMirroringsConnectionIdempotencyPolicy
PacketMirroringsLimitedErrorCountRetryPolicy
A retry policy for PacketMirroringsConnection
based on counting errors.
PacketMirroringsLimitedTimeRetryPolicy
A retry policy for PacketMirroringsConnection
based on elapsed time.
PacketMirroringsRetryPolicy
The retry policy for PacketMirroringsConnection
.
Structs
PacketMirroringsBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
PacketMirroringsConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
PacketMirroringsPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
PacketMirroringsRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultPacketMirroringsConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< PacketMirroringsConnectionIdempotencyPolicy > |
MakePacketMirroringsConnectionRest(Options)
A factory function to construct an object of type PacketMirroringsConnection
that uses REST over HTTP as transport in lieu of gRPC.
REST transport should only be used for services that do not support gRPC or if the existing network configuration precludes using gRPC.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of PacketMirroringsClient.
The optional options
argument may be used to configure aspects of the returned PacketMirroringsConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< PacketMirroringsConnection > |