BigQuery Data Transfer V1 Client - Class IsDataTransferServiceEnabledResponse (1.8.4)

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

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
bool

setEnabled

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

Parameter
Name Description
var bool
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this