class Google::Apis::KeepV1::CreatePermissionRequest
The request to add a single permission on the note.
Attributes
parent[RW]
Required. The parent note where this permission will be created. Format: ` notes/`note“ Corresponds to the JSON property `parent` @return [String]
permission[RW]
A single permission on the note. Associates a `member` with a `role`. Corresponds to the JSON property `permission` @return [Google::Apis::KeepV1::Permission]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/keep_v1/classes.rb, line 128 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 133 def update!(**args) @parent = args[:parent] if args.key?(:parent) @permission = args[:permission] if args.key?(:permission) end