Class: Google::Apis::CloudsearchV1::FilterUpdate

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

Overview

HistoryRecord for changes associated with a filter, namely: FILTER_CREATED FILTER_DELETED

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FilterUpdate

Returns a new instance of FilterUpdate.



9097
9098
9099
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9097

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

Instance Attribute Details

#filter_createdGoogle::Apis::CloudsearchV1::FilterCreated

A filter was created. Corresponds to the JSON property filterCreated



9085
9086
9087
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9085

def filter_created
  @filter_created
end

#filter_deletedGoogle::Apis::CloudsearchV1::FilterDeleted

A filter was deleted. Corresponds to the JSON property filterDeleted



9090
9091
9092
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9090

def filter_deleted
  @filter_deleted
end

#filter_idString

Corresponds to the JSON property filterId

Returns:

  • (String)


9095
9096
9097
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9095

def filter_id
  @filter_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9102
9103
9104
9105
9106
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9102

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