Reference documentation and code samples for the Google Cloud Chronicle V1 Client class CreateRuleRequest.
Request message for CreateRule method.
Generated from protobuf message google.cloud.chronicle.v1.CreateRuleRequest
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource where this rule will be created. Format: |
↳ rule |
Rule
Required. The rule to create. |
getParent
Required. The parent resource where this rule will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent resource where this rule will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRule
Required. The rule to create.
Returns | |
---|---|
Type | Description |
Rule|null |
hasRule
clearRule
setRule
Required. The rule to create.
Parameter | |
---|---|
Name | Description |
var |
Rule
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent resource where this rule will be created.
Format: |
rule |
Rule
Required. The rule to create. |
Returns | |
---|---|
Type | Description |
CreateRuleRequest |