Class: Google::Apis::CloudsearchV1::GSuitePrincipal
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::GSuitePrincipal
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#gsuite_domain ⇒ Boolean
(also: #gsuite_domain?)
This principal represents all users of the Google Workspace domain of the customer.
-
#gsuite_group_email ⇒ String
This principal references a Google Workspace group name.
-
#gsuite_user_email ⇒ String
This principal references a Google Workspace user account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GSuitePrincipal
constructor
A new instance of GSuitePrincipal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GSuitePrincipal
Returns a new instance of GSuitePrincipal.
9661 9662 9663 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9661 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gsuite_domain ⇒ Boolean Also known as: gsuite_domain?
This principal represents all users of the Google Workspace domain of the
customer.
Corresponds to the JSON property gsuiteDomain
9648 9649 9650 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9648 def gsuite_domain @gsuite_domain end |
#gsuite_group_email ⇒ String
This principal references a Google Workspace group name.
Corresponds to the JSON property gsuiteGroupEmail
9654 9655 9656 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9654 def gsuite_group_email @gsuite_group_email end |
#gsuite_user_email ⇒ String
This principal references a Google Workspace user account.
Corresponds to the JSON property gsuiteUserEmail
9659 9660 9661 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9659 def gsuite_user_email @gsuite_user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9666 9667 9668 9669 9670 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9666 def update!(**args) @gsuite_domain = args[:gsuite_domain] if args.key?(:gsuite_domain) @gsuite_group_email = args[:gsuite_group_email] if args.key?(:gsuite_group_email) @gsuite_user_email = args[:gsuite_user_email] if args.key?(:gsuite_user_email) end |