Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::GcpMetadata (v0.3.0)

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

GCP metadata associated with the resource, only applicable if the finding's cloud provider is Google Cloud Platform.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#folders

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

#organization

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

#organization=

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

#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.