Cloud Asset V1 API - Class Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedAsset (v1.0.2)

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
Returns

#consolidated_policy=

def consolidated_policy=(value) -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicy
Parameter
Returns

#governed_iam_policy

def governed_iam_policy() -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy

#governed_iam_policy=

def governed_iam_policy=(value) -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy

#governed_resource

def governed_resource() -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource

#governed_resource=

def governed_resource=(value) -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource
Parameter

#policy_bundle

def policy_bundle() -> ::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>
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.

#policy_bundle=

def policy_bundle=(value) -> ::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>
Parameter
  • value (::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.

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.