Service Client: Google::Cloud::Networksecurity::V1::Mirroring::MirroringClient

Client stub representing the remote Mirroring gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to networksecurity.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Networksecurity::V1::Mirroring - Compiled Protocol Buffers messages for google/cloud/networksecurity/v1/mirroring.proto

SYNOPSIS

use Google::Cloud::Networksecurity::V1::Mirroring;

my $msg = Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup->new({
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
    labels => $labels,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networksecurity/v1/mirroring.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup

An endpoint group is a consumer frontend for a deployment group (backend). In order to configure mirroring for a network, consumers must create: - An association between their network and the endpoint group. - A security profile that points to the endpoint group. - A mirroring rule that references the security profile (group).

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup::LabelsEntry)

    Optional. Labels are key/value pairs that help to organize and filter resources.

  • $msg->mirroring_deployment_group() / $msg->mirroring_deployment_group($value)

    Type: String

    Immutable. The deployment group that this DIRECT endpoint group is connected to, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/124.

  • $msg->connected_deployment_groups() / $msg->connected_deployment_groups($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup::ConnectedDeploymentGroup)

    Output only. List of details about the connected deployment groups to this endpoint group.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networksecurity::V1::MirroringEndpointGroup::State)

    Output only. The current state of the endpoint group. See https://google.aip.dev/216.

  • $msg->reconciling() / $msg->reconciling($value)

    Type: Bool

    Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This is part of the normal operation (e.g. adding a new association to the group). See https://google.aip.dev/128.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Networksecurity::V1::MirroringEndpointGroup::Type)

    Immutable. The type of the endpoint group. If left unspecified, defaults to DIRECT.

  • $msg->associations() / $msg->associations($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup::AssociationDetails)

    Output only. List of associations to this endpoint group.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.

Enum: MirroringEndpointGroup::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CLOSED => 2

  • CREATING => 3

  • DELETING => 4

  • OUT_OF_SYNC => 5

  • DELETE_FAILED => 6

Enum: MirroringEndpointGroup::Type

  • TYPE_UNSPECIFIED => 0

  • DIRECT => 1

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsRequest

Request message for ListMirroringEndpointGroups.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupsResponse

Response message for ListMirroringEndpointGroups.

Inherits from Protobuf::Message.

Accessors

  • $msg->mirroring_endpoint_groups() / $msg->mirroring_endpoint_groups($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup)

    The endpoint groups from the specified parent.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::GetMirroringEndpointGroupRequest

Request message for GetMirroringEndpointGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group}

Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupRequest

Request message for CreateMirroringEndpointGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}

  • $msg->mirroring_endpoint_group_id() / $msg->mirroring_endpoint_group_id($value)

    Type: String

    Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.

  • $msg->mirroring_endpoint_group() / $msg->mirroring_endpoint_group($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup)

    Required. The endpoint group to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupRequest

Request message for UpdateMirroringEndpointGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.description`). See https://google.aip.dev/161 for more details.

  • $msg->mirroring_endpoint_group() / $msg->mirroring_endpoint_group($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroup)

    Required. The endpoint group to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::DeleteMirroringEndpointGroupRequest

Request message for DeleteMirroringEndpointGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The endpoint group to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation

An endpoint group association represents a link between a network and an endpoint group in the organization.

Creating an association creates the networking infrastructure linking the network to the endpoint group, but does not enable mirroring by itself. To enable mirroring, the user must also create a network firewall policy containing mirroring rules and associate it with the network.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation::LabelsEntry)

    Optional. Labels are key/value pairs that help to organize and filter resources.

  • $msg->mirroring_endpoint_group() / $msg->mirroring_endpoint_group($value)

    Type: String

    Immutable. The endpoint group that this association is connected to, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/124.

  • $msg->network() / $msg->network($value)

    Type: String

    Immutable. The VPC network that is associated. for example: `projects/123456789/global/networks/my-network`. See https://google.aip.dev/124.

  • $msg->locations_details() / $msg->locations_details($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation::LocationDetails)

    Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networksecurity::V1::MirroringEndpointGroupAssociation::State)

    Output only. Current state of the endpoint group association.

  • $msg->reconciling() / $msg->reconciling($value)

    Type: Bool

    Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. adding a new location to the target deployment group). See https://google.aip.dev/128.

  • $msg->locations() / $msg->locations($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringLocation)

    Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

Enum: MirroringEndpointGroupAssociation::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CREATING => 3

  • DELETING => 4

  • CLOSED => 5

  • OUT_OF_SYNC => 6

  • DELETE_FAILED => 7

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupAssociationsRequest

Request message for ListMirroringEndpointGroupAssociations.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringEndpointGroupAssociationsResponse

Response message for ListMirroringEndpointGroupAssociations.

Inherits from Protobuf::Message.

Accessors

  • $msg->mirroring_endpoint_group_associations() / $msg->mirroring_endpoint_group_associations($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation)

    The associations from the specified parent.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::GetMirroringEndpointGroupAssociationRequest

Request message for GetMirroringEndpointGroupAssociation.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association}

Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringEndpointGroupAssociationRequest

Request message for CreateMirroringEndpointGroupAssociation.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

  • $msg->mirroring_endpoint_group_association_id() / $msg->mirroring_endpoint_group_association_id($value)

    Type: String

    Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

  • $msg->mirroring_endpoint_group_association() / $msg->mirroring_endpoint_group_association($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation)

    Required. The association to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringEndpointGroupAssociationRequest

Request message for UpdateMirroringEndpointGroupAssociation.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `mirroring_endpoint_group_association.description`). See https://google.aip.dev/161 for more details.

  • $msg->mirroring_endpoint_group_association() / $msg->mirroring_endpoint_group_association($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringEndpointGroupAssociation)

    Required. The association to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::DeleteMirroringEndpointGroupAssociationRequest

Request message for DeleteMirroringEndpointGroupAssociation.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The association to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup

A deployment group aggregates many zonal mirroring backends (deployments) into a single global mirroring service. Consumers can connect this service using an endpoint group.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup::LabelsEntry)

    Optional. Labels are key/value pairs that help to organize and filter resources.

  • $msg->network() / $msg->network($value)

    Type: String

    Required. Immutable. The network that will be used for all child deployments, for example: `projects/{project}/global/networks/{network}`. See https://google.aip.dev/124.

  • $msg->connected_endpoint_groups() / $msg->connected_endpoint_groups($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup::ConnectedEndpointGroup)

    Output only. The list of endpoint groups that are connected to this resource.

  • $msg->nested_deployments() / $msg->nested_deployments($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup::Deployment)

    Output only. The list of Mirroring Deployments that belong to this group.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networksecurity::V1::MirroringDeploymentGroup::State)

    Output only. The current state of the deployment group. See https://google.aip.dev/216.

  • $msg->reconciling() / $msg->reconciling($value)

    Type: Bool

    Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This is part of the normal operation (e.g. adding a new deployment to the group) See https://google.aip.dev/128.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. User-provided description of the deployment group. Used as additional context for the deployment group.

  • $msg->locations() / $msg->locations($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringLocation)

    Output only. The list of locations where the deployment group is present.

Enum: MirroringDeploymentGroup::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CREATING => 2

  • DELETING => 3

  • CLOSED => 4

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringDeploymentGroupsRequest

Request message for ListMirroringDeploymentGroups.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringDeploymentGroupsResponse

Response message for ListMirroringDeploymentGroups.

Inherits from Protobuf::Message.

Accessors

  • $msg->mirroring_deployment_groups() / $msg->mirroring_deployment_groups($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup)

    The deployment groups from the specified parent.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::GetMirroringDeploymentGroupRequest

Request message for GetMirroringDeploymentGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group}

Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringDeploymentGroupRequest

Request message for CreateMirroringDeploymentGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}

  • $msg->mirroring_deployment_group_id() / $msg->mirroring_deployment_group_id($value)

    Type: String

    Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

  • $msg->mirroring_deployment_group() / $msg->mirroring_deployment_group($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup)

    Required. The deployment group to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringDeploymentGroupRequest

Request message for UpdateMirroringDeploymentGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `mirroring_deployment_group.description`). See https://google.aip.dev/161 for more details.

  • $msg->mirroring_deployment_group() / $msg->mirroring_deployment_group($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeploymentGroup)

    Required. The deployment group to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::DeleteMirroringDeploymentGroupRequest

Request message for DeleteMirroringDeploymentGroup.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The deployment group to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeployment

A deployment represents a zonal mirroring backend ready to accept GENEVE-encapsulated replica traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global mirroring service.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeployment::LabelsEntry)

    Optional. Labels are key/value pairs that help to organize and filter resources.

  • $msg->forwarding_rule() / $msg->forwarding_rule($value)

    Type: String

    Required. Immutable. The regional forwarding rule that fronts the mirroring collectors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.

  • $msg->mirroring_deployment_group() / $msg->mirroring_deployment_group($value)

    Type: String

    Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/124.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networksecurity::V1::MirroringDeployment::State)

    Output only. The current state of the deployment. See https://google.aip.dev/216.

  • $msg->reconciling() / $msg->reconciling($value)

    Type: Bool

    Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. User-provided description of the deployment. Used as additional context for the deployment.

Enum: MirroringDeployment::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CREATING => 2

  • DELETING => 3

  • OUT_OF_SYNC => 4

  • DELETE_FAILED => 5

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringDeploymentsRequest

Request message for ListMirroringDeployments.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListMirroringDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Networksecurity::V1::Mirroring::ListMirroringDeploymentsResponse

Response message for ListMirroringDeployments.

Inherits from Protobuf::Message.

Accessors

  • $msg->mirroring_deployments() / $msg->mirroring_deployments($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeployment)

    The deployments from the specified parent.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networksecurity::V1::Mirroring::GetMirroringDeploymentRequest

Request message for GetMirroringDeployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}

Google::Cloud::Networksecurity::V1::Mirroring::CreateMirroringDeploymentRequest

Request message for CreateMirroringDeployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

  • $msg->mirroring_deployment_id() / $msg->mirroring_deployment_id($value)

    Type: String

    Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

  • $msg->mirroring_deployment() / $msg->mirroring_deployment($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeployment)

    Required. The deployment to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::UpdateMirroringDeploymentRequest

Request message for UpdateMirroringDeployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `mirroring_deployment.description`). See https://google.aip.dev/161 for more details.

  • $msg->mirroring_deployment() / $msg->mirroring_deployment($value)

    Type: Message (Google::Cloud::Networksecurity::V1::Mirroring::MirroringDeployment)

    Required. The deployment to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::DeleteMirroringDeploymentRequest

Request message for DeleteMirroringDeployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.

Google::Cloud::Networksecurity::V1::Mirroring::MirroringLocation

Details about mirroring in a specific cloud location.

Inherits from Protobuf::Message.

Accessors

  • $msg->location() / $msg->location($value)

    Type: String

    Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networksecurity::V1::MirroringLocation::State)

    Output only. The current state of the association in this location.

Enum: MirroringLocation::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • OUT_OF_SYNC => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networksecurity::V1::Mirroring::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.