Class: Google::Apis::CloudsearchV1::Presenter
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Presenter
- 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
Presenter contains information about which device is currently presenting as well as which device requested the presenter to be set.
Instance Attribute Summary collapse
-
#annotation_info ⇒ Google::Apis::CloudsearchV1::AnnotationInfo
Information about the screen annotation session.
-
#by_device_id ⇒ String
The device resource name of the device which requested the current presenter to be set.
-
#copresenter_device_ids ⇒ Array<String>
The device resource names of other devices which can control the current presentation.
-
#presenter_device_id ⇒ String
The device resource name of the currently presenting device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Presenter
constructor
A new instance of Presenter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Presenter
Returns a new instance of Presenter.
15739 15740 15741 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_info ⇒ Google::Apis::CloudsearchV1::AnnotationInfo
Information about the screen annotation session.
Corresponds to the JSON property annotationInfo
15720 15721 15722 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15720 def annotation_info @annotation_info end |
#by_device_id ⇒ String
The device resource name of the device which requested the current presenter
to be set. This field can not be modified by clients.
Corresponds to the JSON property byDeviceId
15726 15727 15728 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15726 def by_device_id @by_device_id end |
#copresenter_device_ids ⇒ Array<String>
The device resource names of other devices which can control the current
presentation.
Corresponds to the JSON property copresenterDeviceIds
15732 15733 15734 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15732 def copresenter_device_ids @copresenter_device_ids end |
#presenter_device_id ⇒ String
The device resource name of the currently presenting device.
Corresponds to the JSON property presenterDeviceId
15737 15738 15739 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15737 def presenter_device_id @presenter_device_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15744 15745 15746 15747 15748 15749 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15744 def update!(**args) @annotation_info = args[:annotation_info] if args.key?(:annotation_info) @by_device_id = args[:by_device_id] if args.key?(:by_device_id) @copresenter_device_ids = args[:copresenter_device_ids] if args.key?(:copresenter_device_ids) @presenter_device_id = args[:presenter_device_id] if args.key?(:presenter_device_id) end |