Google Analytics Admin V1beta Client - Class DataSharingSettings (0.15.1)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class DataSharingSettings.

A resource message representing data sharing settings of a Google Analytics account.

Generated from protobuf message google.analytics.admin.v1beta.DataSharingSettings

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"

↳ sharing_with_google_support_enabled bool

Allows Google support to access the data in order to help troubleshoot issues.

↳ sharing_with_google_assigned_sales_enabled bool

Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled.

↳ sharing_with_google_any_sales_enabled bool

Allows any of Google sales to access the data in order to suggest configuration changes to improve results.

↳ sharing_with_google_products_enabled bool

Allows Google to use the data to improve other Google products or services.

↳ sharing_with_others_enabled bool

Allows Google to share the data anonymously in aggregate form with others.

getName

Output only. Resource name.

Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"

Returns
TypeDescription
string

setName

Output only. Resource name.

Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSharingWithGoogleSupportEnabled

Allows Google support to access the data in order to help troubleshoot issues.

Returns
TypeDescription
bool

setSharingWithGoogleSupportEnabled

Allows Google support to access the data in order to help troubleshoot issues.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSharingWithGoogleAssignedSalesEnabled

Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results.

Sales team restrictions still apply when enabled.

Returns
TypeDescription
bool

setSharingWithGoogleAssignedSalesEnabled

Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results.

Sales team restrictions still apply when enabled.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSharingWithGoogleAnySalesEnabled

Allows any of Google sales to access the data in order to suggest configuration changes to improve results.

Returns
TypeDescription
bool

setSharingWithGoogleAnySalesEnabled

Allows any of Google sales to access the data in order to suggest configuration changes to improve results.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSharingWithGoogleProductsEnabled

Allows Google to use the data to improve other Google products or services.

Returns
TypeDescription
bool

setSharingWithGoogleProductsEnabled

Allows Google to use the data to improve other Google products or services.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSharingWithOthersEnabled

Allows Google to share the data anonymously in aggregate form with others.

Returns
TypeDescription
bool

setSharingWithOthersEnabled

Allows Google to share the data anonymously in aggregate form with others.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this