Class ProjectsResource.NotificationConfigsResource
The "notificationConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class ProjectsResource.NotificationConfigsResource
Constructors
NotificationConfigsResource(IClientService)
Constructs a new resource.
Declaration
public NotificationConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(NotificationConfig, string)
Creates a notification config.
Declaration
public virtual ProjectsResource.NotificationConfigsResource.CreateRequest Create(NotificationConfig body, string parent)
Parameters
Type | Name | Description |
---|---|---|
NotificationConfig | body | The body of the request. |
string | parent | Required. Resource name of the new notification config's parent. Its format is
|
Returns
Type | Description |
---|---|
ProjectsResource.NotificationConfigsResource.CreateRequest |
Delete(string)
Deletes a notification config.
Declaration
public virtual ProjectsResource.NotificationConfigsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the notification config to delete. Its format is
|
Returns
Type | Description |
---|---|
ProjectsResource.NotificationConfigsResource.DeleteRequest |
Get(string)
Gets a notification config.
Declaration
public virtual ProjectsResource.NotificationConfigsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the notification config to get. Its format is
|
Returns
Type | Description |
---|---|
ProjectsResource.NotificationConfigsResource.GetRequest |
List(string)
Lists notification configs.
Declaration
public virtual ProjectsResource.NotificationConfigsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the parent in which to list the notification configurations. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". |
Returns
Type | Description |
---|---|
ProjectsResource.NotificationConfigsResource.ListRequest |
Patch(NotificationConfig, string)
Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
Declaration
public virtual ProjectsResource.NotificationConfigsResource.PatchRequest Patch(NotificationConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
NotificationConfig | body | The body of the request. |
string | name | The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket". |
Returns
Type | Description |
---|---|
ProjectsResource.NotificationConfigsResource.PatchRequest |