Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
- 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 Google Cloud resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Instance Attribute Summary collapse
-
#asset_type ⇒ String
The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.
-
#effective_tags ⇒ Array<Google::Apis::CloudassetV1::EffectiveTagDetails>
The effective tags on this resource.
-
#folders ⇒ Array<String>
The folder(s) that this resource belongs to, in the format of folders/
FOLDER_NUMBER
. -
#full_resource_name ⇒ String
The full resource name of the Google Cloud resource.
-
#organization ⇒ String
The organization that this resource belongs to, in the format of organizations/
ORGANIZATION_NUMBER
. -
#parent ⇒ String
The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.
-
#project ⇒ String
The project that this resource belongs to, in the format of projects/
PROJECT_NUMBER
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
constructor
A new instance of GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
Returns a new instance of GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource.
1612 1613 1614 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_type ⇒ String
The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.
full_resource_name Example: cloudresourcemanager.googleapis.com/Project
See
Cloud Asset Inventory Supported Asset Types for all supported asset types.
Corresponds to the JSON property assetType
1571 1572 1573 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1571 def asset_type @asset_type end |
#effective_tags ⇒ Array<Google::Apis::CloudassetV1::EffectiveTagDetails>
The effective tags on this resource.
Corresponds to the JSON property effectiveTags
1576 1577 1578 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1576 def @effective_tags end |
#folders ⇒ 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.
Corresponds to the JSON property folders
1583 1584 1585 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1583 def folders @folders end |
#full_resource_name ⇒ String
The full resource name of the Google Cloud resource.
Corresponds to the JSON property fullResourceName
1589 1590 1591 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1589 def full_resource_name @full_resource_name end |
#organization ⇒ 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.
Corresponds to the JSON property organization
1596 1597 1598 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1596 def organization @organization end |
#parent ⇒ String
The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.
GovernedResource.full_resource_name.
Corresponds to the JSON property parent
1603 1604 1605 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1603 def parent @parent end |
#project ⇒ 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.
Corresponds to the JSON property project
1610 1611 1612 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1610 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1617 1618 1619 1620 1621 1622 1623 1624 1625 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1617 def update!(**args) @asset_type = args[:asset_type] if args.key?(:asset_type) @effective_tags = args[:effective_tags] if args.key?(:effective_tags) @folders = args[:folders] if args.key?(:folders) @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) @organization = args[:organization] if args.key?(:organization) @parent = args[:parent] if args.key?(:parent) @project = args[:project] if args.key?(:project) end |