Class: Google::Apis::CloudsearchV1::IndexItemOptions

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) ⇒ IndexItemOptions

Returns a new instance of IndexItemOptions.



11809
11810
11811
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11809

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

Instance Attribute Details

#allow_unknown_gsuite_principalsBoolean Also known as: allow_unknown_gsuite_principals?

Specifies if the index request should allow Google Workspace principals that do not exist or are deleted. Corresponds to the JSON property allowUnknownGsuitePrincipals

Returns:

  • (Boolean)


11806
11807
11808
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11806

def allow_unknown_gsuite_principals
  @allow_unknown_gsuite_principals
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11814
11815
11816
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11814

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