Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse::OrgPolicyResult.
The organization policy result to the query.
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 organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPoliciesResponse.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 organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPoliciesResponse.policy_bundle][]. The evaluation will respect the organization policy hierarchy rules.
- (::Google::Cloud::Asset::V1::AnalyzerOrgPolicy) — The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPoliciesResponse.policy_bundle][]. The evaluation will respect the organization policy hierarchy rules.
#folders
def folders() -> ::Array<::String>
- (::Array<::String>) — The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.
#folders=
def folders=(value) -> ::Array<::String>
- value (::Array<::String>) — The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.
- (::Array<::String>) — The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.
#organization
def organization() -> ::String
- (::String) — The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.
#organization=
def organization=(value) -> ::String
- value (::String) — The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.
- (::String) — The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.
#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
[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>
-
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.
-
(::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.
#project
def project() -> ::String
- (::String) — The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.
#project=
def project=(value) -> ::String
- value (::String) — The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.
- (::String) — The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.