Google Analytics Admin V1alpha Client - Class SetAutomatedGa4ConfigurationOptOutRequest (0.11.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getOptOut

The status to set.

Returns
TypeDescription
bool

setOptOut

The status to set.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this