Google Analytics Admin V1alpha Client - Class FetchConnectedGa4PropertyResponse (0.14.0)

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

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

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ property string

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/{property_id} Example: properties/1234

getProperty

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property.

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

Returns
TypeDescription
string

setProperty

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this