Class: Google::Apis::PeopleV1::DomainMembership
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::DomainMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/people_v1/classes.rb,
generated/google/apis/people_v1/representations.rb,
generated/google/apis/people_v1/representations.rb
Overview
A Google Apps Domain membership.
Instance Attribute Summary collapse
-
#in_viewer_domain ⇒ Boolean
(also: #in_viewer_domain?)
True if the person is in the viewer's Google Apps domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainMembership
constructor
A new instance of DomainMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DomainMembership
Returns a new instance of DomainMembership
552 553 554 |
# File 'generated/google/apis/people_v1/classes.rb', line 552 def initialize(**args) update!(**args) end |
Instance Attribute Details
#in_viewer_domain ⇒ Boolean Also known as: in_viewer_domain?
True if the person is in the viewer's Google Apps domain.
Corresponds to the JSON property inViewerDomain
549 550 551 |
# File 'generated/google/apis/people_v1/classes.rb', line 549 def in_viewer_domain @in_viewer_domain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
557 558 559 |
# File 'generated/google/apis/people_v1/classes.rb', line 557 def update!(**args) @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) end |