Class: Google::Apis::KeepV1::BatchCreatePermissionsResponse

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

Overview

The response for creating permissions on a note.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreatePermissionsResponse

Returns a new instance of BatchCreatePermissionsResponse.



80
81
82
# File 'lib/google/apis/keep_v1/classes.rb', line 80

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

Instance Attribute Details

#permissionsArray<Google::Apis::KeepV1::Permission>

Permissions created. Corresponds to the JSON property permissions



78
79
80
# File 'lib/google/apis/keep_v1/classes.rb', line 78

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



85
86
87
# File 'lib/google/apis/keep_v1/classes.rb', line 85

def update!(**args)
  @permissions = args[:permissions] if args.key?(:permissions)
end