Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocument
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocument
- 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
Representation of a document. NEXT_TAG: 15
Instance Attribute Summary collapse
-
#access_type ⇒ String
Access type, i.e., whether the user has access to the document or not.
-
#debug_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDebugInfo
Container of debugging information in all object levels.
-
#document_id ⇒ String
Document id.
-
#drive_document_metadata ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata
Meta data for drive documents.
-
#generic_url ⇒ String
Generic Drive-based url in the format of drive.google.com/open to be used for deeplink Corresponds to the JSON property
genericUrl
. -
#justification ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocumentJustification
Justification of why we are reporting the document.
-
#mime_type ⇒ String
MIME type Corresponds to the JSON property
mimeType
. -
#provenance ⇒ String
Document provenance.
-
#reason ⇒ String
Justification of why this document is being returned.
-
#snippet ⇒ String
A sampling of the text from the document.
-
#thumbnail_url ⇒ String
Thumbnail URL.
-
#title ⇒ String
Title of the document.
-
#type ⇒ String
Type of the document.
-
#url ⇒ String
Absolute URL of the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickCommonDocument
constructor
A new instance of EnterpriseTopazSidekickCommonDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickCommonDocument
Returns a new instance of EnterpriseTopazSidekickCommonDocument.
1898 1899 1900 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_type ⇒ String
Access type, i.e., whether the user has access to the document or not.
Corresponds to the JSON property accessType
1830 1831 1832 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1830 def access_type @access_type end |
#debug_info ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDebugInfo
Container of debugging information in all object levels. Extend as needed.
Corresponds to the JSON property debugInfo
1835 1836 1837 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1835 def debug_info @debug_info end |
#document_id ⇒ String
Document id.
Corresponds to the JSON property documentId
1840 1841 1842 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1840 def document_id @document_id end |
#drive_document_metadata ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata
Meta data for drive documents.
Corresponds to the JSON property driveDocumentMetadata
1845 1846 1847 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1845 def @drive_document_metadata end |
#generic_url ⇒ String
Generic Drive-based url in the format of drive.google.com/open to be used for
deeplink
Corresponds to the JSON property genericUrl
1851 1852 1853 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1851 def generic_url @generic_url end |
#justification ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocumentJustification
Justification of why we are reporting the document.
Corresponds to the JSON property justification
1856 1857 1858 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1856 def justification @justification end |
#mime_type ⇒ String
MIME type
Corresponds to the JSON property mimeType
1861 1862 1863 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1861 def mime_type @mime_type end |
#provenance ⇒ String
Document provenance.
Corresponds to the JSON property provenance
1866 1867 1868 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1866 def provenance @provenance end |
#reason ⇒ String
Justification of why this document is being returned.
Corresponds to the JSON property reason
1871 1872 1873 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1871 def reason @reason end |
#snippet ⇒ String
A sampling of the text from the document.
Corresponds to the JSON property snippet
1876 1877 1878 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1876 def snippet @snippet end |
#thumbnail_url ⇒ String
Thumbnail URL.
Corresponds to the JSON property thumbnailUrl
1881 1882 1883 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1881 def thumbnail_url @thumbnail_url end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
1886 1887 1888 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1886 def title @title end |
#type ⇒ String
Type of the document.
Corresponds to the JSON property type
1891 1892 1893 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1891 def type @type end |
#url ⇒ String
Absolute URL of the document.
Corresponds to the JSON property url
1896 1897 1898 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1896 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1903 def update!(**args) @access_type = args[:access_type] if args.key?(:access_type) @debug_info = args[:debug_info] if args.key?(:debug_info) @document_id = args[:document_id] if args.key?(:document_id) @drive_document_metadata = args[:drive_document_metadata] if args.key?(:drive_document_metadata) @generic_url = args[:generic_url] if args.key?(:generic_url) @justification = args[:justification] if args.key?(:justification) @mime_type = args[:mime_type] if args.key?(:mime_type) @provenance = args[:provenance] if args.key?(:provenance) @reason = args[:reason] if args.key?(:reason) @snippet = args[:snippet] if args.key?(:snippet) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) end |