Class: Google::Apis::CloudsearchV1::UpdateSubject

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

Returns a new instance of UpdateSubject.



20471
20472
20473
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20471

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

Instance Attribute Details

#subjectString

Corresponds to the JSON property subject

Returns:

  • (String)


20469
20470
20471
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20469

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20476
20477
20478
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20476

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