NAME
Google::Cloud::Securitycenter::V2::Job - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/job.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V2::Job;
my $msg = Google::Cloud::Securitycenter::V2::Job::Job->new({
name => $name,
state => $state,
error_code => $error_code,
location => $location,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V2::Job::Job->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/job.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::Job::Job
Describes a job
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe fully-qualified name for a job. e.g. `projects/<project_id>/jobs/<job_id>`
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Securitycenter::V2::JobState)Output only. State of the job, such as `RUNNING` or `PENDING`.
$msg->error_code()/$msg->error_code($value)Type:
Int32Optional. If the job did not complete successfully, this field describes why.
$msg->location()/$msg->location($value)Type:
StringOptional. Gives the location where the job ran, such as `US` or `europe-west1`
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::Job::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.