class PropertiesWebDataStreams extends Resource (View source)

The "webDataStreams" collection of methods.

Typical usage is:

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

Methods

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

Creates a web stream with the specified location and attributes.

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

Deletes a web stream on a property. (webDataStreams.delete)

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

Lookup for a single WebDataStream (webDataStreams.get)

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

Returns child web data streams under the specified parent property. Web data streams will be excluded if the caller does not have access. Returns an empty list if no relevant web data streams are found.

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

Updates a web stream on a property. (webDataStreams.patch)

Details

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

Creates a web stream with the specified location and attributes.

(webDataStreams.create)

Parameters

string $parent

Required. The parent resource where this web data stream will be created. Format: properties/123

GoogleAnalyticsAdminV1alphaWebDataStream $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaWebDataStream

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

Deletes a web stream on a property. (webDataStreams.delete)

Parameters

string $name

Required. The name of the web data stream to delete. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/123/webDataStreams/456"

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

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

Lookup for a single WebDataStream (webDataStreams.get)

Parameters

string $name

Required. The name of the web data stream to lookup. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/123/webDataStreams/456"

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaWebDataStream

GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse listPropertiesWebDataStreams(string $parent, array $optParams = [])

Returns child web data streams under the specified parent property. Web data streams will be excluded if the caller does not have access. Returns an empty list if no relevant web data streams are found.

(webDataStreams.listPropertiesWebDataStreams)

Parameters

string $parent

Required. The name of the parent property. For example, to list results of web streams under the property with Id 123: "properties/123"

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse

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

Updates a web stream on a property. (webDataStreams.patch)

Parameters

string $name

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

GoogleAnalyticsAdminV1alphaWebDataStream $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaWebDataStream