Class: Google::Apis::CloudsearchV1::EventAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EventAnnotation
- 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
-
#type ⇒ Fixnum
Corresponds to the JSON property
type. -
#value ⇒ String
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventAnnotation
constructor
A new instance of EventAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventAnnotation
Returns a new instance of EventAnnotation.
8356 8357 8358 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8356 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ Fixnum
Corresponds to the JSON property type
8349 8350 8351 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8349 def type @type end |
#value ⇒ String
Corresponds to the JSON property value
8354 8355 8356 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8354 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8361 8362 8363 8364 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8361 def update!(**args) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |