Cloud Security Command Center V1p1beta1 API - Class Google::Cloud::SecurityCenter::V1p1beta1::Resource (v0.9.0)

Reference documentation and code samples for the Cloud Security Command Center V1p1beta1 API class Google::Cloud::SecurityCenter::V1p1beta1::Resource.

Information related to the Google Cloud resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#folders

def folders() -> ::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>
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.

#name

def name() -> ::String
Returns
  • (::String) — The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
Returns
  • (::String) — The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

#parent

def parent() -> ::String
Returns
  • (::String) — The full resource name of resource's parent.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — The full resource name of resource's parent.
Returns
  • (::String) — The full resource name of resource's parent.

#parent_display_name

def parent_display_name() -> ::String
Returns
  • (::String) — The human readable name of resource's parent.

#parent_display_name=

def parent_display_name=(value) -> ::String
Parameter
  • value (::String) — The human readable name of resource's parent.
Returns
  • (::String) — The human readable name of resource's parent.

#project

def project() -> ::String
Returns
  • (::String) — The full resource name of project that the resource belongs to.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — The full resource name of project that the resource belongs to.
Returns
  • (::String) — The full resource name of project that the resource belongs to.

#project_display_name

def project_display_name() -> ::String
Returns
  • (::String) — The human readable name of project that the resource belongs to.

#project_display_name=

def project_display_name=(value) -> ::String
Parameter
  • value (::String) — The human readable name of project that the resource belongs to.
Returns
  • (::String) — The human readable name of project that the resource belongs to.