Skip to main content

@swamp/gcp/networkmanagement

v2026.04.23.1

Google Cloud networkmanagement infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudnetworkmanagementcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/networkmanagement

@swamp/gcp/networkmanagement/global-connectivitytestsv2026.04.23.1global_connectivitytests.ts

Global Arguments

ArgumentTypeDescription
bypassFirewallChecks?booleanWhether the analysis should skip firewall checking. Default value is false.
description?stringThe user-supplied description of the Connectivity Test. Maximum of 512 characters.
destination?objectSource or destination of the Connectivity Test.
labels?recordResource labels to represent user-provided metadata.
name?stringIdentifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`
probingDetails?objectResults of active probing from the last run of the test.
protocol?stringIP Protocol of the test. When not provided, "TCP" is assumed.
reachabilityDetails?objectResults of the configuration analysis from the last run of the test.
relatedProjects?arrayOther projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
returnReachabilityDetails?objectResults of the configuration analysis from the last run of the test.
roundTrip?booleanWhether run analysis for the return path from destination to source. Default value is false.
source?objectSource or destination of the Connectivity Test.
testId?stringRequired. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a connectivityTests
getGet a connectivityTests
ArgumentTypeDescription
identifierstringThe name of the connectivityTests
updateUpdate connectivityTests attributes
deleteDelete the connectivityTests
ArgumentTypeDescription
identifierstringThe name of the connectivityTests
syncSync connectivityTests state from GCP
rerunrerun

Resources

state(infinite)— A Connectivity Test for a network reachability analysis.
@swamp/gcp/networkmanagement/locationsv2026.04.23.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/networkmanagement/vpcflowlogsconfigsv2026.04.23.1vpcflowlogsconfigs.ts

Global Arguments

ArgumentTypeDescription
aggregationInterval?enumOptional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
crossProjectMetadata?enumOptional. Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
description?stringOptional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.
filterExpr?stringOptional. Export filter used to define which VPC Flow Logs should be logged.
flowSamplingnumber
interconnectAttachment?stringTraffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}
labels?recordOptional. Resource labels to represent user-provided metadata.
metadata?enumOptional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
metadataFields?arrayOptional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.
name?stringIdentifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`
network?stringTraffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}
state?enumOptional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.
subnet?stringTraffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}
vpnTunnel?stringTraffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}
vpcFlowLogsConfigId?stringRequired. ID of the `VpcFlowLogsConfig`.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a vpcFlowLogsConfigs
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a vpcFlowLogsConfigs
ArgumentTypeDescription
identifierstringThe name of the vpcFlowLogsConfigs
updateUpdate vpcFlowLogsConfigs attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the vpcFlowLogsConfigs
ArgumentTypeDescription
identifierstringThe name of the vpcFlowLogsConfigs
syncSync vpcFlowLogsConfigs state from GCP

Resources

state(infinite)— A configuration to generate VPC Flow Logs.