Class: Google::Cloud::SecurityCenter::V2::GcpMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V2::GcpMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v2/resource.rb
Overview
GCP metadata associated with the resource, only applicable if the finding's cloud provider is Google Cloud Platform.
Instance Attribute Summary collapse
-
#folders ⇒ ::Array<::Google::Cloud::SecurityCenter::V2::Folder>
readonly
Output only.
-
#organization ⇒ ::String
The name of the organization that the resource belongs to.
-
#parent ⇒ ::String
The full resource name of resource's parent.
-
#parent_display_name ⇒ ::String
The human readable name of resource's parent.
-
#project ⇒ ::String
The full resource name of project that the resource belongs to.
-
#project_display_name ⇒ ::String
The project ID that the resource belongs to.
Instance Attribute Details
#folders ⇒ ::Array<::Google::Cloud::SecurityCenter::V2::Folder> (readonly)
Returns Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
101 102 103 104 |
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101 class GcpMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#organization ⇒ ::String
Returns The name of the organization that the resource belongs to.
101 102 103 104 |
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101 class GcpMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns The full resource name of resource's parent.
101 102 103 104 |
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101 class GcpMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent_display_name ⇒ ::String
Returns The human readable name of resource's parent.
101 102 103 104 |
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101 class GcpMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project ⇒ ::String
Returns The full resource name of project that the resource belongs to.
101 102 103 104 |
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101 class GcpMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_display_name ⇒ ::String
Returns The project ID that the resource belongs to.
101 102 103 104 |
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101 class GcpMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |