class Google::Apis::CloudsearchV1::Source

Defines sources for the suggest/search APIs.

Attributes

name[RW]

Source name for content indexed by the Indexing API. Corresponds to the JSON property `name` @return [String]

predefined_source[RW]

Predefined content source for Google Apps. Corresponds to the JSON property `predefinedSource` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 4440
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 4445
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @predefined_source = args[:predefined_source] if args.key?(:predefined_source)
end