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

Returns The definition of the constraint in the request.

Returns:



2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2219

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

Returns The page token to fetch the next page for AnalyzeOrgPoliciesResponse.org_policy_results.

Returns:



2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2219

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>

Returns The organization policies under the AnalyzeOrgPoliciesRequest.scope with the AnalyzeOrgPoliciesRequest.constraint.



2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2219

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