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



425
426
427
# File 'generated/google/apis/analytics_v3/classes.rb', line 425

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)


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

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)


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

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)


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

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)


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

def share_with_support
  @share_with_support
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



430
431
432
433
434
435
# File 'generated/google/apis/analytics_v3/classes.rb', line 430

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