Google BigQuery Storage V1 Client - Class ThrottleState (2.1.1)

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
Name Description
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
Type Description
int

setThrottlePercent

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

Parameter
Name Description
var int
Returns
Type Description
$this