Class: Google::Apis::CloudsearchV1::UpdateSubject
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UpdateSubject
- 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
-
#subject ⇒ String
Corresponds to the JSON property
subject
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateSubject
constructor
A new instance of UpdateSubject.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateSubject
Returns a new instance of UpdateSubject.
21217 21218 21219 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21217 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subject ⇒ String
Corresponds to the JSON property subject
21215 21216 21217 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21215 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21222 21223 21224 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21222 def update!(**args) @subject = args[:subject] if args.key?(:subject) end |