BigQuery Data Transfer V1 Client - Class IsDataTransferServiceEnabledResponse (1.4.5)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class IsDataTransferServiceEnabledResponse.

A response to indicate whether data transfer service is enabled for the project.

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.IsDataTransferServiceEnabledResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enabled bool

Indicates whether the data transfer service is enabled for the project.

↳ reason string

A string that contains additional information about why the service is deemed not enabled. This is only available when enable is false.

getEnabled

Indicates whether the data transfer service is enabled for the project.

Returns
TypeDescription
bool

setEnabled

Indicates whether the data transfer service is enabled for the project.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getReason

A string that contains additional information about why the service is deemed not enabled. This is only available when enable is false.

Returns
TypeDescription
string

setReason

A string that contains additional information about why the service is deemed not enabled. This is only available when enable is false.

Parameter
NameDescription
var string
Returns
TypeDescription
$this