Class: Google::Apis::DriveV2::File::LinkShareMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::File::LinkShareMetadata
- 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
Contains details about the link URLs that clients are using to refer to this item.
Instance Attribute Summary collapse
-
#security_update_eligible ⇒ Boolean
(also: #security_update_eligible?)
Whether the file is eligible for security update.
-
#security_update_enabled ⇒ Boolean
(also: #security_update_enabled?)
Whether the security update is enabled for this file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkShareMetadata
constructor
A new instance of LinkShareMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkShareMetadata
Returns a new instance of LinkShareMetadata.
2935 2936 2937 |
# File 'lib/google/apis/drive_v2/classes.rb', line 2935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#security_update_eligible ⇒ Boolean Also known as: security_update_eligible?
Whether the file is eligible for security update.
Corresponds to the JSON property securityUpdateEligible
2926 2927 2928 |
# File 'lib/google/apis/drive_v2/classes.rb', line 2926 def security_update_eligible @security_update_eligible end |
#security_update_enabled ⇒ Boolean Also known as: security_update_enabled?
Whether the security update is enabled for this file.
Corresponds to the JSON property securityUpdateEnabled
2932 2933 2934 |
# File 'lib/google/apis/drive_v2/classes.rb', line 2932 def security_update_enabled @security_update_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2940 2941 2942 2943 |
# File 'lib/google/apis/drive_v2/classes.rb', line 2940 def update!(**args) @security_update_eligible = args[:security_update_eligible] if args.key?(:security_update_eligible) @security_update_enabled = args[:security_update_enabled] if args.key?(:security_update_enabled) end |