Represents a SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.
Package
@google-cloud/computeConstructors
(constructor)(properties)
constructor(properties?: google.cloud.compute.v1.ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig);Constructs a new SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.
| Parameter | |
|---|---|
| Name | Description |
properties |
ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Properties to set |
Properties
_autoDeployConfidenceThreshold
public _autoDeployConfidenceThreshold?: "autoDeployConfidenceThreshold";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _autoDeployConfidenceThreshold.
_autoDeployExpirationSec
public _autoDeployExpirationSec?: "autoDeployExpirationSec";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _autoDeployExpirationSec.
_autoDeployImpactedBaselineThreshold
public _autoDeployImpactedBaselineThreshold?: "autoDeployImpactedBaselineThreshold";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _autoDeployImpactedBaselineThreshold.
_autoDeployLoadThreshold
public _autoDeployLoadThreshold?: "autoDeployLoadThreshold";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _autoDeployLoadThreshold.
_detectionAbsoluteQps
public _detectionAbsoluteQps?: "detectionAbsoluteQps";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _detectionAbsoluteQps.
_detectionLoadThreshold
public _detectionLoadThreshold?: "detectionLoadThreshold";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _detectionLoadThreshold.
_detectionRelativeToBaselineQps
public _detectionRelativeToBaselineQps?: "detectionRelativeToBaselineQps";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _detectionRelativeToBaselineQps.
_name
public _name?: "name";SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig _name.
autoDeployConfidenceThreshold
public autoDeployConfidenceThreshold?: (number|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig autoDeployConfidenceThreshold.
autoDeployExpirationSec
public autoDeployExpirationSec?: (number|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig autoDeployExpirationSec.
autoDeployImpactedBaselineThreshold
public autoDeployImpactedBaselineThreshold?: (number|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig autoDeployImpactedBaselineThreshold.
autoDeployLoadThreshold
public autoDeployLoadThreshold?: (number|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig autoDeployLoadThreshold.
detectionAbsoluteQps
public detectionAbsoluteQps?: (number|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig detectionAbsoluteQps.
detectionLoadThreshold
public detectionLoadThreshold?: (number|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig detectionLoadThreshold.
detectionRelativeToBaselineQps
public detectionRelativeToBaselineQps?: (number|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig detectionRelativeToBaselineQps.
name
public name?: (string|null);SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig name.
trafficGranularityConfigs
public trafficGranularityConfigs: google.cloud.compute.v1.ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig[];SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig trafficGranularityConfigs.
Methods
create(properties)
public static create(properties?: google.cloud.compute.v1.ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig): google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig;Creates a new SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Properties to set |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig;Decodes a SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message from the specified reader or buffer.
| Parameters | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig;Decodes a SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
encode(message, writer)
public static encode(message: google.cloud.compute.v1.ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.compute.v1.ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
ISecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig;Creates a SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message from a plain object. Also converts values to their respective internal types.
| Parameter | |
|---|---|
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
| Parameter | |
|---|---|
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Returns | |
|---|---|
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig |
options |
$protobuf.IConversionOptions
Conversion options |
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|