Class: Google::Cloud::SecurityCenter::V1::Resource
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::Resource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/resource.rb
Overview
Information related to the Google Cloud resource.
Instance Attribute Summary collapse
-
#display_name ⇒ ::String
The human readable name of the resource.
-
#folders ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::Folder>
readonly
Output only.
-
#name ⇒ ::String
The full resource name of the resource.
-
#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.
-
#type ⇒ ::String
The full resource type of the resource.
Instance Attribute Details
#display_name ⇒ ::String
Returns The human readable name of the resource.
52 53 54 55 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 52 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#folders ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::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.
52 53 54 55 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 52 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name.
52 53 54 55 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 52 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns The full resource name of resource's parent.
52 53 54 55 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 52 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent_display_name ⇒ ::String
Returns The human readable name of resource's parent.
52 53 54 55 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 52 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project ⇒ ::String
Returns The full resource name of project that the resource belongs to.
52 53 54 55 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 52 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |