Class: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings
- 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
-
#share_anonymously_with_others ⇒ Boolean
(also: #share_anonymously_with_others?)
Corresponds to the JSON property
shareAnonymouslyWithOthers
. -
#share_with_google_products ⇒ Boolean
(also: #share_with_google_products?)
Corresponds to the JSON property
shareWithGoogleProducts
. -
#share_with_specialists ⇒ Boolean
(also: #share_with_specialists?)
Corresponds to the JSON property
shareWithSpecialists
. -
#share_with_support ⇒ Boolean
(also: #share_with_support?)
Corresponds to the JSON property
shareWithSupport
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountSettings
constructor
A new instance of AccountSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_others ⇒ Boolean Also known as:
Corresponds to the JSON property shareAnonymouslyWithOthers
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_products ⇒ Boolean Also known as:
Corresponds to the JSON property shareWithGoogleProducts
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_specialists ⇒ Boolean Also known as:
Corresponds to the JSON property shareWithSpecialists
502 503 504 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 502 def share_with_specialists @share_with_specialists end |
#share_with_support ⇒ Boolean Also known as:
Corresponds to the JSON property shareWithSupport
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 |