Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest
- 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
Deletes one of more Label Permissions.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest>
Required.
-
#use_admin_access ⇒ Boolean
(also: #use_admin_access?)
Set to
true
in order to use the user's admin credentials.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest.
277 278 279 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest>
Required. The request message specifying the resources to update.
Corresponds to the JSON property requests
266 267 268 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 266 def requests @requests end |
#use_admin_access ⇒ Boolean Also known as: use_admin_access?
Set to true
in order to use the user's admin credentials. The server will
verify the user is an admin for the Label before allowing access. If this is
set, the use_admin_access field in the DeleteLabelPermissionRequest messages
must either be empty or match this field.
Corresponds to the JSON property useAdminAccess
274 275 276 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 274 def use_admin_access @use_admin_access end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
282 283 284 285 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 282 def update!(**args) @requests = args[:requests] if args.key?(:requests) @use_admin_access = args[:use_admin_access] if args.key?(:use_admin_access) end |