Class: Google::Apis::DriveV3::File::LinkShareMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/drive_v3/classes.rb,
lib/google/apis/drive_v3/representations.rb,
lib/google/apis/drive_v3/representations.rb

Overview

Contains details about the link URLs that clients are using to refer to this item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkShareMetadata

Returns a new instance of LinkShareMetadata.



2056
2057
2058
# File 'lib/google/apis/drive_v3/classes.rb', line 2056

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

Instance Attribute Details

#security_update_eligibleBoolean Also known as: security_update_eligible?

Whether the file is eligible for security update. Corresponds to the JSON property securityUpdateEligible

Returns:

  • (Boolean)


2047
2048
2049
# File 'lib/google/apis/drive_v3/classes.rb', line 2047

def security_update_eligible
  @security_update_eligible
end

#security_update_enabledBoolean Also known as: security_update_enabled?

Whether the security update is enabled for this file. Corresponds to the JSON property securityUpdateEnabled

Returns:

  • (Boolean)


2053
2054
2055
# File 'lib/google/apis/drive_v3/classes.rb', line 2053

def security_update_enabled
  @security_update_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2061
2062
2063
2064
# File 'lib/google/apis/drive_v3/classes.rb', line 2061

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