Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataSharingSettings
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataSharingSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb
Overview
A resource message representing data sharing settings of a Google Analytics account.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#sharing_with_google_any_sales_enabled ⇒ Boolean
(also: #sharing_with_google_any_sales_enabled?)
Allows any of Google sales to access the data in order to suggest configuration changes to improve results.
-
#sharing_with_google_assigned_sales_enabled ⇒ Boolean
(also: #sharing_with_google_assigned_sales_enabled?)
Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results.
-
#sharing_with_google_products_enabled ⇒ Boolean
(also: #sharing_with_google_products_enabled?)
Allows Google to use the data to improve other Google products or services.
-
#sharing_with_google_support_enabled ⇒ Boolean
(also: #sharing_with_google_support_enabled?)
Allows Google support to access the data in order to help troubleshoot issues.
-
#sharing_with_others_enabled ⇒ Boolean
(also: #sharing_with_others_enabled?)
Allows Google to share the data anonymously in aggregate form with others.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaDataSharingSettings
constructor
A new instance of GoogleAnalyticsAdminV1betaDataSharingSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaDataSharingSettings
Returns a new instance of GoogleAnalyticsAdminV1betaDataSharingSettings.
1140 1141 1142 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. Resource name. Format: accounts/account/dataSharingSettings
Example: "accounts/1000/dataSharingSettings"
Corresponds to the JSON property name
1105 1106 1107 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1105 def name @name end |
#sharing_with_google_any_sales_enabled ⇒ Boolean Also known as:
Allows any of Google sales to access the data in order to suggest
configuration changes to improve results.
Corresponds to the JSON property sharingWithGoogleAnySalesEnabled
1111 1112 1113 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1111 def sharing_with_google_any_sales_enabled @sharing_with_google_any_sales_enabled end |
#sharing_with_google_assigned_sales_enabled ⇒ Boolean Also known as:
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.
Corresponds to the JSON property sharingWithGoogleAssignedSalesEnabled
1119 1120 1121 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1119 def sharing_with_google_assigned_sales_enabled @sharing_with_google_assigned_sales_enabled end |
#sharing_with_google_products_enabled ⇒ Boolean Also known as:
Allows Google to use the data to improve other Google products or services.
Corresponds to the JSON property sharingWithGoogleProductsEnabled
1125 1126 1127 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1125 def sharing_with_google_products_enabled @sharing_with_google_products_enabled end |
#sharing_with_google_support_enabled ⇒ Boolean Also known as:
Allows Google support to access the data in order to help troubleshoot issues.
Corresponds to the JSON property sharingWithGoogleSupportEnabled
1131 1132 1133 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1131 def sharing_with_google_support_enabled @sharing_with_google_support_enabled end |
#sharing_with_others_enabled ⇒ Boolean Also known as:
Allows Google to share the data anonymously in aggregate form with others.
Corresponds to the JSON property sharingWithOthersEnabled
1137 1138 1139 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1137 def sharing_with_others_enabled @sharing_with_others_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1145 1146 1147 1148 1149 1150 1151 1152 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1145 def update!(**args) @name = args[:name] if args.key?(:name) @sharing_with_google_any_sales_enabled = args[:sharing_with_google_any_sales_enabled] if args.key?(:sharing_with_google_any_sales_enabled) @sharing_with_google_assigned_sales_enabled = args[:sharing_with_google_assigned_sales_enabled] if args.key?(:sharing_with_google_assigned_sales_enabled) @sharing_with_google_products_enabled = args[:sharing_with_google_products_enabled] if args.key?(:sharing_with_google_products_enabled) @sharing_with_google_support_enabled = args[:sharing_with_google_support_enabled] if args.key?(:sharing_with_google_support_enabled) @sharing_with_others_enabled = args[:sharing_with_others_enabled] if args.key?(:sharing_with_others_enabled) end |