Google Cloud Dataform V1 Client - Class BigQueryUnitTest (0.19.0)

Reference documentation and code samples for the Google Cloud Dataform V1 Client class BigQueryUnitTest.

Represents a BigQuery unit test.

Generated from protobuf message google.cloud.dataform.v1.CompilationResultAction.BigQueryUnitTest

Namespace

Google \ Cloud \ Dataform \ V1 \ CompilationResultAction

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dependency_targets array<Google\Cloud\Dataform\V1\Target>

A list of actions that this action depends on.

↳ disabled bool

Whether this action is disabled (i.e. should not be run).

↳ tags string[]

Arbitrary, user-defined tags on this action.

↳ display_name string

The name of the unit test.

↳ test_query string

Test query to execute.

↳ expected_output_query string

Expected output query to compare against the test query.

getDependencyTargets

A list of actions that this action depends on.

Returns
Type Description
Google\Protobuf\RepeatedField<Google\Cloud\Dataform\V1\Target>

setDependencyTargets

A list of actions that this action depends on.

Parameter
Name Description
var array<Google\Cloud\Dataform\V1\Target>
Returns
Type Description
$this

getDisabled

Whether this action is disabled (i.e. should not be run).

Returns
Type Description
bool

setDisabled

Whether this action is disabled (i.e. should not be run).

Parameter
Name Description
var bool
Returns
Type Description
$this

getTags

Arbitrary, user-defined tags on this action.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setTags

Arbitrary, user-defined tags on this action.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getDisplayName

The name of the unit test.

Returns
Type Description
string

setDisplayName

The name of the unit test.

Parameter
Name Description
var string
Returns
Type Description
$this

getTestQuery

Test query to execute.

Returns
Type Description
string

setTestQuery

Test query to execute.

Parameter
Name Description
var string
Returns
Type Description
$this

getExpectedOutputQuery

Expected output query to compare against the test query.

Returns
Type Description
string

setExpectedOutputQuery

Expected output query to compare against the test query.

Parameter
Name Description
var string
Returns
Type Description
$this