Class: Google::Apis::PeopleV1::DomainMembership

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/people_v1/classes.rb,
lib/google/apis/people_v1/representations.rb,
lib/google/apis/people_v1/representations.rb

Overview

A Google Workspace Domain membership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DomainMembership

Returns a new instance of DomainMembership.



853
854
855
# File 'lib/google/apis/people_v1/classes.rb', line 853

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

Instance Attribute Details

#in_viewer_domainBoolean Also known as: in_viewer_domain?

True if the person is in the viewer's Google Workspace domain. Corresponds to the JSON property inViewerDomain

Returns:

  • (Boolean)


850
851
852
# File 'lib/google/apis/people_v1/classes.rb', line 850

def in_viewer_domain
  @in_viewer_domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



858
859
860
# File 'lib/google/apis/people_v1/classes.rb', line 858

def update!(**args)
  @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain)
end