Google-Cloud-Networksecurity-V1

 view release on metacpan or  search on metacpan

lib/Google/Cloud/Networksecurity/V1/Intercept.pm  view on Meta::CPAN

=item * C<OUT_OF_SYNC> => 5

=item * C<DELETE_FAILED> => 6

=back

=cut

# === Message: Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsRequest ===
    # Fields for ListInterceptEndpointGroupsRequest
    # 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::Intercept::ListInterceptEndpointGroupsRequest - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupsRequest->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::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

# === Message: Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupRequest ===
    # Fields for GetInterceptEndpointGroupRequest
    # Field: name Type: 9 ()

=pod

=head1 NAME

Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupRequest - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupRequest->new(
        name => $value,
    );

=head1 FIELDS

=over 4

=item * B<name>

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

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupRequest->new(
        parent => $value,
    );

=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

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupRequest->new(
        update_mask => $value,
    );

=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

# === Message: Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupRequest ===
    # Fields for DeleteInterceptEndpointGroupRequest
    # Field: name Type: 9 ()
    # Field: request_id Type: 9 ()

=pod

=head1 NAME

Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupRequest - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupRequest->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::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

Google::Cloud::Networksecurity::V1::Intercept::InterceptEndpointGroupAssociation - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::InterceptEndpointGroupAssociation->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.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)

=item * B<state>

Type: Enum (.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State)

=item * B<reconciling>

Type: Bool

=item * B<locations>

Type: Message (.google.cloud.networksecurity.v1.InterceptLocation)

=item * B<network_cookie>

Type: UInt32

=back

=cut

# Enum: InterceptEndpointGroupAssociation::State
our $InterceptEndpointGroupAssociation_STATE_UNSPECIFIED = 0;
our $InterceptEndpointGroupAssociation_ACTIVE = 1;
our $InterceptEndpointGroupAssociation_CREATING = 2;
our $InterceptEndpointGroupAssociation_DELETING = 3;
our $InterceptEndpointGroupAssociation_CLOSED = 4;
our $InterceptEndpointGroupAssociation_OUT_OF_SYNC = 5;
our $InterceptEndpointGroupAssociation_DELETE_FAILED = 6;

=pod

=head2 Enum: InterceptEndpointGroupAssociation::State

Values:

=over 4

=item * C<STATE_UNSPECIFIED> => 0

=item * C<ACTIVE> => 1

=item * C<CREATING> => 2

=item * C<DELETING> => 3

=item * C<CLOSED> => 4

=item * C<OUT_OF_SYNC> => 5

=item * C<DELETE_FAILED> => 6

=back

=cut

# === Message: Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupAssociationsRequest ===
    # Fields for ListInterceptEndpointGroupAssociationsRequest
    # 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::Intercept::ListInterceptEndpointGroupAssociationsRequest - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::ListInterceptEndpointGroupAssociationsRequest->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::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

# === Message: Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupAssociationRequest ===
    # Fields for GetInterceptEndpointGroupAssociationRequest
    # Field: name Type: 9 ()

=pod

=head1 NAME

Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupAssociationRequest - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::GetInterceptEndpointGroupAssociationRequest->new(
        name => $value,
    );

=head1 FIELDS

=over 4

=item * B<name>

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

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptEndpointGroupAssociationRequest->new(
        parent => $value,
    );

=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

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptEndpointGroupAssociationRequest->new(
        update_mask => $value,
    );

=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

# === Message: Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupAssociationRequest ===
    # Fields for DeleteInterceptEndpointGroupAssociationRequest
    # Field: name Type: 9 ()
    # Field: request_id Type: 9 ()

=pod

=head1 NAME

Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupAssociationRequest - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::DeleteInterceptEndpointGroupAssociationRequest->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::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

Google::Cloud::Networksecurity::V1::Intercept::InterceptDeploymentGroup - Compiled Protocol Buffers message class

=head1 SYNOPSIS

    use Google::Cloud::Networksecurity::V1::Intercept;

    my $msg = Google::Cloud::Networksecurity::V1::Intercept::InterceptDeploymentGroup->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.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)

=item * B<reconciling>

Type: Bool

=item * B<description>

Type: String

=item * B<locations>

Type: Message (.google.cloud.networksecurity.v1.InterceptLocation)

=back

=cut

# Enum: InterceptDeploymentGroup::State
our $InterceptDeploymentGroup_STATE_UNSPECIFIED = 0;
our $InterceptDeploymentGroup_ACTIVE = 1;
our $InterceptDeploymentGroup_CREATING = 2;
our $InterceptDeploymentGroup_DELETING = 3;

=pod

=head2 Enum: InterceptDeploymentGroup::State

Values:

=over 4

=item * C<STATE_UNSPECIFIED> => 0

=item * C<ACTIVE> => 1

=item * C<CREATING> => 2

=item * C<DELETING> => 3

=back

=cut

# === Message: Google::Cloud::Networksecurity::V1::Intercept::ListInterceptDeploymentGroupsRequest ===
    # Fields for ListInterceptDeploymentGroupsRequest
    # Field: parent Type: 9 ()
    # Field: page_size Type: 5 ()
    # Field: page_token Type: 9 ()
    # Field: filter Type: 9 ()
    # Field: order_by Type: 9 ()

lib/Google/Cloud/Networksecurity/V1/Intercept.pm  view on Meta::CPAN

    );

=head1 FIELDS

=over 4

=item * B<location>

Type: String

=item * B<state>

Type: Enum (.google.cloud.networksecurity.v1.InterceptLocation.State)

=back

=cut

# Enum: InterceptLocation::State
our $InterceptLocation_STATE_UNSPECIFIED = 0;
our $InterceptLocation_ACTIVE = 1;
our $InterceptLocation_OUT_OF_SYNC = 2;

=pod

=head2 Enum: InterceptLocation::State

Values:

=over 4

=item * C<STATE_UNSPECIFIED> => 0

=item * C<ACTIVE> => 1

=item * C<OUT_OF_SYNC> => 2

=back

=cut

# === Service Client: Google::Cloud::Networksecurity::V1::Intercept::InterceptClient ===
package Google::Cloud::Networksecurity::V1::Intercept::InterceptClient;

=pod

=head1 NAME

Google::Cloud::Networksecurity::V1::Intercept::InterceptClient - Client stub representing the remote Intercept 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_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',
    });
}

sub list_intercept_deployment_groups {
    my ($self, $args) = @_;
    my $req = ref($args) eq 'HASH'
        ? Google::Cloud::Networksecurity::V1::Intercept::ListInterceptDeploymentGroupsRequest->new($args)
        : $args;
    return $self->_grpc_client->call({
        service        => 'google.cloud.networksecurity.v1.Intercept',
        method         => 'ListInterceptDeploymentGroups',
        request        => $req,
        response_class => 'Google::Cloud::Networksecurity::V1::Intercept::ListInterceptDeploymentGroupsResponse',
    });
}

sub get_intercept_deployment_group {
    my ($self, $args) = @_;
    my $req = ref($args) eq 'HASH'
        ? Google::Cloud::Networksecurity::V1::Intercept::GetInterceptDeploymentGroupRequest->new($args)
        : $args;
    return $self->_grpc_client->call({
        service        => 'google.cloud.networksecurity.v1.Intercept',
        method         => 'GetInterceptDeploymentGroup',
        request        => $req,
        response_class => 'Google::Cloud::Networksecurity::V1::Intercept::InterceptDeploymentGroup',
    });
}

sub create_intercept_deployment_group {
    my ($self, $args) = @_;
    my $req = ref($args) eq 'HASH'
        ? Google::Cloud::Networksecurity::V1::Intercept::CreateInterceptDeploymentGroupRequest->new($args)
        : $args;
    return $self->_grpc_client->call({
        service        => 'google.cloud.networksecurity.v1.Intercept',
        method         => 'CreateInterceptDeploymentGroup',
        request        => $req,
        response_class => 'Google::Longrunning::Operations::Operation',
    });
}

sub update_intercept_deployment_group {
    my ($self, $args) = @_;
    my $req = ref($args) eq 'HASH'
        ? Google::Cloud::Networksecurity::V1::Intercept::UpdateInterceptDeploymentGroupRequest->new($args)
        : $args;
    return $self->_grpc_client->call({
        service        => 'google.cloud.networksecurity.v1.Intercept',
        method         => 'UpdateInterceptDeploymentGroup',
        request        => $req,



( run in 1.178 second using v1.01-cache-2.11-cpan-f03e8824b8d )