Class: Google::Apis::CloudassetV1p1beta1::Explanation
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p1beta1::Explanation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudasset_v1p1beta1/classes.rb,
generated/google/apis/cloudasset_v1p1beta1/representations.rb,
generated/google/apis/cloudasset_v1p1beta1/representations.rb
Overview
Explanation about the IAM policy search result.
Instance Attribute Summary collapse
-
#matched_permissions ⇒ Hash<String,Google::Apis::CloudassetV1p1beta1::Permissions>
The map from roles to their included permission matching the permission query ( e.g. containing
policy.role.permissions:
).
Instance Method Summary collapse
-
#initialize(**args) ⇒ Explanation
constructor
A new instance of Explanation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Explanation
Returns a new instance of Explanation.
180 181 182 |
# File 'generated/google/apis/cloudasset_v1p1beta1/classes.rb', line 180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#matched_permissions ⇒ Hash<String,Google::Apis::CloudassetV1p1beta1::Permissions>
The map from roles to their included permission matching the permission query (
e.g. containing policy.role.permissions:
). A sample role string: "roles/
compute.instanceAdmin". The roles can also be found in the returned policy
bindings. Note that the map is populated only if requesting with a permission
query.
Corresponds to the JSON property matchedPermissions
178 179 180 |
# File 'generated/google/apis/cloudasset_v1p1beta1/classes.rb', line 178 def @matched_permissions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
185 186 187 |
# File 'generated/google/apis/cloudasset_v1p1beta1/classes.rb', line 185 def update!(**args) @matched_permissions = args[:matched_permissions] if args.key?(:matched_permissions) end |