Class: Google::Cloud::Asset::V1::IamPolicySearchResult::Explanation
- Inherits:
-
Object
- Object
- Google::Cloud::Asset::V1::IamPolicySearchResult::Explanation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/asset/v1/assets.rb
Overview
Explanation about the IAM policy search result.
Defined Under Namespace
Classes: MatchedPermissionsEntry, Permissions
Instance Attribute Summary collapse
-
#matched_permissions ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Asset::V1::IamPolicySearchResult::Explanation::Permissions}
The map from roles to their included permissions that match the permission query (i.e., a query containing
policy.role.permissions:
).
Instance Attribute Details
#matched_permissions ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Asset::V1::IamPolicySearchResult::Explanation::Permissions}
Returns 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.
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 |
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 700 class Explanation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # IAM permissions # @!attribute [rw] permissions # @return [::Array<::String>] # A list of permissions. A sample permission string: `compute.disk.get`. class Permissions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Asset::V1::IamPolicySearchResult::Explanation::Permissions] class MatchedPermissionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |