Show / Hide Table of Contents

Class OrganizationsResource.NotificationConfigsResource

The "notificationConfigs" collection of methods.

Inheritance
object
OrganizationsResource.NotificationConfigsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class OrganizationsResource.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 OrganizationsResource.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 organizations/[organization_id], folders/[folder_id], or projects/[project_id].

Returns
Type Description
OrganizationsResource.NotificationConfigsResource.CreateRequest

Delete(string)

Deletes a notification config.

Declaration
public virtual OrganizationsResource.NotificationConfigsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the notification config to delete. Its format is organizations/[organization_id]/notificationConfigs/[config_id], folders/[folder_id]/notificationConfigs/[config_id], or projects/[project_id]/notificationConfigs/[config_id].

Returns
Type Description
OrganizationsResource.NotificationConfigsResource.DeleteRequest

Get(string)

Gets a notification config.

Declaration
public virtual OrganizationsResource.NotificationConfigsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the notification config to get. Its format is organizations/[organization_id]/notificationConfigs/[config_id], folders/[folder_id]/notificationConfigs/[config_id], or projects/[project_id]/notificationConfigs/[config_id].

Returns
Type Description
OrganizationsResource.NotificationConfigsResource.GetRequest

List(string)

Lists notification configs.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.NotificationConfigsResource.ListRequest

Patch(NotificationConfig, string)

Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.NotificationConfigsResource.PatchRequest
In this article
Back to top Generated by DocFX