Class VpcFlowLogsConfig
A configuration to generate VPC Flow Logs.
Implements
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1beta1.Data
Assembly: Google.Apis.NetworkManagement.v1beta1.dll
Syntax
public class VpcFlowLogsConfig : IDirectResponseSchema
Properties
AggregationInterval
Optional. 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 |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time the config was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.
Declaration
[JsonProperty("description")]
public virtual string Description { 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
Optional. The value of the field must be in [0, 1]. The sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. 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}/locations/{region}/interconnectAttachments/{name}
Declaration
[JsonProperty("interconnectAttachment")]
public virtual string InterconnectAttachment { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. Resource labels to represent user-provided metadata.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Metadata
Optional. 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
Optional. 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
Identifier. Unique name of the configuration using the form:
projects/{project_id}/locations/global/vpcFlowLogs/{vpc_flow_log}
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}/networks/{name}
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Optional. The state of the VPC Flow Log. Default value is ENABLED.
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}/locations/{region}/subnetworks/{name}
Declaration
[JsonProperty("subnet")]
public virtual string Subnet { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The time the config was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
VpnTunnel
Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/locations/{region}/vpnTunnels/{name}
Declaration
[JsonProperty("vpnTunnel")]
public virtual string VpnTunnel { get; set; }
Property Value
Type | Description |
---|---|
string |