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
Optional. 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 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 |
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/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled.
Declaration
[JsonProperty("state")]
public virtual string State { 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}/regions/{region}/vpnTunnels/{name}
Declaration
[JsonProperty("vpnTunnel")]
public virtual string VpnTunnel { get; set; }
Property Value
Type | Description |
---|---|
string |