Google-Cloud-Networksecurity-V1
view release on metacpan or search on metacpan
lib/Google/Cloud/Networksecurity/V1/FirewallActivation.pm view on Meta::CPAN
IGd1YXJhbnRlZSB0aGF0IGZvciBhdCBsZWFzdCA2MCBtaW51dGVzIGFmdGVyIHRoZSBmaXJz
dCByZXF1ZXN0LgoKIEZvciBleGFtcGxlLCBjb25zaWRlciBhIHNpdHVhdGlvbiB3aGVyZSB5
b3UgbWFrZSBhbiBpbml0aWFsIHJlcXVlc3QgYW5kCiB0aGUgcmVxdWVzdCB0aW1lcyBvdXQu
IElmIHlvdSBtYWtlIHRoZSByZXF1ZXN0IGFnYWluIHdpdGggdGhlIHNhbWUgcmVxdWVzdAog
SUQsIHRoZSBzZXJ2ZXIgY2FuIGNoZWNrIGlmIG9yaWdpbmFsIG9wZXJhdGlvbiB3aXRoIHRo
ZSBzYW1lIHJlcXVlc3QgSUQKIHdhcyByZWNlaXZlZCwgYW5kIGlmIHNvLCB3aWxsIGlnbm9y
ZSB0aGUgc2Vjb25kIHJlcXVlc3QuIFRoaXMgcHJldmVudHMKIGNsaWVudHMgZnJvbSBhY2Np
ZGVudGFsbHkgY3JlYXRpbmcgZHVwbGljYXRlIGNvbW1pdG1lbnRzLgoKIFRoZSByZXF1ZXN0
IElEIG11c3QgYmUgYSB2YWxpZCBVVUlEIHdpdGggdGhlIGV4Y2VwdGlvbiB0aGF0IHplcm8g
VVVJRCBpcwogbm90IHN1cHBvcnRlZCAoMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAw
MDAwMDAwKS4KCg0KBQQMAgEFEgSZBQIICg0KBQQMAgEBEgSZBQkTCg0KBQQMAgEDEgSZBRYX
Cg0KBQQMAgEIEgSZBRhAChAKCAQMAgEInAgAEgSZBRk/CjMKAgQNEgadBQC4BQEaJSBNZXNz
YWdlIGZvciB1cGRhdGluZyBhbiBBc3NvY2lhdGlvbgoKCwoDBA0BEgSdBQgwCt0CCgQEDQIA
EgajBQKkBS8azAIgUmVxdWlyZWQuIEZpZWxkIG1hc2sgaXMgdXNlZCB0byBzcGVjaWZ5IHRo
ZSBmaWVsZHMgdG8gYmUgb3ZlcndyaXR0ZW4gaW4gdGhlCiBBc3NvY2lhdGlvbiByZXNvdXJj
ZSBieSB0aGUgdXBkYXRlLgogVGhlIGZpZWxkcyBzcGVjaWZpZWQgaW4gdGhlIHVwZGF0ZV9t
YXNrIGFyZSByZWxhdGl2ZSB0byB0aGUgcmVzb3VyY2UsIG5vdAogdGhlIGZ1bGwgcmVxdWVz
dC4gQSBmaWVsZCB3aWxsIGJlIG92ZXJ3cml0dGVuIGlmIGl0IGlzIGluIHRoZSBtYXNrLiBJ
ZiB0aGUKIHVzZXIgZG9lcyBub3QgcHJvdmlkZSBhIG1hc2sgdGhlbiBhbGwgZmllbGRzIHdp
bGwgYmUgb3ZlcndyaXR0ZW4uCgoNCgUEDQIABhIEowUCGwoNCgUEDQIAARIEowUcJwoNCgUE
DQIAAxIEowUqKwoNCgUEDQIACBIEpAUGLgoQCggEDQIACJwIABIEpAUHLQo2CgQEDQIBEgan
BQKoBS8aJiBSZXF1aXJlZC4gVGhlIHJlc291cmNlIGJlaW5nIHVwZGF0ZWQKCg0KBQQNAgEG
EgSnBQIdCg0KBQQNAgEBEgSnBR47Cg0KBQQNAgEDEgSnBT4/Cg0KBQQNAgEIEgSoBQYuChAK
CAQNAgEInAgAEgSoBQctCo8GCgQEDQICEgS3BQJBGoAGIE9wdGlvbmFsLiBBbiBvcHRpb25h
bCByZXF1ZXN0IElEIHRvIGlkZW50aWZ5IHJlcXVlc3RzLiBTcGVjaWZ5IGEgdW5pcXVlCiBy
ZXF1ZXN0IElEIHNvIHRoYXQgaWYgeW91IG11c3QgcmV0cnkgeW91ciByZXF1ZXN0LCB0aGUg
c2VydmVyIHdpbGwga25vdyB0bwogaWdub3JlIHRoZSByZXF1ZXN0IGlmIGl0IGhhcyBhbHJl
YWR5IGJlZW4gY29tcGxldGVkLiBUaGUgc2VydmVyIHdpbGwKIGd1YXJhbnRlZSB0aGF0IGZv
ciBhdCBsZWFzdCA2MCBtaW51dGVzIHNpbmNlIHRoZSBmaXJzdCByZXF1ZXN0LgoKIEZvciBl
eGFtcGxlLCBjb25zaWRlciBhIHNpdHVhdGlvbiB3aGVyZSB5b3UgbWFrZSBhbiBpbml0aWFs
IHJlcXVlc3QgYW5kCiB0aGUgcmVxdWVzdCB0aW1lcyBvdXQuIElmIHlvdSBtYWtlIHRoZSBy
ZXF1ZXN0IGFnYWluIHdpdGggdGhlIHNhbWUgcmVxdWVzdAogSUQsIHRoZSBzZXJ2ZXIgY2Fu
IGNoZWNrIGlmIG9yaWdpbmFsIG9wZXJhdGlvbiB3aXRoIHRoZSBzYW1lIHJlcXVlc3QgSUQK
IHdhcyByZWNlaXZlZCwgYW5kIGlmIHNvLCB3aWxsIGlnbm9yZSB0aGUgc2Vjb25kIHJlcXVl
c3QuIFRoaXMgcHJldmVudHMKIGNsaWVudHMgZnJvbSBhY2NpZGVudGFsbHkgY3JlYXRpbmcg
ZHVwbGljYXRlIGNvbW1pdG1lbnRzLgoKIFRoZSByZXF1ZXN0IElEIG11c3QgYmUgYSB2YWxp
ZCBVVUlEIHdpdGggdGhlIGV4Y2VwdGlvbiB0aGF0IHplcm8gVVVJRCBpcwogbm90IHN1cHBv
cnRlZCAoMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwKS4KCg0KBQQNAgIF
EgS3BQIICg0KBQQNAgIBEgS3BQkTCg0KBQQNAgIDEgS3BRYXCg0KBQQNAgIIEgS3BRhAChAK
CAQNAgIInAgAEgS3BRk/YgZwcm90bzM=
EOF
Protobuf::DescriptorPool->generated_pool->add_serialized_file(MIME::Base64::decode_base64($descriptor_b64));
}
# Message definitions
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpoint ===
# Fields for FirewallEndpoint
# Field: name Type: 9 ()
# Field: description 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.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;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpoint->new(
name => $value,
);
=head1 FIELDS
=over 4
=item * B<name>
Type: String
=item * B<description>
Type: String
=item * B<create_time>
Type: Message (.google.protobuf.Timestamp)
=item * B<update_time>
Type: Message (.google.protobuf.Timestamp)
=item * B<labels>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpoint.LabelsEntry)
=item * B<state>
Type: Enum (.google.cloud.networksecurity.v1.FirewallEndpoint.State)
=item * B<reconciling>
Type: Bool
=item * B<associated_networks>
Type: String
=item * B<associations>
Type: Message (.google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference)
=item * B<satisfies_pzs>
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;
our $FirewallEndpoint_ACTIVE = 2;
our $FirewallEndpoint_DELETING = 3;
our $FirewallEndpoint_INACTIVE = 4;
=pod
=head2 Enum: FirewallEndpoint::State
Values:
=over 4
=item * C<STATE_UNSPECIFIED> => 0
=item * C<CREATING> => 1
=item * C<ACTIVE> => 2
=item * C<DELETING> => 3
=item * C<INACTIVE> => 4
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsRequest ===
# Fields for ListFirewallEndpointsRequest
# Field: parent Type: 9 ()
# Field: page_size Type: 5 ()
# Field: page_token Type: 9 ()
# Field: filter Type: 9 ()
# Field: order_by Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointsRequest->new(
parent => $value,
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<page_size>
Type: Int32
=item * B<page_token>
Type: String
=item * B<filter>
Type: String
=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
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointRequest ===
# Fields for GetFirewallEndpointRequest
# Field: name Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointRequest->new(
name => $value,
);
=head1 FIELDS
=over 4
=item * B<name>
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
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointRequest->new(
parent => $value,
);
=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
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointRequest->new(
update_mask => $value,
);
=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
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointRequest ===
# Fields for DeleteFirewallEndpointRequest
# Field: name Type: 9 ()
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointRequest->new(
name => $value,
);
=head1 FIELDS
=over 4
=item * B<name>
Type: String
=item * B<request_id>
Type: String
=back
=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
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallEndpointAssociation->new(
name => $value,
);
=head1 FIELDS
=over 4
=item * B<name>
Type: String
=item * B<create_time>
Type: Message (.google.protobuf.Timestamp)
=item * B<update_time>
Type: Message (.google.protobuf.Timestamp)
=item * B<labels>
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
=item * B<disabled>
Type: Bool
=back
=cut
# Enum: FirewallEndpointAssociation::State
our $FirewallEndpointAssociation_STATE_UNSPECIFIED = 0;
our $FirewallEndpointAssociation_CREATING = 1;
our $FirewallEndpointAssociation_ACTIVE = 2;
our $FirewallEndpointAssociation_DELETING = 3;
our $FirewallEndpointAssociation_INACTIVE = 4;
our $FirewallEndpointAssociation_ORPHAN = 5;
=pod
=head2 Enum: FirewallEndpointAssociation::State
Values:
=over 4
=item * C<STATE_UNSPECIFIED> => 0
=item * C<CREATING> => 1
=item * C<ACTIVE> => 2
=item * C<DELETING> => 3
=item * C<INACTIVE> => 4
=item * C<ORPHAN> => 5
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsRequest ===
# Fields for ListFirewallEndpointAssociationsRequest
# Field: parent Type: 9 ()
# Field: page_size Type: 5 ()
# Field: page_token Type: 9 ()
# Field: filter Type: 9 ()
# Field: order_by Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::ListFirewallEndpointAssociationsRequest->new(
parent => $value,
);
=head1 FIELDS
=over 4
=item * B<parent>
Type: String
=item * B<page_size>
Type: Int32
=item * B<page_token>
Type: String
=item * B<filter>
Type: String
=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
=back
=cut
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointAssociationRequest ===
# Fields for GetFirewallEndpointAssociationRequest
# Field: name Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::GetFirewallEndpointAssociationRequest->new(
name => $value,
);
=head1 FIELDS
=over 4
=item * B<name>
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
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::CreateFirewallEndpointAssociationRequest->new(
parent => $value,
);
=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
# === Message: Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointAssociationRequest ===
# Fields for DeleteFirewallEndpointAssociationRequest
# Field: name Type: 9 ()
# Field: request_id Type: 9 ()
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointAssociationRequest - Compiled Protocol Buffers message class
=head1 SYNOPSIS
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::DeleteFirewallEndpointAssociationRequest->new(
name => $value,
);
=head1 FIELDS
=over 4
=item * B<name>
Type: String
=item * B<request_id>
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
use Google::Cloud::Networksecurity::V1::FirewallActivation;
my $msg = Google::Cloud::Networksecurity::V1::FirewallActivation::UpdateFirewallEndpointAssociationRequest->new(
update_mask => $value,
);
=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
# === Service Client: Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallActivationClient ===
package Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallActivationClient;
=pod
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation::FirewallActivationClient - Client stub representing the remote FirewallActivation service
=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;
has credentials => ( is => 'ro', default => sub { Google::Auth->default() } );
has target => ( is => 'ro', default => 'networksecurity.googleapis.com:443' );
has _grpc_client => (
is => 'ro',
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',
});
}
1;
__END__
=head1 NAME
Google::Cloud::Networksecurity::V1::FirewallActivation - Protocol Buffers schema definition
=head1 DESCRIPTION
Auto-generated Protocol Buffers schema definition class.
=head1 LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.
=cut
( run in 0.782 second using v1.01-cache-2.11-cpan-f03e8824b8d )