GoodMem
ReferenceClient SDKsPython SDKRequests

PingStreamRequest

PingStreamRequest documentation for Python SDK

Request payload for a streaming ping session

Properties

NameTypeDescriptionNotes
target_idstrTarget resource ID (UUID)
target_type_hintPingTargetType[optional]
countintNumber of probes to run (0 uses server default)[optional]
interval_msintDelay between probes in milliseconds (0 uses server default)[optional]
timeout_msintPer-probe timeout in milliseconds (0 uses server default)[optional]
payload_typePingPayloadType[optional]
payloadstrExplicit UTF-8 payload to send with each probe (mutually exclusive with payloadSizeBytes)[optional]
payload_size_bytesintSynthetic payload size in bytes (mutually exclusive with payload)[optional]
max_in_flightintMaximum concurrent probes (defaults to 1)[optional]
jitterboolAdd jitter to probe scheduling[optional]
labelsDict[str, str]Optional labels to attach to the ping session[optional]

Example

from goodmem_client.models.ping_stream_request import PingStreamRequest

# TODO update the JSON string below
json = "{}"
# create an instance of PingStreamRequest from a JSON string
ping_stream_request_instance = PingStreamRequest.from_json(json)
# print the JSON string representation of the object
print(PingStreamRequest.to_json())

# convert the object into a dict
ping_stream_request_dict = ping_stream_request_instance.to_dict()
# create an instance of PingStreamRequest from a dict
ping_stream_request_from_dict = PingStreamRequest.from_dict(ping_stream_request_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page