Class: Google::Cloud::SecurityCenter::V2::GcpMetadata

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Array<::Google::Cloud::SecurityCenter::V2::Folder>)

    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 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#organization::String

Returns The name of the organization that the resource belongs to.

Returns:

  • (::String)

    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 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns The full resource name of resource's parent.

Returns:

  • (::String)

    The full resource name of resource's parent.



101
102
103
104
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101

class 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent_display_name::String

Returns The human readable name of resource's parent.

Returns:

  • (::String)

    The human readable name of resource's parent.



101
102
103
104
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101

class 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project::String

Returns The full resource name of project that the resource belongs to.

Returns:

  • (::String)

    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 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_display_name::String

Returns The project ID that the resource belongs to.

Returns:

  • (::String)

    The project ID that the resource belongs to.



101
102
103
104
# File 'proto_docs/google/cloud/securitycenter/v2/resource.rb', line 101

class 
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end