Class: Google::Apis::AlertcenterV1beta1::ResourceInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::ResourceInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
Proto that contains resource information.
Instance Attribute Summary collapse
-
#chat_attachment_id ⇒ String
Chat attachment ID.
-
#chat_message_id ⇒ String
Chat message ID.
-
#device_id ⇒ String
Id to identify a device.
-
#document_id ⇒ String
Drive file ID.
-
#resource_title ⇒ String
Title of the resource, for example email subject, or document title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceInfo
constructor
A new instance of ResourceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceInfo
Returns a new instance of ResourceInfo.
1774 1775 1776 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1774 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chat_attachment_id ⇒ String
Chat attachment ID.
Corresponds to the JSON property chatAttachmentId
1751 1752 1753 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1751 def @chat_attachment_id end |
#chat_message_id ⇒ String
Chat message ID.
Corresponds to the JSON property chatMessageId
1756 1757 1758 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1756 def @chat_message_id end |
#device_id ⇒ String
Id to identify a device. For example, for Android devices, this is the "
Android Device Id" and for Chrome OS devices, it's the "Device Virtual Id".
Corresponds to the JSON property deviceId
1762 1763 1764 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1762 def device_id @device_id end |
#document_id ⇒ String
Drive file ID.
Corresponds to the JSON property documentId
1767 1768 1769 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1767 def document_id @document_id end |
#resource_title ⇒ String
Title of the resource, for example email subject, or document title.
Corresponds to the JSON property resourceTitle
1772 1773 1774 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1772 def resource_title @resource_title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1779 1780 1781 1782 1783 1784 1785 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1779 def update!(**args) @chat_attachment_id = args[:chat_attachment_id] if args.key?(:chat_attachment_id) @chat_message_id = args[:chat_message_id] if args.key?(:chat_message_id) @device_id = args[:device_id] if args.key?(:device_id) @document_id = args[:document_id] if args.key?(:document_id) @resource_title = args[:resource_title] if args.key?(:resource_title) end |