Class: Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse::OrgPolicyResult

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

The organization policy result to the query.

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns 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.

Returns:

  • (::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.



2254
2255
2256
2257
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2254

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

#folders::Array<::String>

Returns 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.

Returns:

  • (::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.



2254
2255
2256
2257
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2254

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

#organization::String

Returns 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.

Returns:

  • (::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.



2254
2255
2256
2257
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2254

class OrgPolicyResult
  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.



2254
2255
2256
2257
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2254

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

#project::String

Returns 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.

Returns:

  • (::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.



2254
2255
2256
2257
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2254

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