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:



2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2365

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
  #     {::Google::Cloud::Asset::V1::AnalyzerOrgPolicy#attached_resource 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:



2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2365

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
  #     {::Google::Cloud::Asset::V1::AnalyzerOrgPolicy#attached_resource 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:



2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2365

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
  #     {::Google::Cloud::Asset::V1::AnalyzerOrgPolicy#attached_resource 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