class Google::Apis::CloudassetV1::Explanation

Explanation about the IAM policy search result.

Attributes

matched_permissions[RW]

The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`). Example: if query `policy.role.permissions:compute.disk.get` matches a policy binding that contains owner role, the matched_permissions will be ““roles/owner”: [“ compute.disk.get”]“. The roles can also be found in the returned `policy` bindings. Note that the map is populated only for requests with permission queries. Corresponds to the JSON property `matchedPermissions` @return [Hash<String,Google::Apis::CloudassetV1::Permissions>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 720
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1/classes.rb, line 725
def update!(**args)
  @matched_permissions = args[:matched_permissions] if args.key?(:matched_permissions)
end