view release on metacpan or search on metacpan
lib/Google/Cloud/Networksecurity/V1/AddressGroup.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/AddressGroup.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/DnsThreatDetector.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: update_time Type: 11 (.google.protobuf.Timestamp)
# Field: labels Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpoint.LabelsEntry)
# Field: state Type: 14 (.google.cloud.networksecurity.v1.FirewallEndpoint.State)
# Field: reconciling Type: 8 ()
# Field: associated_networks Type: 9 ()
# Field: associations Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference)
# Field: satisfies_pzs Type: 8 ()
# Field: satisfies_pzi Type: 8 ()
# Field: billing_project_id Type: 9 ()
# Field: endpoint_settings Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings)
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpoint - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
Type: Bool
=item * B<satisfies_pzi>
Type: Bool
=item * B<billing_project_id>
Type: String
=item * B<endpoint_settings>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings)
=back
=cut
# Enum: FirewallEndpoint::State
our $FirewallEndpoint_STATE_UNSPECIFIED = 0;
our $FirewallEndpoint_CREATING = 1;
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
=item * B<order_by>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse ===
# Fields for ListFirewallEndpointsResponse
# Field: firewall_endpoints Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpoint)
# Field: next_page_token Type: 9 ()
# Field: unreachable Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse->new(
firewall_endpoints => $value,
);
=head1 FIELDS
=over 4
=item * B<firewall_endpoints>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpoint)
=item * B<next_page_token>
Type: String
=item * B<unreachable>
Type: String
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointRequest ===
# Fields for CreateFirewallEndpointRequest
# Field: parent Type: 9 ()
# Field: firewall_endpoint_id Type: 9 ()
# Field: firewall_endpoint Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpoint)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<firewall_endpoint_id>
Type: String
=item * B<firewall_endpoint>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpoint)
=item * B<request_id>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointRequest ===
# Fields for UpdateFirewallEndpointRequest
# Field: update_mask Type: 11 (.google.protobuf.FieldMask)
# Field: firewall_endpoint Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpoint)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<update_mask>
Type: Message (.google.protobuf.FieldMask)
=item * B<firewall_endpoint>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpoint)
=item * B<request_id>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpointAssociation ===
# Fields for FirewallEndpointAssociation
# Field: name Type: 9 ()
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: update_time Type: 11 (.google.protobuf.Timestamp)
# Field: labels Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpointAssociation.LabelsEntry)
# Field: state Type: 14 (.google.cloud.networksecurity.v1.FirewallEndpointAssociation.State)
# Field: network Type: 9 ()
# Field: firewall_endpoint Type: 9 ()
# Field: tls_inspection_policy Type: 9 ()
# Field: reconciling Type: 8 ()
# Field: disabled Type: 8 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpointAssociation - Compiled Protocol Buffers message class
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpointAssociation.LabelsEntry)
=item * B<state>
Type: Enum (.google.cloud.networksecurity.v1.FirewallEndpointAssociation.State)
=item * B<network>
Type: String
=item * B<firewall_endpoint>
Type: String
=item * B<tls_inspection_policy>
Type: String
=item * B<reconciling>
Type: Bool
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
=item * B<order_by>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsResponse ===
# Fields for ListFirewallEndpointAssociationsResponse
# Field: firewall_endpoint_associations Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpointAssociation)
# Field: next_page_token Type: 9 ()
# Field: unreachable Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsResponse - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsResponse->new(
firewall_endpoint_associations => $value,
);
=head1 FIELDS
=over 4
=item * B<firewall_endpoint_associations>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpointAssociation)
=item * B<next_page_token>
Type: String
=item * B<unreachable>
Type: String
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointAssociationRequest ===
# Fields for CreateFirewallEndpointAssociationRequest
# Field: parent Type: 9 ()
# Field: firewall_endpoint_association_id Type: 9 ()
# Field: firewall_endpoint_association Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpointAssociation)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<firewall_endpoint_association_id>
Type: String
=item * B<firewall_endpoint_association>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpointAssociation)
=item * B<request_id>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointAssociationRequest ===
# Fields for UpdateFirewallEndpointAssociationRequest
# Field: update_mask Type: 11 (.google.protobuf.FieldMask)
# Field: firewall_endpoint_association Type: 11 (.google.cloud.networksecurity.v1.FirewallEndpointAssociation)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<update_mask>
Type: Message (.google.protobuf.FieldMask)
=item * B<firewall_endpoint_association>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpointAssociation)
=item * B<request_id>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
lazy => 1,
builder => sub {
my $self = shift;
return Google::gRPC::Client->new(
target => $self->target,
auth_token => $self->credentials->get_token(),
);
}
);
sub list_firewall_endpoints {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'ListFirewallEndpoints',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse',
});
}
sub list_project_firewall_endpoints {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'ListProjectFirewallEndpoints',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse',
});
}
sub get_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'GetFirewallEndpoint',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpoint',
});
}
sub get_project_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'GetProjectFirewallEndpoint',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpoint',
});
}
sub create_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'CreateFirewallEndpoint',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub create_project_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'CreateProjectFirewallEndpoint',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub delete_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'DeleteFirewallEndpoint',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub delete_project_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'DeleteProjectFirewallEndpoint',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub update_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'UpdateFirewallEndpoint',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub update_project_firewall_endpoint {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'UpdateProjectFirewallEndpoint',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub list_firewall_endpoint_associations {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'ListFirewallEndpointAssociations',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsResponse',
});
}
sub get_firewall_endpoint_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'GetFirewallEndpointAssociation',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpointAssociation',
});
}
sub create_firewall_endpoint_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'CreateFirewallEndpointAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub delete_firewall_endpoint_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'DeleteFirewallEndpointAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub update_firewall_endpoint_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'UpdateFirewallEndpointAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
lib/Google/Cloud/Networksecurity/V1/FirewallActivationClient.pm view on Meta::CPAN
} else {
# Default high-performance HTTP/2 gRPC client
my $client = Google::gRPC::Client->new(
target => $target,
auth_token => $token,
);
$self->transport($client);
}
}
sub list_firewall_endpoints {
my ($self, %params) = @_;
my $request_class = 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsRequest';
my $request = eval { $request_class->new(\%params) } || eval { $request_class->new(%params) } || ($request_class->can('encode') ? $request_class->encode(\%params) : \%params);
my $response_class = 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse';
my $response = $self->transport->call({
service => 'google.cloud.networksecurity.v1.FirewallActivation',
method => 'ListFirewallEndpoints',
request => $request,
lib/Google/Cloud/Networksecurity/V1/FirewallActivationClient.pm view on Meta::CPAN
Returns or accepts the active transport object (L<Google::gRPC::Client> or L<Google::Cloud::REST::Client>).
=head1 METHODS
=head2 METHODS
The following RPC methods are available in this client:
=over 4
=item * B<list_firewall_endpoints>
Calls the RPC method C<ListFirewallEndpoints> on the service. Takes a hash of parameters representing the request.
=back
=head1 LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
=item * B<order_by>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsResponse ===
# Fields for ListInterceptEndpointGroupsResponse
# Field: intercept_endpoint_groups Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroup)
# Field: next_page_token Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsResponse - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::Intercept;
my $msg = Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsResponse->new(
intercept_endpoint_groups => $value,
);
=head1 FIELDS
=over 4
=item * B<intercept_endpoint_groups>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroup)
=item * B<next_page_token>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupRequest ===
# Fields for CreateInterceptEndpointGroupRequest
# Field: parent Type: 9 ()
# Field: intercept_endpoint_group_id Type: 9 ()
# Field: intercept_endpoint_group Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroup)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<intercept_endpoint_group_id>
Type: String
=item * B<intercept_endpoint_group>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroup)
=item * B<request_id>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupRequest ===
# Fields for UpdateInterceptEndpointGroupRequest
# Field: update_mask Type: 11 (.google.protobuf.FieldMask)
# Field: intercept_endpoint_group Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroup)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<update_mask>
Type: Message (.google.protobuf.FieldMask)
=item * B<intercept_endpoint_group>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroup)
=item * B<request_id>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::InterceptEndpointGroupAssociation ===
# Fields for InterceptEndpointGroupAssociation
# Field: name Type: 9 ()
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: update_time Type: 11 (.google.protobuf.Timestamp)
# Field: labels Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.LabelsEntry)
# Field: intercept_endpoint_group Type: 9 ()
# Field: network Type: 9 ()
# Field: locations_details Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.LocationDetails)
# Field: state Type: 14 (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State)
# Field: reconciling Type: 8 ()
# Field: locations Type: 11 (.google.cloud.networksecurity.v1.InterceptLocation)
# Field: network_cookie Type: 13 ()
=pod
=head1 NAME
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
Type: Message (.google.protobuf.Timestamp)
=item * B<update_time>
Type: Message (.google.protobuf.Timestamp)
=item * B<labels>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.LabelsEntry)
=item * B<intercept_endpoint_group>
Type: String
=item * B<network>
Type: String
=item * B<locations_details>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.LocationDetails)
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
=item * B<order_by>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupAssociationsResponse ===
# Fields for ListInterceptEndpointGroupAssociationsResponse
# Field: intercept_endpoint_group_associations Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation)
# Field: next_page_token Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupAssociationsResponse - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::Intercept;
my $msg = Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupAssociationsResponse->new(
intercept_endpoint_group_associations => $value,
);
=head1 FIELDS
=over 4
=item * B<intercept_endpoint_group_associations>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation)
=item * B<next_page_token>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupAssociationRequest ===
# Fields for CreateInterceptEndpointGroupAssociationRequest
# Field: parent Type: 9 ()
# Field: intercept_endpoint_group_association_id Type: 9 ()
# Field: intercept_endpoint_group_association Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<intercept_endpoint_group_association_id>
Type: String
=item * B<intercept_endpoint_group_association>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation)
=item * B<request_id>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupAssociationRequest ===
# Fields for UpdateInterceptEndpointGroupAssociationRequest
# Field: update_mask Type: 11 (.google.protobuf.FieldMask)
# Field: intercept_endpoint_group_association Type: 11 (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<update_mask>
Type: Message (.google.protobuf.FieldMask)
=item * B<intercept_endpoint_group_association>
Type: Message (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation)
=item * B<request_id>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
=cut
# === Message: Google::Cloud::Networksecurity::V1::Intercept::InterceptDeploymentGroup ===
# Fields for InterceptDeploymentGroup
# Field: name Type: 9 ()
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: update_time Type: 11 (.google.protobuf.Timestamp)
# Field: labels Type: 11 (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.LabelsEntry)
# Field: network Type: 9 ()
# Field: connected_endpoint_groups Type: 11 (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.ConnectedEndpointGroup)
# Field: nested_deployments Type: 11 (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.Deployment)
# Field: state Type: 14 (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.State)
# Field: reconciling Type: 8 ()
# Field: description Type: 9 ()
# Field: locations Type: 11 (.google.cloud.networksecurity.v1.InterceptLocation)
=pod
=head1 NAME
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
Type: Message (.google.protobuf.Timestamp)
=item * B<labels>
Type: Message (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.LabelsEntry)
=item * B<network>
Type: String
=item * B<connected_endpoint_groups>
Type: Message (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.ConnectedEndpointGroup)
=item * B<nested_deployments>
Type: Message (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.Deployment)
=item * B<state>
Type: Enum (.google.cloud.networksecurity.v1.InterceptDeploymentGroup.State)
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/Intercept.pm view on Meta::CPAN
lazy => 1,
builder => sub {
my $self = shift;
return Google::gRPC::Client->new(
target => $self->target,
auth_token => $self->credentials->get_token(),
);
}
);
sub list_intercept_endpoint_groups {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'ListInterceptEndpointGroups',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsResponse',
});
}
sub get_intercept_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'GetInterceptEndpointGroup',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Intercept::InterceptEndpointGroup',
});
}
sub create_intercept_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'CreateInterceptEndpointGroup',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub update_intercept_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'UpdateInterceptEndpointGroup',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub delete_intercept_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'DeleteInterceptEndpointGroup',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub list_intercept_endpoint_group_associations {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupAssociationsRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'ListInterceptEndpointGroupAssociations',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupAssociationsResponse',
});
}
sub get_intercept_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'GetInterceptEndpointGroupAssociation',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Intercept::InterceptEndpointGroupAssociation',
});
}
sub create_intercept_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'CreateInterceptEndpointGroupAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub update_intercept_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'UpdateInterceptEndpointGroupAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub delete_intercept_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'DeleteInterceptEndpointGroupAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
lib/Google/Cloud/Networksecurity/V1/InterceptClient.pm view on Meta::CPAN
} else {
# Default high-performance HTTP/2 gRPC client
my $client = Google::gRPC::Client->new(
target => $target,
auth_token => $token,
);
$self->transport($client);
}
}
sub list_intercept_endpoint_groups {
my ($self, %params) = @_;
my $request_class = 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsRequest';
my $request = eval { $request_class->new(\%params) } || eval { $request_class->new(%params) } || ($request_class->can('encode') ? $request_class->encode(\%params) : \%params);
my $response_class = 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsResponse';
my $response = $self->transport->call({
service => 'google.cloud.networksecurity.v1.Intercept',
method => 'ListInterceptEndpointGroups',
request => $request,
lib/Google/Cloud/Networksecurity/V1/InterceptClient.pm view on Meta::CPAN
Returns or accepts the active transport object (L<Google::gRPC::Client> or L<Google::Cloud::REST::Client>).
=head1 METHODS
=head2 METHODS
The following RPC methods are available in this client:
=over 4
=item * B<list_intercept_endpoint_groups>
Calls the RPC method C<ListInterceptEndpointGroups> on the service. Takes a hash of parameters representing the request.
=back
=head1 LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
=item * B<order_by>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse ===
# Fields for ListMirroringEndpointGroupsResponse
# Field: mirroring_endpoint_groups Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroup)
# Field: next_page_token Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::Mirroring;
my $msg = Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse->new(
mirroring_endpoint_groups => $value,
);
=head1 FIELDS
=over 4
=item * B<mirroring_endpoint_groups>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroup)
=item * B<next_page_token>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupRequest ===
# Fields for CreateMirroringEndpointGroupRequest
# Field: parent Type: 9 ()
# Field: mirroring_endpoint_group_id Type: 9 ()
# Field: mirroring_endpoint_group Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroup)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<mirroring_endpoint_group_id>
Type: String
=item * B<mirroring_endpoint_group>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroup)
=item * B<request_id>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupRequest ===
# Fields for UpdateMirroringEndpointGroupRequest
# Field: update_mask Type: 11 (.google.protobuf.FieldMask)
# Field: mirroring_endpoint_group Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroup)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<update_mask>
Type: Message (.google.protobuf.FieldMask)
=item * B<mirroring_endpoint_group>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroup)
=item * B<request_id>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation ===
# Fields for MirroringEndpointGroupAssociation
# Field: name Type: 9 ()
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: update_time Type: 11 (.google.protobuf.Timestamp)
# Field: labels Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LabelsEntry)
# Field: mirroring_endpoint_group Type: 9 ()
# Field: network Type: 9 ()
# Field: locations_details Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails)
# Field: state Type: 14 (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.State)
# Field: reconciling Type: 8 ()
# Field: locations Type: 11 (.google.cloud.networksecurity.v1.MirroringLocation)
=pod
=head1 NAME
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
Type: Message (.google.protobuf.Timestamp)
=item * B<update_time>
Type: Message (.google.protobuf.Timestamp)
=item * B<labels>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LabelsEntry)
=item * B<mirroring_endpoint_group>
Type: String
=item * B<network>
Type: String
=item * B<locations_details>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails)
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
=item * B<order_by>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupAssociationsResponse ===
# Fields for ListMirroringEndpointGroupAssociationsResponse
# Field: mirroring_endpoint_group_associations Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation)
# Field: next_page_token Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupAssociationsResponse - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::Mirroring;
my $msg = Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupAssociationsResponse->new(
mirroring_endpoint_group_associations => $value,
);
=head1 FIELDS
=over 4
=item * B<mirroring_endpoint_group_associations>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation)
=item * B<next_page_token>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupAssociationRequest ===
# Fields for CreateMirroringEndpointGroupAssociationRequest
# Field: parent Type: 9 ()
# Field: mirroring_endpoint_group_association_id Type: 9 ()
# Field: mirroring_endpoint_group_association Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<mirroring_endpoint_group_association_id>
Type: String
=item * B<mirroring_endpoint_group_association>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation)
=item * B<request_id>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupAssociationRequest ===
# Fields for UpdateMirroringEndpointGroupAssociationRequest
# Field: update_mask Type: 11 (.google.protobuf.FieldMask)
# Field: mirroring_endpoint_group_association Type: 11 (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation)
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
);
=head1 FIELDS
=over 4
=item * B<update_mask>
Type: Message (.google.protobuf.FieldMask)
=item * B<mirroring_endpoint_group_association>
Type: Message (.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation)
=item * B<request_id>
Type: String
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
=cut
# === Message: Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup ===
# Fields for MirroringDeploymentGroup
# Field: name Type: 9 ()
# Field: create_time Type: 11 (.google.protobuf.Timestamp)
# Field: update_time Type: 11 (.google.protobuf.Timestamp)
# Field: labels Type: 11 (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.LabelsEntry)
# Field: network Type: 9 ()
# Field: connected_endpoint_groups Type: 11 (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.ConnectedEndpointGroup)
# Field: nested_deployments Type: 11 (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.Deployment)
# Field: state Type: 14 (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.State)
# Field: reconciling Type: 8 ()
# Field: description Type: 9 ()
# Field: locations Type: 11 (.google.cloud.networksecurity.v1.MirroringLocation)
=pod
=head1 NAME
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
Type: Message (.google.protobuf.Timestamp)
=item * B<labels>
Type: Message (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.LabelsEntry)
=item * B<network>
Type: String
=item * B<connected_endpoint_groups>
Type: Message (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.ConnectedEndpointGroup)
=item * B<nested_deployments>
Type: Message (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.Deployment)
=item * B<state>
Type: Enum (.google.cloud.networksecurity.v1.MirroringDeploymentGroup.State)
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/Mirroring.pm view on Meta::CPAN
lazy => 1,
builder => sub {
my $self = shift;
return Google::gRPC::Client->new(
target => $self->target,
auth_token => $self->credentials->get_token(),
);
}
);
sub list_mirroring_endpoint_groups {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'ListMirroringEndpointGroups',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse',
});
}
sub get_mirroring_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::GetMirroringEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'GetMirroringEndpointGroup',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup',
});
}
sub create_mirroring_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'CreateMirroringEndpointGroup',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub update_mirroring_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'UpdateMirroringEndpointGroup',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub delete_mirroring_endpoint_group {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::DeleteMirroringEndpointGroupRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'DeleteMirroringEndpointGroup',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub list_mirroring_endpoint_group_associations {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupAssociationsRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'ListMirroringEndpointGroupAssociations',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupAssociationsResponse',
});
}
sub get_mirroring_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::GetMirroringEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'GetMirroringEndpointGroupAssociation',
request => $req,
response_class => 'Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation',
});
}
sub create_mirroring_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'CreateMirroringEndpointGroupAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub update_mirroring_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'UpdateMirroringEndpointGroupAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
}
sub delete_mirroring_endpoint_group_association {
my ($self, $args) = @_;
my $req = ref($args) eq 'HASH'
? Google::Cloud::Networksecurity::V1::Mirroring::DeleteMirroringEndpointGroupAssociationRequest->new($args)
: $args;
return $self->_grpc_client->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'DeleteMirroringEndpointGroupAssociation',
request => $req,
response_class => 'Google::Longrunning::Operations::Operation',
});
lib/Google/Cloud/Networksecurity/V1/MirroringClient.pm view on Meta::CPAN
} else {
# Default high-performance HTTP/2 gRPC client
my $client = Google::gRPC::Client->new(
target => $target,
auth_token => $token,
);
$self->transport($client);
}
}
sub list_mirroring_endpoint_groups {
my ($self, %params) = @_;
my $request_class = 'Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsRequest';
my $request = eval { $request_class->new(\%params) } || eval { $request_class->new(%params) } || ($request_class->can('encode') ? $request_class->encode(\%params) : \%params);
my $response_class = 'Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse';
my $response = $self->transport->call({
service => 'google.cloud.networksecurity.v1.Mirroring',
method => 'ListMirroringEndpointGroups',
request => $request,
lib/Google/Cloud/Networksecurity/V1/MirroringClient.pm view on Meta::CPAN
Returns or accepts the active transport object (L<Google::gRPC::Client> or L<Google::Cloud::REST::Client>).
=head1 METHODS
=head2 METHODS
The following RPC methods are available in this client:
=over 4
=item * B<list_mirroring_endpoint_groups>
Calls the RPC method C<ListMirroringEndpointGroups> on the service. Takes a hash of parameters representing the request.
=back
=head1 LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
lib/Google/Cloud/Networksecurity/V1/Networksecurity.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/SecurityProfileGroupIntercept.pm view on Meta::CPAN
b3VwLgoKDAoFBAACAAUSAyMCCAoMCgUEAAIAARIDIwkhCgwKBQQAAgADEgMjJCUKDQoFBAAC
AAgSBCMmKAMKDwoIBAACAAicCAASAyQEKgoPCgcEAAIACJ8IEgQlBCcFYgZwcm90bzM=
EOF
Protobuf::DescriptorPool->generated_pool->add_serialized_file(MIME::Base64::decode_base64($descriptor_b64));
}
# Message definitions
# === Message: Google::Cloud::Networksecurity::V1::SecurityProfileGroupIntercept::CustomInterceptProfile ===
# Fields for CustomInterceptProfile
# Field: intercept_endpoint_group Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::SecurityProfileGroupIntercept::CustomInterceptProfile - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::SecurityProfileGroupIntercept;
my $msg = Google::Cloud::Networksecurity::V1::SecurityProfileGroupIntercept::CustomInterceptProfile->new(
intercept_endpoint_group => $value,
);
=head1 FIELDS
=over 4
=item * B<intercept_endpoint_group>
Type: String
=back
=cut
1;
__END__
lib/Google/Cloud/Networksecurity/V1/SecurityProfileGroupMirroring.pm view on Meta::CPAN
AwoPCggEAAIACJwIABIDJAQqCg8KCAQAAgAInAgBEgMlBCsKDwoHBAACAAifCBIEJgQoBWIG
cHJvdG8z
EOF
Protobuf::DescriptorPool->generated_pool->add_serialized_file(MIME::Base64::decode_base64($descriptor_b64));
}
# Message definitions
# === Message: Google::Cloud::Networksecurity::V1::SecurityProfileGroupMirroring::CustomMirroringProfile ===
# Fields for CustomMirroringProfile
# Field: mirroring_endpoint_group Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::SecurityProfileGroupMirroring::CustomMirroringProfile - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::SecurityProfileGroupMirroring;
my $msg = Google::Cloud::Networksecurity::V1::SecurityProfileGroupMirroring::CustomMirroringProfile->new(
mirroring_endpoint_group => $value,
);
=head1 FIELDS
=over 4
=item * B<mirroring_endpoint_group>
Type: String
=back
=cut
1;
__END__
lib/Google/Cloud/Networksecurity/V1/SecurityProfileGroupService.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/SecurityProfileGroupService.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/SseRealm.pm view on Meta::CPAN
=head1 DESCRIPTION
This class acts as a local client stub for the remote gRPC service.
It delegates call dispatching to an underlying L<Google::gRPC::Client>
instance, ensuring type-safe request parsing and response mapping.
=head1 CONFIGURATION AND ENVIRONMENT
=head2 target
The endpoint target address. Defaults to C<networksecurity.googleapis.com:443>.
=head2 credentials
The authentication credentials provider. Defaults to application default credentials via L<Google::Auth>.
=cut
use Moo;
use Google::Auth;
use Google::gRPC::Client;
lib/Google/Cloud/Networksecurity/V1/Tls.pm view on Meta::CPAN
=item * B<target_uri>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Tls::ValidationCA ===
# Fields for ValidationCA
# Field: grpc_endpoint Type: 11 (.google.cloud.networksecurity.v1.GrpcEndpoint)
# Field: certificate_provider_instance Type: 11 (.google.cloud.networksecurity.v1.CertificateProviderInstance)
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Tls::ValidationCA - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::Tls;
my $msg = Google::Cloud::Networksecurity::V1::Tls::ValidationCA->new(
grpc_endpoint => $value,
);
=head1 FIELDS
=over 4
=item * B<grpc_endpoint>
Type: Message (.google.cloud.networksecurity.v1.GrpcEndpoint)
=item * B<certificate_provider_instance>
Type: Message (.google.cloud.networksecurity.v1.CertificateProviderInstance)
=back
=cut
lib/Google/Cloud/Networksecurity/V1/Tls.pm view on Meta::CPAN
=item * B<plugin_instance>
Type: String
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::Tls::CertificateProvider ===
# Fields for CertificateProvider
# Field: grpc_endpoint Type: 11 (.google.cloud.networksecurity.v1.GrpcEndpoint)
# Field: certificate_provider_instance Type: 11 (.google.cloud.networksecurity.v1.CertificateProviderInstance)
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::Tls::CertificateProvider - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::Tls;
my $msg = Google::Cloud::Networksecurity::V1::Tls::CertificateProvider->new(
grpc_endpoint => $value,
);
=head1 FIELDS
=over 4
=item * B<grpc_endpoint>
Type: Message (.google.cloud.networksecurity.v1.GrpcEndpoint)
=item * B<certificate_provider_instance>
Type: Message (.google.cloud.networksecurity.v1.CertificateProviderInstance)
=back
=cut
t/01-service-FirewallActivation.t view on Meta::CPAN
}
# D. Main test execution
package main;
use Google::Cloud::Networksecurity::V1::FirewallActivationClient;
my $client = Google::Cloud::Networksecurity::V1::FirewallActivationClient->new( credentials => 'dummy' );
ok($client, 'Instantiated generated client');
isa_ok($client->transport, 'Google::gRPC::Client', 'Client transport');
subtest 'list_firewall_endpoints method' => sub {
$client->transport->{mock_call} = sub {
my ($args) = @_;
is($args->{service}, 'google.cloud.networksecurity.v1.FirewallActivation', 'Correct service path');
is($args->{method}, 'ListFirewallEndpoints', 'Correct RPC method');
isa_ok($args->{request}, 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsRequest', 'Request object');
my $response = 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse'->new();
return $response;
};
my $res = $client->list_firewall_endpoints();
ok($res, 'Method returned a response');
isa_ok($res, 'Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsResponse', 'Response object class');
done_testing();
};
done_testing();
t/01-service-Intercept.t view on Meta::CPAN
}
# D. Main test execution
package main;
use Google::Cloud::Networksecurity::V1::InterceptClient;
my $client = Google::Cloud::Networksecurity::V1::InterceptClient->new( credentials => 'dummy' );
ok($client, 'Instantiated generated client');
isa_ok($client->transport, 'Google::gRPC::Client', 'Client transport');
subtest 'list_intercept_endpoint_groups method' => sub {
$client->transport->{mock_call} = sub {
my ($args) = @_;
is($args->{service}, 'google.cloud.networksecurity.v1.Intercept', 'Correct service path');
is($args->{method}, 'ListInterceptEndpointGroups', 'Correct RPC method');
isa_ok($args->{request}, 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsRequest', 'Request object');
my $response = 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsResponse'->new();
return $response;
};
my $res = $client->list_intercept_endpoint_groups();
ok($res, 'Method returned a response');
isa_ok($res, 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsResponse', 'Response object class');
done_testing();
};
done_testing();
t/01-service-Mirroring.t view on Meta::CPAN
}
# D. Main test execution
package main;
use Google::Cloud::Networksecurity::V1::MirroringClient;
my $client = Google::Cloud::Networksecurity::V1::MirroringClient->new( credentials => 'dummy' );
ok($client, 'Instantiated generated client');
isa_ok($client->transport, 'Google::gRPC::Client', 'Client transport');
subtest 'list_mirroring_endpoint_groups method' => sub {
$client->transport->{mock_call} = sub {
my ($args) = @_;
is($args->{service}, 'google.cloud.networksecurity.v1.Mirroring', 'Correct service path');
is($args->{method}, 'ListMirroringEndpointGroups', 'Correct RPC method');
isa_ok($args->{request}, 'Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsRequest', 'Request object');
my $response = 'Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse'->new();
return $response;
};
my $res = $client->list_mirroring_endpoint_groups();
ok($res, 'Method returned a response');
isa_ok($res, 'Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse', 'Response object class');
done_testing();
};
done_testing();