Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1GovernedContainer
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleCloudAssetV1GovernedContainer
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
The organization/folder/project resource governed by organization policies of AnalyzeOrgPolicyGovernedContainersRequest.constraint.
Instance Attribute Summary collapse
-
#consolidated_policy ⇒ Google::Apis::CloudassetV1::AnalyzerOrgPolicy
This organization policy message is a modified version of the one defined in the Organization Policy system.
-
#full_resource_name ⇒ String
The full resource name of an organization/folder/project resource.
-
#parent ⇒ String
The full resource name of the parent of AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.
-
#policy_bundle ⇒ Array<Google::Apis::CloudassetV1::AnalyzerOrgPolicy>
The ordered list of all organization policies from the AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1GovernedContainer
constructor
A new instance of GoogleCloudAssetV1GovernedContainer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1GovernedContainer
Returns a new instance of GoogleCloudAssetV1GovernedContainer.
1846 1847 1848 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1846 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consolidated_policy ⇒ Google::Apis::CloudassetV1::AnalyzerOrgPolicy
This organization policy message is a modified version of the one defined in
the Organization Policy system. This message contains several fields defined
in the original organization policy with some new fields for analysis purpose.
Corresponds to the JSON property consolidatedPolicy
1822 1823 1824 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1822 def consolidated_policy @consolidated_policy end |
#full_resource_name ⇒ String
The full resource name of an organization/folder/project resource.
Corresponds to the JSON property fullResourceName
1828 1829 1830 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1828 def full_resource_name @full_resource_name end |
#parent ⇒ String
The full resource name of the parent of
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.
full_resource_name.
Corresponds to the JSON property parent
1836 1837 1838 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1836 def parent @parent end |
#policy_bundle ⇒ Array<Google::Apis::CloudassetV1::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.
Corresponds to the JSON property policyBundle
1844 1845 1846 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1844 def policy_bundle @policy_bundle end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1851 1852 1853 1854 1855 1856 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1851 def update!(**args) @consolidated_policy = args[:consolidated_policy] if args.key?(:consolidated_policy) @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) @parent = args[:parent] if args.key?(:parent) @policy_bundle = args[:policy_bundle] if args.key?(:policy_bundle) end |