Google Analytics Admin V1beta Client - Class CreateDataStreamRequest (0.19.0)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class CreateDataStreamRequest.

Request message for CreateDataStream RPC.

Generated from protobuf message google.analytics.admin.v1beta.CreateDataStreamRequest

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/1234

↳ data_stream Google\Analytics\Admin\V1beta\DataStream

Required. The DataStream to create.

getParent

Required. Example format: properties/1234

Returns
TypeDescription
string

setParent

Required. Example format: properties/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataStream

Required. The DataStream to create.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\DataStream|null

hasDataStream

clearDataStream

setDataStream

Required. The DataStream to create.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\DataStream
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Example format: properties/1234 Please see Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient::propertyName() for help formatting this field.

dataStream Google\Analytics\Admin\V1beta\DataStream

Required. The DataStream to create.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\CreateDataStreamRequest