Class: Google::Cloud::SecurityCenter::V1::ResourcePath
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::ResourcePath
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/resource.rb
Overview
Represents the path of resources leading up to the resource this finding is about.
Defined Under Namespace
Modules: ResourcePathNodeType Classes: ResourcePathNode
Instance Attribute Summary collapse
-
#nodes ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::ResourcePath::ResourcePathNode>
The list of nodes that make the up resource path, ordered from lowest level to highest level.
Instance Attribute Details
#nodes ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::ResourcePath::ResourcePathNode>
Returns The list of nodes that make the up resource path, ordered from lowest level to highest level.
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 210 class ResourcePath include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A node within the resource path. Each node represents a resource within the # resource hierarchy. # @!attribute [rw] node_type # @return [::Google::Cloud::SecurityCenter::V1::ResourcePath::ResourcePathNodeType] # The type of resource this node represents. # @!attribute [rw] id # @return [::String] # The ID of the resource this node represents. # @!attribute [rw] display_name # @return [::String] # The display name of the resource this node represents. class ResourcePathNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of resource the node represents. module ResourcePathNodeType # Node type is unspecified. RESOURCE_PATH_NODE_TYPE_UNSPECIFIED = 0 # The node represents a Google Cloud organization. GCP_ORGANIZATION = 1 # The node represents a Google Cloud folder. GCP_FOLDER = 2 # The node represents a Google Cloud project. GCP_PROJECT = 3 # The node represents an AWS organization. AWS_ORGANIZATION = 4 # The node represents an AWS organizational unit. AWS_ORGANIZATIONAL_UNIT = 5 # The node represents an AWS account. AWS_ACCOUNT = 6 # The node represents an Azure management group. AZURE_MANAGEMENT_GROUP = 7 # The node represents an Azure subscription. AZURE_SUBSCRIPTION = 8 # The node represents an Azure resource group. AZURE_RESOURCE_GROUP = 9 end end |