Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset
- 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
Represents a Google Cloud asset(resource or IAM policy) governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.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.
-
#governed_iam_policy ⇒ Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy
The IAM policies governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
-
#governed_resource ⇒ Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
The Google Cloud resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
-
#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) ⇒ GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset
constructor
A new instance of GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset
Returns a new instance of GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset.
1477 1478 1479 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1477 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
1455 1456 1457 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1455 def consolidated_policy @consolidated_policy end |
#governed_iam_policy ⇒ Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy
The IAM policies governed by the organization policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Corresponds to the JSON property governedIamPolicy
1461 1462 1463 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1461 def governed_iam_policy @governed_iam_policy end |
#governed_resource ⇒ Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
The Google Cloud resources governed by the organization policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Corresponds to the JSON property governedResource
1467 1468 1469 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1467 def governed_resource @governed_resource 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
1475 1476 1477 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1475 def policy_bundle @policy_bundle end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1482 1483 1484 1485 1486 1487 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1482 def update!(**args) @consolidated_policy = args[:consolidated_policy] if args.key?(:consolidated_policy) @governed_iam_policy = args[:governed_iam_policy] if args.key?(:governed_iam_policy) @governed_resource = args[:governed_resource] if args.key?(:governed_resource) @policy_bundle = args[:policy_bundle] if args.key?(:policy_bundle) end |