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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/accesscontextmanager_v1/classes.rb,
generated/google/apis/accesscontextmanager_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReplaceAccessLevelsResponse

Returns a new instance of ReplaceAccessLevelsResponse.



738
739
740
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 738

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



736
737
738
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 736

def access_levels
  @access_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



743
744
745
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 743

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