Class: Google::Apis::AnalyticsV3::AccountTreeRequest::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



437
438
439
# File 'generated/google/apis/analytics_v3/classes.rb', line 437

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

Instance Attribute Details

#admob_reportingBoolean Also known as: admob_reporting?

Corresponds to the JSON property admobReporting

Returns:

  • (Boolean)


404
405
406
# File 'generated/google/apis/analytics_v3/classes.rb', line 404

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)


410
411
412
# File 'generated/google/apis/analytics_v3/classes.rb', line 410

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)


416
417
418
# File 'generated/google/apis/analytics_v3/classes.rb', line 416

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)


422
423
424
# File 'generated/google/apis/analytics_v3/classes.rb', line 422

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)


428
429
430
# File 'generated/google/apis/analytics_v3/classes.rb', line 428

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)


434
435
436
# File 'generated/google/apis/analytics_v3/classes.rb', line 434

def sharing_with_others
  @sharing_with_others
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



442
443
444
445
446
447
448
449
# File 'generated/google/apis/analytics_v3/classes.rb', line 442

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