- 1.64.0 (latest)
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public interface SubnetworkLogConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAggregationInterval()
public abstract String getAggregationInterval()
Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. Check the AggregationInterval enum for the list of possible values.
optional string aggregation_interval = 174919042;
Returns | |
---|---|
Type | Description |
String | The aggregationInterval. |
getAggregationIntervalBytes()
public abstract ByteString getAggregationIntervalBytes()
Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. Check the AggregationInterval enum for the list of possible values.
optional string aggregation_interval = 174919042;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for aggregationInterval. |
getEnable()
public abstract boolean getEnable()
Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
optional bool enable = 311764355;
Returns | |
---|---|
Type | Description |
boolean | The enable. |
getFilterExpr()
public abstract String getFilterExpr()
Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
optional string filter_expr = 183374428;
Returns | |
---|---|
Type | Description |
String | The filterExpr. |
getFilterExprBytes()
public abstract ByteString getFilterExprBytes()
Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
optional string filter_expr = 183374428;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for filterExpr. |
getFlowSampling()
public abstract float getFlowSampling()
Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set 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 is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
optional float flow_sampling = 530150360;
Returns | |
---|---|
Type | Description |
float | The flowSampling. |
getMetadata()
public abstract String getMetadata()
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. Check the Metadata enum for the list of possible values.
optional string metadata = 86866735;
Returns | |
---|---|
Type | Description |
String | The metadata. |
getMetadataBytes()
public abstract ByteString getMetadataBytes()
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. Check the Metadata enum for the list of possible values.
optional string metadata = 86866735;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for metadata. |
getMetadataFields(int index)
public abstract String getMetadataFields(int index)
Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 378461641;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The metadataFields at the given index. |
getMetadataFieldsBytes(int index)
public abstract ByteString getMetadataFieldsBytes(int index)
Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 378461641;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the metadataFields at the given index. |
getMetadataFieldsCount()
public abstract int getMetadataFieldsCount()
Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 378461641;
Returns | |
---|---|
Type | Description |
int | The count of metadataFields. |
getMetadataFieldsList()
public abstract List<String> getMetadataFieldsList()
Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 378461641;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the metadataFields. |
hasAggregationInterval()
public abstract boolean hasAggregationInterval()
Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. Check the AggregationInterval enum for the list of possible values.
optional string aggregation_interval = 174919042;
Returns | |
---|---|
Type | Description |
boolean | Whether the aggregationInterval field is set. |
hasEnable()
public abstract boolean hasEnable()
Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
optional bool enable = 311764355;
Returns | |
---|---|
Type | Description |
boolean | Whether the enable field is set. |
hasFilterExpr()
public abstract boolean hasFilterExpr()
Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
optional string filter_expr = 183374428;
Returns | |
---|---|
Type | Description |
boolean | Whether the filterExpr field is set. |
hasFlowSampling()
public abstract boolean hasFlowSampling()
Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set 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 is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
optional float flow_sampling = 530150360;
Returns | |
---|---|
Type | Description |
boolean | Whether the flowSampling field is set. |
hasMetadata()
public abstract boolean hasMetadata()
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. Check the Metadata enum for the list of possible values.
optional string metadata = 86866735;
Returns | |
---|---|
Type | Description |
boolean | Whether the metadata field is set. |