Reference documentation and code samples for the Compute V1 Client class RiskDetailsGlobalDnsInsight.
Detailed insights for a global DNS reliability risk.
Generated from protobuf message google.cloud.compute.v1.RiskDetailsGlobalDnsInsight
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project_default_is_global_dns |
bool
Indicates whether the project's default DNS setting is global DNS. |
↳ query_observation_window |
string
The observation window for the query counts. |
↳ risky_query_count |
int|string
The number of queries that are risky. This is always less than or equal to total_query_count. |
↳ total_query_count |
int|string
The total number of queries in the observation window. |
getProjectDefaultIsGlobalDns
Indicates whether the project's default DNS setting is global DNS.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasProjectDefaultIsGlobalDns
clearProjectDefaultIsGlobalDns
setProjectDefaultIsGlobalDns
Indicates whether the project's default DNS setting is global DNS.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getQueryObservationWindow
The observation window for the query counts.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasQueryObservationWindow
clearQueryObservationWindow
setQueryObservationWindow
The observation window for the query counts.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRiskyQueryCount
The number of queries that are risky. This is always less than or equal to total_query_count.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasRiskyQueryCount
clearRiskyQueryCount
setRiskyQueryCount
The number of queries that are risky. This is always less than or equal to total_query_count.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTotalQueryCount
The total number of queries in the observation window.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasTotalQueryCount
clearTotalQueryCount
setTotalQueryCount
The total number of queries in the observation window.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|