Class: Google::Apis::DriveV2::ClientEncryptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::ClientEncryptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v2/classes.rb,
lib/google/apis/drive_v2/representations.rb,
lib/google/apis/drive_v2/representations.rb
Overview
Details about the client-side encryption applied to the file.
Instance Attribute Summary collapse
-
#decryption_metadata ⇒ Google::Apis::DriveV2::DecryptionMetadata
Representation of the CSE DecryptionMetadata.
-
#encryption_state ⇒ String
The encryption state of the file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClientEncryptionDetails
constructor
A new instance of ClientEncryptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClientEncryptionDetails
Returns a new instance of ClientEncryptionDetails.
1058 1059 1060 |
# File 'lib/google/apis/drive_v2/classes.rb', line 1058 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decryption_metadata ⇒ Google::Apis::DriveV2::DecryptionMetadata
Representation of the CSE DecryptionMetadata.
Corresponds to the JSON property decryptionMetadata
1050 1051 1052 |
# File 'lib/google/apis/drive_v2/classes.rb', line 1050 def @decryption_metadata end |
#encryption_state ⇒ String
The encryption state of the file. The values expected here are: - encrypted -
unencrypted
Corresponds to the JSON property encryptionState
1056 1057 1058 |
# File 'lib/google/apis/drive_v2/classes.rb', line 1056 def encryption_state @encryption_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1063 1064 1065 1066 |
# File 'lib/google/apis/drive_v2/classes.rb', line 1063 def update!(**args) @decryption_metadata = args[:decryption_metadata] if args.key?(:decryption_metadata) @encryption_state = args[:encryption_state] if args.key?(:encryption_state) end |