Class: Google::Apis::KeepV1::BatchCreatePermissionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::KeepV1::BatchCreatePermissionsResponse
- 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
-
#permissions ⇒ Array<Google::Apis::KeepV1::Permission>
Permissions created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreatePermissionsResponse
constructor
A new instance of BatchCreatePermissionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#permissions ⇒ Array<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 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 |