Class: Google::Apis::AccesscontextmanagerV1::ReplaceAccessLevelsResponse

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

Overview

A response to ReplaceAccessLevelsRequest. This will be put inside of Operation. response field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReplaceAccessLevelsResponse

Returns a new instance of ReplaceAccessLevelsResponse.



1801
1802
1803
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1801

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

Instance Attribute Details

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

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



1799
1800
1801
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1799

def access_levels
  @access_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1806
1807
1808
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1806

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