Google Cloud Security Command Center V2 Client - Class Disk (2.5.1)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Disk.
Contains information about the disk associated with the finding.
Generated from protobuf messagegoogle.cloud.securitycenter.v2.Disk
Namespace
Google \ Cloud \ SecurityCenter \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
getName
The name of the disk, for example,
"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
Returns
Type
Description
string
setName
The name of the disk, for example,
"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-20 UTC."],[],[]]