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.
935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 |
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 935 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 |