Class: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountSettings

Returns a new instance of AccountSettings



537
538
539
# File 'generated/google/apis/analytics_v3/classes.rb', line 537

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

Instance Attribute Details

#admob_reportingBoolean Also known as: admob_reporting?

Corresponds to the JSON property admobReporting

Returns:

  • (Boolean)


504
505
506
# File 'generated/google/apis/analytics_v3/classes.rb', line 504

def admob_reporting
  @admob_reporting
end

#sharing_with_google_any_salesBoolean Also known as: sharing_with_google_any_sales?

Corresponds to the JSON property sharingWithGoogleAnySales

Returns:

  • (Boolean)


510
511
512
# File 'generated/google/apis/analytics_v3/classes.rb', line 510

def sharing_with_google_any_sales
  @sharing_with_google_any_sales
end

#sharing_with_google_productsBoolean Also known as: sharing_with_google_products?

Corresponds to the JSON property sharingWithGoogleProducts

Returns:

  • (Boolean)


516
517
518
# File 'generated/google/apis/analytics_v3/classes.rb', line 516

def sharing_with_google_products
  @sharing_with_google_products
end

#sharing_with_google_salesBoolean Also known as: sharing_with_google_sales?

Corresponds to the JSON property sharingWithGoogleSales

Returns:

  • (Boolean)


522
523
524
# File 'generated/google/apis/analytics_v3/classes.rb', line 522

def sharing_with_google_sales
  @sharing_with_google_sales
end

#sharing_with_google_supportBoolean Also known as: sharing_with_google_support?

Corresponds to the JSON property sharingWithGoogleSupport

Returns:

  • (Boolean)


528
529
530
# File 'generated/google/apis/analytics_v3/classes.rb', line 528

def sharing_with_google_support
  @sharing_with_google_support
end

#sharing_with_othersBoolean Also known as: sharing_with_others?

Corresponds to the JSON property sharingWithOthers

Returns:

  • (Boolean)


534
535
536
# File 'generated/google/apis/analytics_v3/classes.rb', line 534

def sharing_with_others
  @sharing_with_others
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



542
543
544
545
546
547
548
549
# File 'generated/google/apis/analytics_v3/classes.rb', line 542

def update!(**args)
  @admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting)
  @sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales)
  @sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products)
  @sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales)
  @sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support)
  @sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others)
end