Class: Google::Apis::AccesscontextmanagerV1beta::ListAccessLevelsResponse

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

Overview

A response to ListAccessLevelsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListAccessLevelsResponse

Returns a new instance of ListAccessLevelsResponse



295
296
297
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 295

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

Instance Attribute Details

#access_levelsArray<Google::Apis::AccesscontextmanagerV1beta::AccessLevel>

List of the Access Level instances. Corresponds to the JSON property accessLevels



287
288
289
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 287

def access_levels
  @access_levels
end

#next_page_tokenString

The pagination token to retrieve the next page of results. If the value is empty, no further results remain. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


293
294
295
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 293

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



300
301
302
303
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 300

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