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.
13064 13065 13066 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13064 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
13057 13058 13059 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13057 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
13062 13063 13064 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13062 def @upload_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13069 13070 13071 13072 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13069 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 |