Class: Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedAsset

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/asset_service.rb

Overview

Represents a Google Cloud asset(resource or IAM policy) governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

Instance Attribute Summary collapse

Instance Attribute Details

#consolidated_policy::Google::Cloud::Asset::V1::AnalyzerOrgPolicy

Returns The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

Returns:



2558
2559
2560
2561
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2558

class GovernedAsset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#governed_iam_policy::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy

Returns An IAM policy governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.



2558
2559
2560
2561
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2558

class GovernedAsset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#governed_resource::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource

Returns A Google Cloud resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

Returns:



2558
2559
2560
2561
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2558

class GovernedAsset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#policy_bundle::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>

Returns The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][] to the scope specified in the request.

If the constraint is defined with default policy, it will also appear in the list.

Returns:

  • (::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>)

    The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][] to the scope specified in the request.

    If the constraint is defined with default policy, it will also appear in the list.



2558
2559
2560
2561
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2558

class GovernedAsset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end