Show / Hide Table of Contents

Class EffectiveVpcFlowLogsConfig

A configuration to generate a response for GetEffectiveVpcFlowLogsConfig request.

Inheritance
object
EffectiveVpcFlowLogsConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetworkManagement.v1beta1.Data
Assembly: Google.Apis.NetworkManagement.v1beta1.dll
Syntax
public class EffectiveVpcFlowLogsConfig : IDirectResponseSchema

Properties

AggregationInterval

The aggregation interval for the logs. Default value is INTERVAL_5_SEC.

Declaration
[JsonProperty("aggregationInterval")]
public virtual string AggregationInterval { get; set; }
Property Value
Type Description
string

CrossProjectMetadata

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.

Declaration
[JsonProperty("crossProjectMetadata")]
public virtual string CrossProjectMetadata { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FilterExpr

Export filter used to define which VPC Flow Logs should be logged.

Declaration
[JsonProperty("filterExpr")]
public virtual string FilterExpr { get; set; }
Property Value
Type Description
string

FlowSampling

The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.

Declaration
[JsonProperty("flowSampling")]
public virtual float? FlowSampling { get; set; }
Property Value
Type Description
float?

InterconnectAttachment

Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}

Declaration
[JsonProperty("interconnectAttachment")]
public virtual string InterconnectAttachment { get; set; }
Property Value
Type Description
string

Metadata

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.

Declaration
[JsonProperty("metadata")]
public virtual string Metadata { get; set; }
Property Value
Type Description
string

MetadataFields

Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.

Declaration
[JsonProperty("metadataFields")]
public virtual IList<string> MetadataFields { get; set; }
Property Value
Type Description
IList<string>

Name

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} - For a Compute config, the name will be the path of the subnet: projects/{project_id}/regions/{region}/subnetworks/{subnet_id}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Network

Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}

Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type Description
string

Scope

Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).

Declaration
[JsonProperty("scope")]
public virtual string Scope { get; set; }
Property Value
Type Description
string

State

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.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Subnet

Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}

Declaration
[JsonProperty("subnet")]
public virtual string Subnet { get; set; }
Property Value
Type Description
string

VpnTunnel

Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}

Declaration
[JsonProperty("vpnTunnel")]
public virtual string VpnTunnel { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX