Service Client: Google::Cloud::Networkmanagement::V1::VpcFlowLogs::VpcFlowLogsServiceClient
Client stub representing the remote VpcFlowLogsService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to networkmanagement.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
Service Client: Google::Cloud::Networkmanagement::V1::VpcFlowLogs::OrganizationVpcFlowLogsServiceClient
Client stub representing the remote OrganizationVpcFlowLogsService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to networkmanagement.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Networkmanagement::V1::VpcFlowLogs - Compiled Protocol Buffers messages for google/cloud/networkmanagement/v1/vpc_flow_logs.proto
SYNOPSIS
use Google::Cloud::Networkmanagement::V1::VpcFlowLogs;
my $msg = Google::Cloud::Networkmanagement::V1::VpcFlowLogs::ListVpcFlowLogsConfigsRequest->new({
parent => $parent,
page_size => $page_size,
page_token => $page_token,
filter => $filter,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Networkmanagement::V1::VpcFlowLogs::ListVpcFlowLogsConfigsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/networkmanagement/v1/vpc_flow_logs.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::Networkmanagement::V1::VpcFlowLogs::ListVpcFlowLogsConfigsRequest
Request for the `ListVpcFlowLogsConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource of the VpcFlowLogsConfig, in one of the following formats:
- For project-level resources: `projects/{project_id}/locations/global`
- For organization-level resources: `organizations/{organization_id}/locations/global`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Number of `VpcFlowLogsConfigs` to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Page token from an earlier query, as returned in `next_page_token`.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to use to sort the list.
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::ListVpcFlowLogsConfigsResponse
Response for the `ListVpcFlowLogsConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->vpc_flow_logs_configs()/$msg->vpc_flow_logs_configs($value)Type:
Message(Google::Cloud::Networkmanagement::V1::VpcFlowLogsConfig::VpcFlowLogsConfig)List of VPC Flow Log configurations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPage token to fetch the next set of configurations.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached (when querying all locations with `-`).
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::GetVpcFlowLogsConfigRequest
Request for the `GetVpcFlowLogsConfig` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the VpcFlowLogsConfig, in one of the following formats:
- For project-level resources: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`
- For organization-level resources: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::CreateVpcFlowLogsConfigRequest
Request for the `CreateVpcFlowLogsConfig` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats:
- For project-level resources: `projects/{project_id}/locations/global`
- For organization-level resources: `organizations/{organization_id}/locations/global`
$msg->vpc_flow_logs_config_id()/$msg->vpc_flow_logs_config_id($value)Type:
StringRequired. ID of the `VpcFlowLogsConfig`.
$msg->vpc_flow_logs_config()/$msg->vpc_flow_logs_config($value)Type:
Message(Google::Cloud::Networkmanagement::V1::VpcFlowLogsConfig::VpcFlowLogsConfig)Required. A `VpcFlowLogsConfig` resource
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::UpdateVpcFlowLogsConfigRequest
Request for the `UpdateVpcFlowLogsConfig` method.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be: `vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }`
$msg->vpc_flow_logs_config()/$msg->vpc_flow_logs_config($value)Type:
Message(Google::Cloud::Networkmanagement::V1::VpcFlowLogsConfig::VpcFlowLogsConfig)Required. Only fields specified in update_mask are updated.
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::DeleteVpcFlowLogsConfigRequest
Request for the `DeleteVpcFlowLogsConfig` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the VpcFlowLogsConfig, in one of the following formats:
- For a project-level resource: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`
- For an organization-level resource: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::QueryOrgVpcFlowLogsConfigsRequest
Request for the `QueryOrgVpcFlowLogsConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Number of `VpcFlowLogsConfigs` to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Page token from an earlier query, as returned in `next_page_token`.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::QueryOrgVpcFlowLogsConfigsResponse
Response for the `QueryVpcFlowLogsConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->vpc_flow_logs_configs()/$msg->vpc_flow_logs_configs($value)Type:
Message(Google::Cloud::Networkmanagement::V1::VpcFlowLogsConfig::VpcFlowLogsConfig)List of VPC Flow Log configurations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPage token to fetch the next set of configurations.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached (when querying all locations with `-`).
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::ShowEffectiveFlowLogsConfigsRequest
Request for the `ShowEffectiveFlowLogsConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global`
$msg->resource()/$msg->resource($value)Type:
StringRequired. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Page token from an earlier query, as returned in `next_page_token`.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
Google::Cloud::Networkmanagement::V1::VpcFlowLogs::ShowEffectiveFlowLogsConfigsResponse
Response for the `ShowEffectiveFlowLogsConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->effective_flow_logs_configs()/$msg->effective_flow_logs_configs($value)Type:
Message(Google::Cloud::Networkmanagement::V1::VpcFlowLogsConfig::EffectiveVpcFlowLogsConfig)List of Effective Vpc Flow Logs configurations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPage token to fetch the next set of configurations.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached (when querying all locations with `-`).
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Networkmanagement::V1::VpcFlowLogs::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.