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\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e API is 3.6.0, which is located under the \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e section.\u003c/p\u003e\n"],["\u003cp\u003eThis document provides a historical list of versions for the \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e enum, spanning from version 1.0.0 up to the current 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e enum is used to configure the metadata fields added to VPC flow logs when they are enabled for a subnetwork.\u003c/p\u003e\n"],["\u003cp\u003eThe available fields for the enum \u003ccode\u003eSubnetworkLogConfig.Types.Metadata\u003c/code\u003e are \u003ccode\u003eCustomMetadata\u003c/code\u003e, \u003ccode\u003eExcludeAllMetadata\u003c/code\u003e, \u003ccode\u003eIncludeAllMetadata\u003c/code\u003e, and \u003ccode\u003eUndefinedMetadata\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe default setting of the metadata is \u003ccode\u003eEXCLUDE_ALL_METADATA\u003c/code\u003e, and the namespace for this is \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]