Reference documentation and code samples for the Google Cloud Chronicle Client class Question.
DNS Questions. See RFC1035, section 4.1.2.
Generated from protobuf message google.backstory.Dns.Question
Namespace
Google \ Backstory \ DnsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The domain name. |
↳ type |
int
The code specifying the type of the query. |
↳ class |
int
The code specifying the class of the query. |
↳ prevalence |
Google\Backstory\Prevalence
The prevalence of the domain within the customer's environment. |
getName
The domain name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
The domain name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
The code specifying the type of the query.
| Returns | |
|---|---|
| Type | Description |
int |
|
setType
The code specifying the type of the query.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClass
The code specifying the class of the query.
| Returns | |
|---|---|
| Type | Description |
int |
|
setClass
The code specifying the class of the query.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrevalence
The prevalence of the domain within the customer's environment.
| Returns | |
|---|---|
| Type | Description |
Google\Backstory\Prevalence|null |
|
hasPrevalence
clearPrevalence
setPrevalence
The prevalence of the domain within the customer's environment.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Backstory\Prevalence
|
| Returns | |
|---|---|
| Type | Description |
$this |
|