Google Analytics Admin V1alpha Client - Class FetchConnectedGa4PropertyRequest (0.20.0)

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

Request for looking up GA4 property connected to a UA property.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ property string

Required. The UA property for which to look up the connected GA4 property. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internal_web_property_id} Example: properties/1234

getProperty

Required. The UA property for which to look up the connected GA4 property.

Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internal_web_property_id} Example: properties/1234

Returns
TypeDescription
string

setProperty

Required. The UA property for which to look up the connected GA4 property.

Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internal_web_property_id} Example: properties/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this