class Google::Apis::KeepV1::BatchDeletePermissionsRequest
The request to remove one or more permissions from a note. A permission with the `OWNER` role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.
Attributes
names[RW]
Required. The names of the permissions to delete. Format: `notes/`note`/ permissions/`permission“ Corresponds to the JSON property `names` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/keep_v1/classes.rb, line 103 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/keep_v1/classes.rb, line 108 def update!(**args) @names = args[:names] if args.key?(:names) end