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

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 response message for AssetService.AnalyzeOrgPolicies.

Defined Under Namespace

Classes: OrgPolicyResult

Instance Attribute Summary collapse

Instance Attribute Details

#constraint::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint



2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2265

class AnalyzeOrgPoliciesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The organization policy result to the query.
  # @!attribute [rw] consolidated_policy
  #   @return [::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](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
  # @!attribute [rw] policy_bundle
  #   @return [::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.
  # @!attribute [rw] project
  #   @return [::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.
  # @!attribute [rw] folders
  #   @return [::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.
  # @!attribute [rw] organization
  #   @return [::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.
  class OrgPolicyResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#next_page_token::String



2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2265

class AnalyzeOrgPoliciesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The organization policy result to the query.
  # @!attribute [rw] consolidated_policy
  #   @return [::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](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
  # @!attribute [rw] policy_bundle
  #   @return [::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.
  # @!attribute [rw] project
  #   @return [::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.
  # @!attribute [rw] folders
  #   @return [::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.
  # @!attribute [rw] organization
  #   @return [::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.
  class OrgPolicyResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#org_policy_results::Array<::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse::OrgPolicyResult>



2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2265

class AnalyzeOrgPoliciesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The organization policy result to the query.
  # @!attribute [rw] consolidated_policy
  #   @return [::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](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
  # @!attribute [rw] policy_bundle
  #   @return [::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.
  # @!attribute [rw] project
  #   @return [::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.
  # @!attribute [rw] folders
  #   @return [::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.
  # @!attribute [rw] organization
  #   @return [::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.
  class OrgPolicyResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end