Class: Google::Apis::CloudsearchV1::AnnotationInfo

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

Information about the screen annotation session.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idsArray<String>

The device resource names of other devices which can annotate the screen. Corresponds to the JSON property coannotatorDeviceIds

Returns:

  • (Array<String>)


589
590
591
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 589

def coannotator_device_ids
  @coannotator_device_ids
end

#is_activeBoolean Also known as: is_active?

Whether the annotation is active. Corresponds to the JSON property isActive

Returns:

  • (Boolean)


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