Class: Google::Apis::CloudsearchV1::AnnotationInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AnnotationInfo
- 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
Information about the screen annotation session.
Instance Attribute Summary collapse
-
#coannotator_device_ids ⇒ Array<String>
The device resource names of other devices which can annotate the screen.
-
#is_active ⇒ Boolean
(also: #is_active?)
Whether the annotation is active.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnnotationInfo
constructor
A new instance of AnnotationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnnotationInfo
Returns a new instance of AnnotationInfo.
597 598 599 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#coannotator_device_ids ⇒ Array<String>
The device resource names of other devices which can annotate the screen.
Corresponds to the JSON property coannotatorDeviceIds
589 590 591 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 589 def coannotator_device_ids @coannotator_device_ids end |
#is_active ⇒ Boolean Also known as: is_active?
Whether the annotation is active.
Corresponds to the JSON property isActive
594 595 596 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 594 def is_active @is_active end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
602 603 604 605 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 602 def update!(**args) @coannotator_device_ids = args[:coannotator_device_ids] if args.key?(:coannotator_device_ids) @is_active = args[:is_active] if args.key?(:is_active) end |