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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/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.



479
480
481
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 479

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)


444
445
446
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 444

def name
  @name
end

#sharing_with_google_any_sales_enabledBoolean Also known as: sharing_with_google_any_sales_enabled?

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

Returns:

  • (Boolean)


450
451
452
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 450

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 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

Returns:

  • (Boolean)


458
459
460
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 458

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. Corresponds to the JSON property sharingWithGoogleProductsEnabled

Returns:

  • (Boolean)


464
465
466
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 464

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 support to access the data in order to help troubleshoot issues. Corresponds to the JSON property sharingWithGoogleSupportEnabled

Returns:

  • (Boolean)


470
471
472
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 470

def sharing_with_google_support_enabled
  @sharing_with_google_support_enabled
end

#sharing_with_others_enabledBoolean Also known as: sharing_with_others_enabled?

Allows Google to share the data anonymously in aggregate form with others. Corresponds to the JSON property sharingWithOthersEnabled

Returns:

  • (Boolean)


476
477
478
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 476

def sharing_with_others_enabled
  @sharing_with_others_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



484
485
486
487
488
489
490
491
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 484

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