Google Analytics Admin V1alpha Client - Class SetAutomatedGa4ConfigurationOptOutRequest (0.24.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class SetAutomatedGa4ConfigurationOptOutRequest.

Request for setting the opt out status for the automated GA4 setup process.

Generated from protobuf message google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property string

Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234

↳ opt_out bool

The status to set.

getProperty

Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.

Format: properties/{internalWebPropertyId} Example: properties/1234

Returns
Type Description
string

setProperty

Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.

Format: properties/{internalWebPropertyId} Example: properties/1234

Parameter
Name Description
var string
Returns
Type Description
$this

getOptOut

The status to set.

Returns
Type Description
bool

setOptOut

The status to set.

Parameter
Name Description
var bool
Returns
Type Description
$this