Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedDocument
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedDocument
- 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
Data for rendering a document.
Instance Attribute Summary collapse
-
#file_id ⇒ String
Unique file ID.
-
#justification ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedJustification
Data for rendering a justification for a document.
-
#last_modified_time ⇒ String
Time the document was last modified.
-
#mime_type ⇒ String
Used to determine which icon to render (e.g. docs, slides, sheets) Corresponds to the JSON property
mimeType. -
#title ⇒ String
Title of the document.
-
#url ⇒ String
URL of the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedDocument
constructor
A new instance of AppsDynamiteSharedDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedDocument
Returns a new instance of AppsDynamiteSharedDocument.
1565 1566 1567 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1565 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_id ⇒ String
Unique file ID.
Corresponds to the JSON property fileId
1538 1539 1540 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1538 def file_id @file_id end |
#justification ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedJustification
Data for rendering a justification for a document.
Corresponds to the JSON property justification
1543 1544 1545 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1543 def justification @justification end |
#last_modified_time ⇒ String
Time the document was last modified.
Corresponds to the JSON property lastModifiedTime
1548 1549 1550 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1548 def last_modified_time @last_modified_time end |
#mime_type ⇒ String
Used to determine which icon to render (e.g. docs, slides, sheets)
Corresponds to the JSON property mimeType
1553 1554 1555 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1553 def mime_type @mime_type end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
1558 1559 1560 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1558 def title @title end |
#url ⇒ String
URL of the document.
Corresponds to the JSON property url
1563 1564 1565 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1563 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1570 1571 1572 1573 1574 1575 1576 1577 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1570 def update!(**args) @file_id = args[:file_id] if args.key?(:file_id) @justification = args[:justification] if args.key?(:justification) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @mime_type = args[:mime_type] if args.key?(:mime_type) @title = args[:title] if args.key?(:title) @url = args[:url] if args.key?(:url) end |