View Source GoogleApi.SecurityCenter.V1.Model.Resource (google_api_security_center v0.29.0)

Information related to the Google Cloud resource that is associated with this finding.

Attributes

  • displayName (type: String.t, default: nil) - The human readable name of the resource.
  • folders (type: list(GoogleApi.SecurityCenter.V1.Model.Folder.t), default: nil) - 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 (type: String.t, default: nil) - The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
  • parentDisplayName (type: String.t, default: nil) - The human readable name of resource's parent.
  • parentName (type: String.t, default: nil) - The full resource name of resource's parent.
  • projectDisplayName (type: String.t, default: nil) - The project ID that the resource belongs to.
  • projectName (type: String.t, default: nil) - The full resource name of project that the resource belongs to.
  • type (type: String.t, default: nil) - The full resource type of the resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.Resource{
  displayName: String.t() | nil,
  folders: [GoogleApi.SecurityCenter.V1.Model.Folder.t()] | nil,
  name: String.t() | nil,
  parentDisplayName: String.t() | nil,
  parentName: String.t() | nil,
  projectDisplayName: String.t() | nil,
  projectName: String.t() | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.