Google Analytics Admin V1alpha Client - Class GoogleSignalsSettings (0.24.0)

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

Settings values for Google Signals. This is a singleton resource.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings"

↳ state int

Status of this setting.

↳ consent int

Output only. Terms of Service acceptance.

getName

Output only. Resource name of this setting.

Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings"

Returns
Type Description
string

setName

Output only. Resource name of this setting.

Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings"

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Status of this setting.

Returns
Type Description
int

setState

Status of this setting.

Parameter
Name Description
var int
Returns
Type Description
$this

getConsent

Output only. Terms of Service acceptance.

Returns
Type Description
int

setConsent

Output only. Terms of Service acceptance.

Parameter
Name Description
var int
Returns
Type Description
$this