Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedDocument

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

Data for rendering a document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedDocument

Returns a new instance of AppsDynamiteSharedDocument.



2286
2287
2288
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2286

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#file_idString

Unique file ID. Corresponds to the JSON property fileId

Returns:

  • (String)


2259
2260
2261
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2259

def file_id
  @file_id
end

#justificationGoogle::Apis::CloudsearchV1::AppsDynamiteSharedJustification

Data for rendering a justification for a document. Corresponds to the JSON property justification



2264
2265
2266
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2264

def justification
  @justification
end

#last_modified_timeString

Time the document was last modified. Corresponds to the JSON property lastModifiedTime

Returns:

  • (String)


2269
2270
2271
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2269

def last_modified_time
  @last_modified_time
end

#mime_typeString

Used to determine which icon to render (e.g. docs, slides, sheets) Corresponds to the JSON property mimeType

Returns:

  • (String)


2274
2275
2276
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2274

def mime_type
  @mime_type
end

#titleString

Title of the document. Corresponds to the JSON property title

Returns:

  • (String)


2279
2280
2281
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2279

def title
  @title
end

#urlString

URL of the document. Corresponds to the JSON property url

Returns:

  • (String)


2284
2285
2286
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2284

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2291
2292
2293
2294
2295
2296
2297
2298
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2291

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