class Google::Apis::KeepV1::BatchCreatePermissionsRequest

The request to add one or more permissions on the note. Currently, only the ` WRITER` role may be specified. If adding a permission fails, then the entire request fails and no changes are made.

Attributes

requests[RW]

The request message specifying the resources to create. Corresponds to the JSON property `requests` @return [Array<Google::Apis::KeepV1::CreatePermissionRequest>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/keep_v1/classes.rb, line 61
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 66
def update!(**args)
  @requests = args[:requests] if args.key?(:requests)
end