Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataSharingSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDataSharingSettings

Returns a new instance of GoogleAnalyticsAdminV1alphaDataSharingSettings.



2720
2721
2722
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2720

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Output only. Resource name. Format: accounts/account/dataSharingSettings Example: "accounts/1000/dataSharingSettings" Corresponds to the JSON property name

Returns:

  • (String)


2672
2673
2674
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2672

def name
  @name
end

#sharing_with_google_any_sales_enabledBoolean Also known as: sharing_with_google_any_sales_enabled?

Deprecated. This field is no longer used and always returns false. Corresponds to the JSON property sharingWithGoogleAnySalesEnabled

Returns:

  • (Boolean)


2677
2678
2679
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2677

def sharing_with_google_any_sales_enabled
  @sharing_with_google_any_sales_enabled
end

#sharing_with_google_assigned_sales_enabledBoolean Also known as: sharing_with_google_assigned_sales_enabled?

Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business. This field maps to the "Recommendations for your business" field in the Google Analytics Admin UI. Corresponds to the JSON property sharingWithGoogleAssignedSalesEnabled

Returns:

  • (Boolean)


2689
2690
2691
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2689

def sharing_with_google_assigned_sales_enabled
  @sharing_with_google_assigned_sales_enabled
end

#sharing_with_google_products_enabledBoolean Also known as: sharing_with_google_products_enabled?

Allows Google to use the data to improve other Google products or services. This fields maps to the "Google products & services" field in the Google Analytics Admin UI. Corresponds to the JSON property sharingWithGoogleProductsEnabled

Returns:

  • (Boolean)


2697
2698
2699
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2697

def sharing_with_google_products_enabled
  @sharing_with_google_products_enabled
end

#sharing_with_google_support_enabledBoolean Also known as: sharing_with_google_support_enabled?

Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues. This field maps to the "Technical support" field in the Google Analytics Admin UI. Corresponds to the JSON property sharingWithGoogleSupportEnabled

Returns:

  • (Boolean)


2706
2707
2708
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2706

def sharing_with_google_support_enabled
  @sharing_with_google_support_enabled
end

#sharing_with_others_enabledBoolean Also known as: sharing_with_others_enabled?

Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data. The data you share (including information about the property from which it is shared) is aggregated and de-identified before being used to generate business insights. This field maps to the "Modeling contributions & business insights" field in the Google Analytics Admin UI. Corresponds to the JSON property sharingWithOthersEnabled

Returns:

  • (Boolean)


2717
2718
2719
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2717

def sharing_with_others_enabled
  @sharing_with_others_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2725
2726
2727
2728
2729
2730
2731
2732
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2725

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