generated/google/apis/drive_v3/classes.rb in google-api-client-0.9.8 vs generated/google/apis/drive_v3/classes.rb in google-api-client-0.9.9
- old
+ new
@@ -1162,10 +1162,15 @@
# The email address of the user or group to which this permission refers.
# Corresponds to the JSON property `emailAddress`
# @return [String]
attr_accessor :email_address
+ # The time at which this permission will expire (RFC 3339 date-time).
+ # Corresponds to the JSON property `expirationTime`
+ # @return [DateTime]
+ attr_accessor :expiration_time
+
# The ID of this permission. This is a unique identifier for the grantee, and is
# published in User resources as permissionId.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -1206,9 +1211,10 @@
def update!(**args)
@allow_file_discovery = args[:allow_file_discovery] if args.key?(:allow_file_discovery)
@display_name = args[:display_name] if args.key?(:display_name)
@domain = args[:domain] if args.key?(:domain)
@email_address = args[:email_address] if args.key?(:email_address)
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@photo_link = args[:photo_link] if args.key?(:photo_link)
@role = args[:role] if args.key?(:role)
@type = args[:type] if args.key?(:type)