Class: Google::Apis::CloudsearchV1::LegacyUploadMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::LegacyUploadMetadata
- 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
The original UploadMetadata that this DriveMetadata was converted from.
Instance Attribute Summary collapse
-
#legacy_unique_id ⇒ String
A unique ID generated from legacy UploadMetadata.
-
#upload_metadata ⇒ Google::Apis::CloudsearchV1::UploadMetadata
Annotation metadata for user Upload artifacts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LegacyUploadMetadata
constructor
A new instance of LegacyUploadMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LegacyUploadMetadata
Returns a new instance of LegacyUploadMetadata.
12561 12562 12563 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12561 def initialize(**args) update!(**args) end |
Instance Attribute Details
#legacy_unique_id ⇒ String
A unique ID generated from legacy UploadMetadata. This is used for interopping
URLs after uploading blob to shared drive. Links in Classic might break
without this. go/drive-file-attachment-interop-from-dynamite.
Corresponds to the JSON property legacyUniqueId
12554 12555 12556 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12554 def legacy_unique_id @legacy_unique_id end |
#upload_metadata ⇒ Google::Apis::CloudsearchV1::UploadMetadata
Annotation metadata for user Upload artifacts.
Corresponds to the JSON property uploadMetadata
12559 12560 12561 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12559 def @upload_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12566 12567 12568 12569 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12566 def update!(**args) @legacy_unique_id = args[:legacy_unique_id] if args.key?(:legacy_unique_id) @upload_metadata = args[:upload_metadata] if args.key?(:upload_metadata) end |