Class: Google::Cloud::SecurityCenter::V1p1beta1::Resource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb

Overview

Information related to the Google Cloud resource.

Instance Attribute Summary collapse

Instance Attribute Details

#folders::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::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::V1p1Beta1::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.



46
47
48
49
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb', line 46

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.

Returns:



46
47
48
49
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb', line 46

class Resource
  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.



46
47
48
49
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb', line 46

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.

Returns:

  • (::String)

    The human readable name of resource's parent.



46
47
48
49
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb', line 46

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.

Returns:

  • (::String)

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



46
47
48
49
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb', line 46

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

#project_display_name::String

Returns The human readable name of project that the resource belongs to.

Returns:

  • (::String)

    The human readable name of project that the resource belongs to.



46
47
48
49
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb', line 46

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