NAME

Google::Cloud::Securitycenter::V2::Disk - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/disk.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V2::Disk;

my $msg = Google::Cloud::Securitycenter::V2::Disk::Disk->new({
    name => $name,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/disk.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::V2::Disk::Disk

Contains information about the disk associated with the finding.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::Disk::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.