Google BigQuery Storage V1 Client - Class ThrottleState (1.5.0)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class ThrottleState.

Information on if the current connection is being throttled.

Generated from protobuf message google.cloud.bigquery.storage.v1.ThrottleState

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ throttle_percent int

How much this connection is being throttled. Zero means no throttling, 100 means fully throttled.

getThrottlePercent

How much this connection is being throttled. Zero means no throttling, 100 means fully throttled.

Returns
TypeDescription
int

setThrottlePercent

How much this connection is being throttled. Zero means no throttling, 100 means fully throttled.

Parameter
NameDescription
var int
Returns
TypeDescription
$this