Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse

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

Overview

Response for updating one or more Label Permissions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse

Returns a new instance of GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse.



326
327
328
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 326

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

Instance Attribute Details

#permissionsArray<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLabelPermission>

Required. Permissions updated. Corresponds to the JSON property permissions



324
325
326
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 324

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



331
332
333
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 331

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