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

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/folder/project resource governed by organization policies of AnalyzeOrgPolicyGovernedContainersRequest.constraint.

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 AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

Returns:



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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

#effective_tags::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>

Returns The effective tags on this resource.

Returns:



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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

#folders::Array<::String>

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

Returns:

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



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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

#full_resource_name::String

Returns The full resource name of an organization/folder/project resource.

Returns:



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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

#organization::String

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

Returns:

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



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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

#parent::String



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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

#project::String

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

Returns:

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



2364
2365
2366
2367
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2364

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