Class: Google::Apis::CloudsearchV1::FilterUpdate
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::FilterUpdate
- 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
Overview
HistoryRecord for changes associated with a filter, namely: FILTER_CREATED FILTER_DELETED
Instance Attribute Summary collapse
-
#filter_created ⇒ Google::Apis::CloudsearchV1::FilterCreated
A filter was created.
-
#filter_deleted ⇒ Google::Apis::CloudsearchV1::FilterDeleted
A filter was deleted.
-
#filter_id ⇒ String
Corresponds to the JSON property
filterId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FilterUpdate
constructor
A new instance of FilterUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FilterUpdate
Returns a new instance of FilterUpdate.
8672 8673 8674 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter_created ⇒ Google::Apis::CloudsearchV1::FilterCreated
A filter was created.
Corresponds to the JSON property filterCreated
8660 8661 8662 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8660 def filter_created @filter_created end |
#filter_deleted ⇒ Google::Apis::CloudsearchV1::FilterDeleted
A filter was deleted.
Corresponds to the JSON property filterDeleted
8665 8666 8667 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8665 def filter_deleted @filter_deleted end |
#filter_id ⇒ String
Corresponds to the JSON property filterId
8670 8671 8672 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8670 def filter_id @filter_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8677 8678 8679 8680 8681 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8677 def update!(**args) @filter_created = args[:filter_created] if args.key?(:filter_created) @filter_deleted = args[:filter_deleted] if args.key?(:filter_deleted) @filter_id = args[:filter_id] if args.key?(:filter_id) end |