Class: Google::Apis::CloudsearchV1::Source
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Source
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Defines sources for the suggest/search APIs.
Instance Attribute Summary collapse
-
#name ⇒ String
Source name for content indexed by the Indexing API.
-
#predefined_source ⇒ String
Predefined content source for Google Apps.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#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) ⇒ Source
Returns a new instance of Source
3956 3957 3958 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3956 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Source name for content indexed by the
Indexing API.
Corresponds to the JSON property name
3949 3950 3951 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3949 def name @name end |
#predefined_source ⇒ String
Predefined content source for Google Apps.
Corresponds to the JSON property predefinedSource
3954 3955 3956 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3954 def predefined_source @predefined_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3961 3962 3963 3964 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3961 def update!(**args) @name = args[:name] if args.key?(:name) @predefined_source = args[:predefined_source] if args.key?(:predefined_source) end |