Class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse
- Inherits:
-
Object
- Object
- Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/policytroubleshooter_v1beta/classes.rb,
generated/google/apis/policytroubleshooter_v1beta/representations.rb,
generated/google/apis/policytroubleshooter_v1beta/representations.rb
Overview
Response for TroubleshootIamPolicy.
Instance Attribute Summary collapse
-
#access ⇒ String
Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable policies.
-
#explained_policies ⇒ Array<Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaExplainedPolicy>
List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse
constructor
A new instance of GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse
Returns a new instance of GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse.
357 358 359 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access ⇒ String
Indicates whether the member has the specified permission for the specified
resource, based on evaluating all of the applicable policies.
Corresponds to the JSON property access
343 344 345 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 343 def access @access end |
#explained_policies ⇒ Array<Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaExplainedPolicy>
List of IAM policies that were evaluated to check the member's permissions,
with annotations to indicate how each policy contributed to the final
result.
The list of policies can include the policy for the resource itself. It can
also include policies that are inherited from higher levels of the resource
hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see
https://cloud.google.com/iam/help/resource-hierarchy.
Corresponds to the JSON property explainedPolicies
355 356 357 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 355 def explained_policies @explained_policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 365 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 362 def update!(**args) @access = args[:access] if args.key?(:access) @explained_policies = args[:explained_policies] if args.key?(:explained_policies) end |