Class NotificationsResource
The "notifications" collection of methods.
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class NotificationsResource
Constructors
NotificationsResource(IClientService)
Constructs a new resource.
Declaration
public NotificationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string)
Permanently deletes a notification subscription.
Declaration
public virtual NotificationsResource.DeleteRequest Delete(string bucket, string notification)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | The parent bucket of the notification. |
string | notification | ID of the notification to delete. |
Returns
Type | Description |
---|---|
NotificationsResource.DeleteRequest |
Get(string, string)
View a notification configuration.
Declaration
public virtual NotificationsResource.GetRequest Get(string bucket, string notification)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | The parent bucket of the notification. |
string | notification | Notification ID |
Returns
Type | Description |
---|---|
NotificationsResource.GetRequest |
Insert(Notification, string)
Creates a notification subscription for a given bucket.
Declaration
public virtual NotificationsResource.InsertRequest Insert(Notification body, string bucket)
Parameters
Type | Name | Description |
---|---|---|
Notification | body | The body of the request. |
string | bucket | The parent bucket of the notification. |
Returns
Type | Description |
---|---|
NotificationsResource.InsertRequest |
List(string)
Retrieves a list of notification subscriptions for a given bucket.
Declaration
public virtual NotificationsResource.ListRequest List(string bucket)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of a Google Cloud Storage bucket. |
Returns
Type | Description |
---|---|
NotificationsResource.ListRequest |