Class NotificationsResource
The "notifications" collection of methods.
Inheritance
System.Object
NotificationsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.String | bucket | The parent bucket of the notification. |
System.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 |
---|---|---|
System.String | bucket | The parent bucket of the notification. |
System.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. |
System.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 |
---|---|---|
System.String | bucket | Name of a Google Cloud Storage bucket. |
Returns
Type | Description |
---|---|
NotificationsResource.ListRequest |