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



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

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

Instance Attribute Details

#share_anonymously_with_othersBoolean Also known as: share_anonymously_with_others?

Corresponds to the JSON property shareAnonymouslyWithOthers

Returns:

  • (Boolean)


490
491
492
# File 'generated/google/apis/analytics_v3/classes.rb', line 490

def share_anonymously_with_others
  @share_anonymously_with_others
end

#share_with_google_productsBoolean Also known as: share_with_google_products?

Corresponds to the JSON property shareWithGoogleProducts

Returns:

  • (Boolean)


496
497
498
# File 'generated/google/apis/analytics_v3/classes.rb', line 496

def share_with_google_products
  @share_with_google_products
end

#share_with_specialistsBoolean Also known as: share_with_specialists?

Corresponds to the JSON property shareWithSpecialists

Returns:

  • (Boolean)


502
503
504
# File 'generated/google/apis/analytics_v3/classes.rb', line 502

def share_with_specialists
  @share_with_specialists
end

#share_with_supportBoolean Also known as: share_with_support?

Corresponds to the JSON property shareWithSupport

Returns:

  • (Boolean)


508
509
510
# File 'generated/google/apis/analytics_v3/classes.rb', line 508

def share_with_support
  @share_with_support
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @share_anonymously_with_others = args[:share_anonymously_with_others] if args.key?(:share_anonymously_with_others)
  @share_with_google_products = args[:share_with_google_products] if args.key?(:share_with_google_products)
  @share_with_specialists = args[:share_with_specialists] if args.key?(:share_with_specialists)
  @share_with_support = args[:share_with_support] if args.key?(:share_with_support)
end