Reference documentation and code samples for the Google Analytics Admin V1beta Client class DataStream.
A resource message representing a data stream.
Generated from protobuf message google.analytics.admin.v1beta.DataStream
Namespace
Google \ Analytics \ Admin \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ web_stream_data
Google\Analytics\Admin\V1beta\DataStream\WebStreamData
Data specific to web streams. Must be populated if type is WEB_DATA_STREAM.
↳ android_app_stream_data
Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData
Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.
↳ ios_app_stream_data
Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData
Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.
↳ name
string
Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000"
↳ type
int
Required. Immutable. The type of this DataStream resource.
↳ display_name
string
Human-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units.
↳ create_time
↳ update_time
getWebStreamData
Data specific to web streams. Must be populated if type is WEB_DATA_STREAM.
hasWebStreamData
setWebStreamData
Data specific to web streams. Must be populated if type is WEB_DATA_STREAM.
$this
getAndroidAppStreamData
Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.
hasAndroidAppStreamData
setAndroidAppStreamData
Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.
$this
getIosAppStreamData
Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.
hasIosAppStreamData
setIosAppStreamData
Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.
$this
getName
Output only. Resource name of this Data Stream.
Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000"
string
setName
Output only. Resource name of this Data Stream.
Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000"
var
string
$this
getType
Required. Immutable. The type of this DataStream resource.
int
setType
Required. Immutable. The type of this DataStream resource.
var
int
$this
getDisplayName
Human-readable display name for the Data Stream.
Required for web data streams. The max allowed display name length is 255 UTF-16 code units.
string
setDisplayName
Human-readable display name for the Data Stream.
Required for web data streams. The max allowed display name length is 255 UTF-16 code units.
var
string
$this
getCreateTime
Output only. Time when this stream was originally created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time when this stream was originally created.
$this
getUpdateTime
Output only. Time when stream payload fields were last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time when stream payload fields were last updated.
$this
getStreamData
string