class PropertiesDataStreams extends Resource (View source)

The "dataStreams" collection of methods.

Typical usage is:

 $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...);
 $dataStreams = $analyticsadminService->properties_dataStreams;

Methods

create(string $parent, GoogleAnalyticsAdminV1betaDataStream $postBody, array $optParams = [])

Creates a DataStream. (dataStreams.create)

delete(string $name, array $optParams = [])

Deletes a DataStream on a property. (dataStreams.delete)

get(string $name, array $optParams = [])

Lookup for a single DataStream. (dataStreams.get)

listPropertiesDataStreams(string $parent, array $optParams = [])

Lists DataStreams on a property. (dataStreams.listPropertiesDataStreams)

patch(string $name, GoogleAnalyticsAdminV1betaDataStream $postBody, array $optParams = [])

Updates a DataStream on a property. (dataStreams.patch)

Details

GoogleAnalyticsAdminV1betaDataStream create(string $parent, GoogleAnalyticsAdminV1betaDataStream $postBody, array $optParams = [])

Creates a DataStream. (dataStreams.create)

Parameters

string $parent

Required. Example format: properties/1234

GoogleAnalyticsAdminV1betaDataStream $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaDataStream

Exceptions

Exception

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Deletes a DataStream on a property. (dataStreams.delete)

Parameters

string $name

Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleAnalyticsAdminV1betaDataStream get(string $name, array $optParams = [])

Lookup for a single DataStream. (dataStreams.get)

Parameters

string $name

Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaDataStream

Exceptions

Exception

GoogleAnalyticsAdminV1betaListDataStreamsResponse listPropertiesDataStreams(string $parent, array $optParams = [])

Lists DataStreams on a property. (dataStreams.listPropertiesDataStreams)

Parameters

string $parent

Required. Example format: properties/1234

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaListDataStreamsResponse

Exceptions

Exception

GoogleAnalyticsAdminV1betaDataStream patch(string $name, GoogleAnalyticsAdminV1betaDataStream $postBody, array $optParams = [])

Updates a DataStream on a property. (dataStreams.patch)

Parameters

string $name

Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000"

GoogleAnalyticsAdminV1betaDataStream $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaDataStream

Exceptions

Exception