Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource.
The Google Cloud resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asset_type
def asset_type() -> ::String
Returns
-
(::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.
#asset_type=
def asset_type=(value) -> ::String
Parameter
-
value (::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.
Returns
-
(::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.
#effective_tags
def effective_tags() -> ::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>
Returns
- (::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>) — The effective tags on this resource.
#effective_tags=
def effective_tags=(value) -> ::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>
Parameter
- value (::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>) — The effective tags on this resource.
Returns
- (::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>) — The effective tags on this resource.
#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
- (::String) — The full resource name of the Google Cloud resource.
#full_resource_name=
def full_resource_name=(value) -> ::String
Parameter
- value (::String) — The full resource name of the Google Cloud resource.
Returns
- (::String) — The full resource name of the Google Cloud resource.
#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
Returns
- (::String) — The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
Returns
- (::String) — The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
#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.