Class: Google::Apis::CloudsearchV1::GSuitePrincipal

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GSuitePrincipal

Returns a new instance of GSuitePrincipal.



9725
9726
9727
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9725

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

Instance Attribute Details

#gsuite_domainBoolean Also known as: gsuite_domain?

This principal represents all users of the Google Workspace domain of the customer. Corresponds to the JSON property gsuiteDomain

Returns:

  • (Boolean)


9712
9713
9714
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9712

def gsuite_domain
  @gsuite_domain
end

#gsuite_group_emailString

This principal references a Google Workspace group name. Corresponds to the JSON property gsuiteGroupEmail

Returns:

  • (String)


9718
9719
9720
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9718

def gsuite_group_email
  @gsuite_group_email
end

#gsuite_user_emailString

This principal references a Google Workspace user account. Corresponds to the JSON property gsuiteUserEmail

Returns:

  • (String)


9723
9724
9725
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9723

def gsuite_user_email
  @gsuite_user_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9730
9731
9732
9733
9734
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9730

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