Class: Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse

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

Defined Under Namespace

Classes: GovernedContainer

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns The definition of the constraint in the request.

Returns:



2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2310

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

  # The organization/folder/project resource governed by organization policies
  # of
  # {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersRequest#constraint AnalyzeOrgPolicyGovernedContainersRequest.constraint}.
  # @!attribute [rw] full_resource_name
  #   @return [::String]
  #     The [full resource name]
  #     (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
  #     an organization/folder/project resource.
  # @!attribute [rw] parent
  #   @return [::String]
  #     The [full resource name]
  #     (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
  #     the parent of
  #     {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer#full_resource_name AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name}.
  # @!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
  #     {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer#policy_bundle AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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 resource belongs to, in the format of
  #     projects/\\{PROJECT_NUMBER}. This field is available when the resource
  #     belongs to a project.
  # @!attribute [rw] folders
  #   @return [::Array<::String>]
  #     The folder(s) that this resource belongs to, in the format of
  #     folders/\\{FOLDER_NUMBER}. This field is available when the resource
  #     belongs (directly or cascadingly) to one or more folders.
  # @!attribute [rw] organization
  #   @return [::String]
  #     The organization that this resource belongs to, in the format of
  #     organizations/\\{ORGANIZATION_NUMBER}. This field is available when the
  #     resource belongs (directly or cascadingly) to an organization.
  # @!attribute [rw] effective_tags
  #   @return [::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>]
  #     The effective tags on this resource.
  class GovernedContainer
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#governed_containers::Array<::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer>

Returns The list of the analyzed governed containers.

Returns:



2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2310

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

  # The organization/folder/project resource governed by organization policies
  # of
  # {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersRequest#constraint AnalyzeOrgPolicyGovernedContainersRequest.constraint}.
  # @!attribute [rw] full_resource_name
  #   @return [::String]
  #     The [full resource name]
  #     (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
  #     an organization/folder/project resource.
  # @!attribute [rw] parent
  #   @return [::String]
  #     The [full resource name]
  #     (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
  #     the parent of
  #     {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer#full_resource_name AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name}.
  # @!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
  #     {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer#policy_bundle AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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 resource belongs to, in the format of
  #     projects/\\{PROJECT_NUMBER}. This field is available when the resource
  #     belongs to a project.
  # @!attribute [rw] folders
  #   @return [::Array<::String>]
  #     The folder(s) that this resource belongs to, in the format of
  #     folders/\\{FOLDER_NUMBER}. This field is available when the resource
  #     belongs (directly or cascadingly) to one or more folders.
  # @!attribute [rw] organization
  #   @return [::String]
  #     The organization that this resource belongs to, in the format of
  #     organizations/\\{ORGANIZATION_NUMBER}. This field is available when the
  #     resource belongs (directly or cascadingly) to an organization.
  # @!attribute [rw] effective_tags
  #   @return [::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>]
  #     The effective tags on this resource.
  class GovernedContainer
    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 AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

Returns:



2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2310

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

  # The organization/folder/project resource governed by organization policies
  # of
  # {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersRequest#constraint AnalyzeOrgPolicyGovernedContainersRequest.constraint}.
  # @!attribute [rw] full_resource_name
  #   @return [::String]
  #     The [full resource name]
  #     (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
  #     an organization/folder/project resource.
  # @!attribute [rw] parent
  #   @return [::String]
  #     The [full resource name]
  #     (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
  #     the parent of
  #     {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer#full_resource_name AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name}.
  # @!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
  #     {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer#policy_bundle AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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 resource belongs to, in the format of
  #     projects/\\{PROJECT_NUMBER}. This field is available when the resource
  #     belongs to a project.
  # @!attribute [rw] folders
  #   @return [::Array<::String>]
  #     The folder(s) that this resource belongs to, in the format of
  #     folders/\\{FOLDER_NUMBER}. This field is available when the resource
  #     belongs (directly or cascadingly) to one or more folders.
  # @!attribute [rw] organization
  #   @return [::String]
  #     The organization that this resource belongs to, in the format of
  #     organizations/\\{ORGANIZATION_NUMBER}. This field is available when the
  #     resource belongs (directly or cascadingly) to an organization.
  # @!attribute [rw] effective_tags
  #   @return [::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>]
  #     The effective tags on this resource.
  class GovernedContainer
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end