class PropertiesIosAppDataStreamsMeasurementProtocolSecrets extends Resource (View source)

The "measurementProtocolSecrets" collection of methods.

Typical usage is:

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

Methods

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

Creates a measurement protocol secret. (measurementProtocolSecrets.create)

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

Deletes target MeasurementProtocolSecret. (measurementProtocolSecrets.delete)

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

Lookup for a single "GA4" MeasurementProtocolSecret.

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

Returns child MeasurementProtocolSecrets under the specified parent Property.

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

Updates a measurement protocol secret. (measurementProtocolSecrets.patch)

Details

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

Creates a measurement protocol secret. (measurementProtocolSecrets.create)

Parameters

string $parent

Required. The parent resource where this secret will be created. Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format: properties/{property}/webDataStreams/{webDataStream}

GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret

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

Deletes target MeasurementProtocolSecret. (measurementProtocolSecrets.delete)

Parameters

string $name

Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/webDataStreams/{webDataStream}/measurem entProtocolSecrets/{measurementProtocolSecret} Note: Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

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

Lookup for a single "GA4" MeasurementProtocolSecret.

(measurementProtocolSecrets.get)

Parameters

string $name

Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/webDataStreams/{webDataStream}/measurem entProtocolSecrets/{measurementProtocolSecret} Note: Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret

GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse listPropertiesIosAppDataStreamsMeasurementProtocolSecrets(string $parent, array $optParams = [])

Returns child MeasurementProtocolSecrets under the specified parent Property.

(measurementProtocolSecrets.listPropertiesIosAppDataStreamsMeasurementProtoco lSecrets)

Parameters

string $parent

Required. The resource name of the parent stream. Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format: properties/{property}/webDataStreams/{webDataStream}/measur ementProtocolSecrets

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse

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

Updates a measurement protocol secret. (measurementProtocolSecrets.patch)

Parameters

string $name

Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataSt reams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}

GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret