Reference documentation and code samples for the Google Cloud Security Command Center V1p1beta1 Client class CreateNotificationConfigRequest.
Request message for creating a notification config.
Generated from protobuf message google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]". |
↳ config_id |
string
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains alphanumeric characters, underscores or hyphens only. |
↳ notification_config |
Google\Cloud\SecurityCenter\V1p1beta1\NotificationConfig
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource. |
getParent
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]".
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]".
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConfigId
Required. Unique identifier provided by the client within the parent scope.
It must be between 1 and 128 characters, and contains alphanumeric characters, underscores or hyphens only.
Generated from protobuf field string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setConfigId
Required. Unique identifier provided by the client within the parent scope.
It must be between 1 and 128 characters, and contains alphanumeric characters, underscores or hyphens only.
Generated from protobuf field string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNotificationConfig
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\SecurityCenter\V1p1beta1\NotificationConfig|null |
hasNotificationConfig
clearNotificationConfig
setNotificationConfig
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecurityCenter\V1p1beta1\NotificationConfig
|
Returns | |
---|---|
Type | Description |
$this |