Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLabelLocksResponse

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

Overview

The response to a ListLabelLocksRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2ListLabelLocksResponse

Returns a new instance of GoogleAppsDriveLabelsV2ListLabelLocksResponse.



2817
2818
2819
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2817

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

Instance Attribute Details

#label_locksArray<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelLock>

Label locks. Corresponds to the JSON property labelLocks



2810
2811
2812
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2810

def label_locks
  @label_locks
end

#next_page_tokenString

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

Returns:

  • (String)


2815
2816
2817
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2815

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2822
2823
2824
2825
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2822

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