Google Analytics Admin V1alpha Client - Class DataSharingSettings (0.18.1)

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

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

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

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

↳ sharing_with_google_support_enabledbool

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

↳ sharing_with_google_assigned_sales_enabledbool

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_enabledbool

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

↳ sharing_with_google_products_enabledbool

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

↳ sharing_with_others_enabledbool

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
varstring
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
varbool
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
varbool
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
varbool
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
varbool
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
varbool
Returns
TypeDescription
$this