Google Analytics Admin V1alpha Client - Class GoogleSignalsSettings (0.20.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
NameDescription
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
TypeDescription
string

setName

Output only. Resource name of this setting.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Status of this setting.

Returns
TypeDescription
int

setState

Status of this setting.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getConsent

Output only. Terms of Service acceptance.

Returns
TypeDescription
int

setConsent

Output only. Terms of Service acceptance.

Parameter
NameDescription
var int
Returns
TypeDescription
$this