Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedAsset.
Represents a Google Cloud asset(resource or IAM policy) governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#consolidated_policy
def consolidated_policy() -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicy- (::Google::Cloud::Asset::V1::AnalyzerOrgPolicy) — 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.
 
#consolidated_policy=
def consolidated_policy=(value) -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicy- value (::Google::Cloud::Asset::V1::AnalyzerOrgPolicy) — 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.
 
- (::Google::Cloud::Asset::V1::AnalyzerOrgPolicy) — 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.
 
#governed_iam_policy
def governed_iam_policy() -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy- 
        (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy) — An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Note: The following fields are mutually exclusive:
governed_iam_policy,governed_resource. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#governed_iam_policy=
def governed_iam_policy=(value) -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy- 
        value (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy) — An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Note: The following fields are mutually exclusive:
governed_iam_policy,governed_resource. If a field in that set is populated, all other fields in the set will automatically be cleared. 
- 
        (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy) — An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Note: The following fields are mutually exclusive:
governed_iam_policy,governed_resource. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#governed_resource
def governed_resource() -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource- 
        (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource) — A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Note: The following fields are mutually exclusive:
governed_resource,governed_iam_policy. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#governed_resource=
def governed_resource=(value) -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource- 
        value (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource) — A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Note: The following fields are mutually exclusive:
governed_resource,governed_iam_policy. If a field in that set is populated, all other fields in the set will automatically be cleared. 
- 
        (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource) — A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Note: The following fields are mutually exclusive:
governed_resource,governed_iam_policy. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#policy_bundle
def policy_bundle() -> ::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>- 
        (::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>) — The ordered list of all organization policies from the
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.
 
#policy_bundle=
def policy_bundle=(value) -> ::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>- 
        value (::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>) — The ordered list of all organization policies from the
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.
 
- 
        (::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>) — The ordered list of all organization policies from the
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.