Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse

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 listing the permissions on a Label.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse

Returns a new instance of GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse.



2821
2822
2823
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2821

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

Instance Attribute Details

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

Label permissions. Corresponds to the JSON property labelPermissions



2814
2815
2816
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2814

def label_permissions
  @label_permissions
end

#next_page_tokenString

The token of the next page in the response. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2819
2820
2821
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2819

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2826
2827
2828
2829
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2826

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