Class: Google::Apis::CloudassetV1::BatchGetEffectiveIamPoliciesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::BatchGetEffectiveIamPoliciesResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
A response message for AssetService.BatchGetEffectiveIamPolicies.
Instance Attribute Summary collapse
-
#policy_results ⇒ Array<Google::Apis::CloudassetV1::EffectiveIamPolicy>
The effective policies for a batch of resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchGetEffectiveIamPoliciesResponse
constructor
A new instance of BatchGetEffectiveIamPoliciesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchGetEffectiveIamPoliciesResponse
Returns a new instance of BatchGetEffectiveIamPoliciesResponse.
680 681 682 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 680 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_results ⇒ Array<Google::Apis::CloudassetV1::EffectiveIamPolicy>
The effective policies for a batch of resources. Note that the results order
is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a
resource does not have any effective IAM policies, its corresponding
policy_result will contain empty EffectiveIamPolicy.policies.
Corresponds to the JSON property policyResults
678 679 680 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 678 def policy_results @policy_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
685 686 687 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 685 def update!(**args) @policy_results = args[:policy_results] if args.key?(:policy_results) end |