Google Analytics Admin V1beta Client - Class CreateDataStreamRequest (0.24.1)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/1234

↳ data_stream DataStream

Required. The DataStream to create.

getParent

Required. Example format: properties/1234

Returns
Type Description
string

setParent

Required. Example format: properties/1234

Parameter
Name Description
var string
Returns
Type Description
$this

getDataStream

Required. The DataStream to create.

Returns
Type Description
DataStream|null

hasDataStream

clearDataStream

setDataStream

Required. The DataStream to create.

Parameter
Name Description
var DataStream
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Example format: properties/1234 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field.

dataStream DataStream

Required. The DataStream to create.

Returns
Type Description
CreateDataStreamRequest