NAME
Google::Cloud::Securitycenter::V1::SecurityCenterClient - Client library for Google Cloud Services
SYNOPSIS
use Google::Cloud::Securitycenter::V1::SecurityCenterClient;
use Google::Auth;
my $auth = Google::Auth->default();
# 1. High-performance gRPC Transport (Default)
my $grpc_client = Google::Cloud::Securitycenter::V1::SecurityCenterClient->new(
credentials => $auth,
transport => 'grpc', # Optional: 'grpc' is default
);
# 2. HTTP/REST Transport
my $rest_client = Google::Cloud::Securitycenter::V1::SecurityCenterClient->new(
credentials => $auth,
transport => 'rest',
);
# Execute service methods
my $res = $grpc_client->some_method( %params );
DESCRIPTION
Google::Cloud::Securitycenter::V1::SecurityCenterClient is an auto-generated client library for Google Cloud Services.
It provides a unified client interface supporting both high-performance HTTP/2 gRPC and HTTP/REST transports, with automatic Google Cloud Application Default Credentials (ADC) resolution and typed Protocol Buffers message handling.
SOURCE
Generated from the following Protocol Buffers schemas:
googleapis/google/cloud/securitycenter/v1/access.protogoogleapis/google/cloud/securitycenter/v1/agent.protogoogleapis/google/cloud/securitycenter/v1/agent_anomaly.protogoogleapis/google/cloud/securitycenter/v1/agent_session.protogoogleapis/google/cloud/securitycenter/v1/application.protogoogleapis/google/cloud/securitycenter/v1/asset.protogoogleapis/google/cloud/securitycenter/v1/attack_exposure.protogoogleapis/google/cloud/securitycenter/v1/attack_path.protogoogleapis/google/cloud/securitycenter/v1/backup_disaster_recovery.protogoogleapis/google/cloud/securitycenter/v1/bigquery_export.protogoogleapis/google/cloud/securitycenter/v1/chokepoint.protogoogleapis/google/cloud/securitycenter/v1/cloud_armor.protogoogleapis/google/cloud/securitycenter/v1/cloud_dlp_data_profile.protogoogleapis/google/cloud/securitycenter/v1/cloud_dlp_inspection.protogoogleapis/google/cloud/securitycenter/v1/compliance.protogoogleapis/google/cloud/securitycenter/v1/connection.protogoogleapis/google/cloud/securitycenter/v1/contact_details.protogoogleapis/google/cloud/securitycenter/v1/container.protogoogleapis/google/cloud/securitycenter/v1/database.protogoogleapis/google/cloud/securitycenter/v1/effective_event_threat_detection_custom_module.protogoogleapis/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.protogoogleapis/google/cloud/securitycenter/v1/event_threat_detection_custom_module.protogoogleapis/google/cloud/securitycenter/v1/event_threat_detection_custom_module_validation_errors.protogoogleapis/google/cloud/securitycenter/v1/exfiltration.protogoogleapis/google/cloud/securitycenter/v1/external_exposure.protogoogleapis/google/cloud/securitycenter/v1/external_system.protogoogleapis/google/cloud/securitycenter/v1/file.protogoogleapis/google/cloud/securitycenter/v1/finding.protogoogleapis/google/cloud/securitycenter/v1/folder.protogoogleapis/google/cloud/securitycenter/v1/group_membership.protogoogleapis/google/cloud/securitycenter/v1/iam_binding.protogoogleapis/google/cloud/securitycenter/v1/indicator.protogoogleapis/google/cloud/securitycenter/v1/kernel_rootkit.protogoogleapis/google/cloud/securitycenter/v1/kubernetes.protogoogleapis/google/cloud/securitycenter/v1/label.protogoogleapis/google/cloud/securitycenter/v1/load_balancer.protogoogleapis/google/cloud/securitycenter/v1/log_entry.protogoogleapis/google/cloud/securitycenter/v1/mitre_attack.protogoogleapis/google/cloud/securitycenter/v1/mute_config.protogoogleapis/google/cloud/securitycenter/v1/notebook.protogoogleapis/google/cloud/securitycenter/v1/notification_config.protogoogleapis/google/cloud/securitycenter/v1/notification_message.protogoogleapis/google/cloud/securitycenter/v1/org_policy.protogoogleapis/google/cloud/securitycenter/v1/organization_settings.protogoogleapis/google/cloud/securitycenter/v1/process.protogoogleapis/google/cloud/securitycenter/v1/resource.protogoogleapis/google/cloud/securitycenter/v1/resource_value_config.protogoogleapis/google/cloud/securitycenter/v1/run_asset_discovery_response.protogoogleapis/google/cloud/securitycenter/v1/security_health_analytics_custom_config.protogoogleapis/google/cloud/securitycenter/v1/security_health_analytics_custom_module.protogoogleapis/google/cloud/securitycenter/v1/security_marks.protogoogleapis/google/cloud/securitycenter/v1/security_posture.protogoogleapis/google/cloud/securitycenter/v1/securitycenter_service.protogoogleapis/google/cloud/securitycenter/v1/simulation.protogoogleapis/google/cloud/securitycenter/v1/source.protogoogleapis/google/cloud/securitycenter/v1/toxic_combination.protogoogleapis/google/cloud/securitycenter/v1/valued_resource.protogoogleapis/google/cloud/securitycenter/v1/vulnerability.proto
CONSTRUCTOR
new
my $client = Google::Cloud::Securitycenter::V1::SecurityCenterClient->new(
credentials => $auth, # Optional: Google::Auth object (defaults to ADC)
transport => 'grpc', # Optional: 'grpc' (default) or 'rest'
);
ATTRIBUTES
credentials
Returns or accepts the Google::Auth credentials object.
transport
Returns or accepts the active transport object (Google::gRPC::Client or Google::Cloud::REST::Client).
METHODS
METHODS
The following RPC methods are available in this client:
bulk_mute_findings
my $response = $client->bulk_mute_findings( parent => $parent, filter => $filter, mute_annotation => $mute_annotation, mute_state => $mute_state, );Calls the RPC method
BulkMuteFindingsongoogle.cloud.securitycenter.v1.SecurityCenter.Request: Google::Cloud::Securitycenter::V1::SecuritycenterService::BulkMuteFindingsRequest
Returns: Google::Longrunning::Operations::Operation
Parameters:
parent-stringfilter-stringmute_annotation-stringmute_state- Google::Cloud::Securitycenter::V1::SecuritycenterService::MuteState
create_source
my $response = $client->create_source( parent => $parent, source => $source, );Calls the RPC method
CreateSourceongoogle.cloud.securitycenter.v1.SecurityCenter.Request: Google::Cloud::Securitycenter::V1::SecuritycenterService::CreateSourceRequest
Returns: Google::Cloud::Securitycenter::V1::Source::Source
Parameters:
parent-string
get_effective_security_health_analytics_custom_module
my $response = $client->get_effective_security_health_analytics_custom_module( name => $name, );Calls the RPC method
GetEffectiveSecurityHealthAnalyticsCustomModuleongoogle.cloud.securitycenter.v1.SecurityCenter.Parameters:
name-string
list_findings
my $response = $client->list_findings( parent => $parent, filter => $filter, order_by => $order_by, read_time => $read_time, compare_duration => $compare_duration, field_mask => $field_mask, page_token => $page_token, page_size => $page_size, );Calls the RPC method
ListFindingsongoogle.cloud.securitycenter.v1.SecurityCenter.Request: Google::Cloud::Securitycenter::V1::SecuritycenterService::ListFindingsRequest
Returns: Google::Cloud::Securitycenter::V1::SecuritycenterService::ListFindingsResponse
Parameters:
parent-stringfilter-stringorder_by-stringread_time- Google::Protobuf::Timestamp::Timestampcompare_duration- Google::Protobuf::Duration::Durationfield_mask- Google::Protobuf::FieldMask::FieldMaskpage_token-stringpage_size-int32
list_security_health_analytics_custom_modules
my $response = $client->list_security_health_analytics_custom_modules( parent => $parent, page_size => $page_size, page_token => $page_token, );Calls the RPC method
ListSecurityHealthAnalyticsCustomModulesongoogle.cloud.securitycenter.v1.SecurityCenter.Parameters:
parent-stringpage_size-int32page_token-string
update_external_system
my $response = $client->update_external_system( external_system => $external_system, update_mask => $update_mask, );Calls the RPC method
UpdateExternalSystemongoogle.cloud.securitycenter.v1.SecurityCenter.Request: Google::Cloud::Securitycenter::V1::SecuritycenterService::UpdateExternalSystemRequest
Returns: Google::Cloud::Securitycenter::V1::ExternalSystem::ExternalSystem
Parameters:
external_system- Google::Cloud::Securitycenter::V1::ExternalSystem::ExternalSystemupdate_mask- Google::Protobuf::FieldMask::FieldMask
update_security_health_analytics_custom_module
my $response = $client->update_security_health_analytics_custom_module( update_mask => $update_mask, );Calls the RPC method
UpdateSecurityHealthAnalyticsCustomModuleongoogle.cloud.securitycenter.v1.SecurityCenter.Parameters:
update_mask- Google::Protobuf::FieldMask::FieldMask
create_big_query_export
my $response = $client->create_big_query_export( parent => $parent, big_query_export => $big_query_export, big_query_export_id => $big_query_export_id, );Calls the RPC method
CreateBigQueryExportongoogle.cloud.securitycenter.v1.SecurityCenter.Request: Google::Cloud::Securitycenter::V1::SecuritycenterService::CreateBigQueryExportRequest
Returns: Google::Cloud::Securitycenter::V1::BigqueryExport::BigQueryExport
Parameters:
parent-stringbig_query_export- Google::Cloud::Securitycenter::V1::BigqueryExport::BigQueryExportbig_query_export_id-string
delete_event_threat_detection_custom_module
my $response = $client->delete_event_threat_detection_custom_module( name => $name, );Calls the RPC method
DeleteEventThreatDetectionCustomModuleongoogle.cloud.securitycenter.v1.SecurityCenter.Returns: Google::Protobuf::Empty::Empty
Parameters:
name-string
list_event_threat_detection_custom_modules
my $response = $client->list_event_threat_detection_custom_modules( parent => $parent, page_token => $page_token, page_size => $page_size, );Calls the RPC method
ListEventThreatDetectionCustomModulesongoogle.cloud.securitycenter.v1.SecurityCenter.Parameters:
parent-stringpage_token-stringpage_size-int32
get_effective_event_threat_detection_custom_module
my $response = $client->get_effective_event_threat_detection_custom_module( name => $name, );Calls the RPC method
GetEffectiveEventThreatDetectionCustomModuleongoogle.cloud.securitycenter.v1.SecurityCenter.Parameters:
name-string
batch_create_resource_value_configs
my $response = $client->batch_create_resource_value_configs( parent => $parent, requests => [ ... ], );Calls the RPC method
BatchCreateResourceValueConfigsongoogle.cloud.securitycenter.v1.SecurityCenter.Request: Google::Cloud::Securitycenter::V1::SecuritycenterService::BatchCreateResourceValueConfigsRequest
Returns: Google::Cloud::Securitycenter::V1::SecuritycenterService::BatchCreateResourceValueConfigsResponse
Parameters:
parent-stringrequests- ArrayRef of Google::Cloud::Securitycenter::V1::SecuritycenterService::CreateResourceValueConfigRequest
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.