Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::Resource (v0.34.2)

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

Information related to the Google Cloud resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — The human readable name of the resource.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The human readable name of the resource.
Returns
  • (::String) — The human readable name of the resource.

#folders

def folders() -> ::Array<::Google::Cloud::SecurityCenter::V1::Folder>
Returns
  • (::Array<::Google::Cloud::SecurityCenter::V1::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 project ID that the resource belongs to.

#project_display_name=

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

#type

def type() -> ::String
Returns
  • (::String) — The full resource type of the resource.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — The full resource type of the resource.
Returns
  • (::String) — The full resource type of the resource.