Cloud Asset V1 API - Class Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer (v1.1.0)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse::GovernedContainer.

The organization/folder/project resource governed by organization policies of AnalyzeOrgPolicyGovernedContainersRequest.constraint.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#consolidated_policy

def consolidated_policy() -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicy
Returns

#consolidated_policy=

def consolidated_policy=(value) -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicy
Parameter
Returns

#effective_tags

def effective_tags() -> ::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>
Returns

#effective_tags=

def effective_tags=(value) -> ::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>
Parameter
Returns

#folders

def folders() -> ::Array<::String>
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.

#folders=

def folders=(value) -> ::Array<::String>
Parameter
  • value (::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.
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.

#full_resource_name

def full_resource_name() -> ::String
Returns

#full_resource_name=

def full_resource_name=(value) -> ::String
Parameter
Returns

#organization

def organization() -> ::String
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.

#organization=

def organization=(value) -> ::String
Parameter
  • value (::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.
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.

#parent

def parent() -> ::String

#parent=

def parent=(value) -> ::String

#policy_bundle

def policy_bundle() -> ::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>
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.

#policy_bundle=

def policy_bundle=(value) -> ::Array<::Google::Cloud::Asset::V1::AnalyzerOrgPolicy>
Parameter
  • value (::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.

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.

#project

def project() -> ::String
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.

#project=

def project=(value) -> ::String
Parameter
  • value (::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.
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.