NAME

Google::Cloud::Securitycenter::V1::Asset - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/asset.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V1::Asset;

my $msg = Google::Cloud::Securitycenter::V1::Asset::Asset->new({
    name => $name,
    security_center_properties => $security_center_properties,
    resource_properties => $resource_properties,
    security_marks => $security_marks,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V1::Asset::Asset->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/asset.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Securitycenter::V1::Asset::Asset

Security Command Center representation of a Google Cloud resource.

The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".

  • $msg->security_center_properties() / $msg->security_center_properties($value)

    Type: Message (Google::Cloud::Securitycenter::V1::Asset::Asset::SecurityCenterProperties)

    Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

  • $msg->resource_properties() / $msg->resource_properties($value)

    Type: Message (Google::Cloud::Securitycenter::V1::Asset::Asset::ResourcePropertiesEntry)

    Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

  • $msg->security_marks() / $msg->security_marks($value)

    Type: Message (Google::Cloud::Securitycenter::V1::SecurityMarks::SecurityMarks)

    User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time at which the asset was created in Security Command Center.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time at which the asset was last updated or added in Cloud SCC.

  • $msg->iam_policy() / $msg->iam_policy($value)

    Type: Message (Google::Cloud::Securitycenter::V1::Asset::Asset::IamPolicy)

    Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.

  • $msg->canonical_name() / $msg->canonical_name($value)

    Type: String

    The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::Asset::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.