Class: Google::Apis::CloudsearchV1::GSuitePrincipal
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::GSuitePrincipal
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#gsuite_domain ⇒ Boolean
(also: #gsuite_domain?)
This principal represents all users of the G Suite domain of the customer.
-
#gsuite_group_email ⇒ String
This principal references a G Suite group account Corresponds to the JSON property
gsuiteGroupEmail
. -
#gsuite_user_email ⇒ String
This principal references a G Suite user account Corresponds to the JSON property
gsuiteUserEmail
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GSuitePrincipal
constructor
A new instance of GSuitePrincipal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GSuitePrincipal
Returns a new instance of GSuitePrincipal
1126 1127 1128 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gsuite_domain ⇒ Boolean Also known as: gsuite_domain?
This principal represents all users of the G Suite domain of the
customer.
Corresponds to the JSON property gsuiteDomain
1113 1114 1115 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1113 def gsuite_domain @gsuite_domain end |
#gsuite_group_email ⇒ String
This principal references a G Suite group account
Corresponds to the JSON property gsuiteGroupEmail
1119 1120 1121 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1119 def gsuite_group_email @gsuite_group_email end |
#gsuite_user_email ⇒ String
This principal references a G Suite user account
Corresponds to the JSON property gsuiteUserEmail
1124 1125 1126 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1124 def gsuite_user_email @gsuite_user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1131 1132 1133 1134 1135 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1131 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 |