Class: Google::Apis::CloudassetV1::BatchGetEffectiveIamPoliciesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchGetEffectiveIamPoliciesResponse

Returns a new instance of BatchGetEffectiveIamPoliciesResponse.



661
662
663
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 661

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#policy_resultsArray<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



659
660
661
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 659

def policy_results
  @policy_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



666
667
668
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 666

def update!(**args)
  @policy_results = args[:policy_results] if args.key?(:policy_results)
end