Reference documentation and code samples for the Compute Engine v1 API enum SubnetworkLogConfig.Types.Metadata.
Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, specifically for version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e enum is used to configure the inclusion of metadata fields in VPC flow logs, with options to include all, exclude all, or customize metadata fields, and only works if VPC flow logs are enabled for the subnetwork.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.6.0, with various other previous versions listed from 3.5.0 down to 1.0.0, all of which contain the \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e data.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details four possible enum values, \u003ccode\u003eCustomMetadata\u003c/code\u003e, \u003ccode\u003eExcludeAllMetadata\u003c/code\u003e, \u003ccode\u003eIncludeAllMetadata\u003c/code\u003e, and \u003ccode\u003eUndefinedMetadata\u003c/code\u003e, each representing a different configuration for metadata in flow logs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e type resides within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is defined in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]