Show / Hide Table of Contents

Class Notification

A subscription to receive Google PubSub notifications.

Inheritance
System.Object
Notification
Implements
IDirectResponseSchema
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.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Notification : IDirectResponseSchema

Properties

CustomAttributes

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

Declaration
[JsonProperty("custom_attributes")]
public virtual IDictionary<string, string> CustomAttributes { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

ETag

HTTP 1.1 Entity tag for this subscription notification.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

EventTypes

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

Declaration
[JsonProperty("event_types")]
public virtual IList<string> EventTypes { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Id

The ID of the notification.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Kind

The kind of item this is. For notifications, this is always storage#notification.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

ObjectNamePrefix

If present, only apply this notification configuration to object names that begin with this prefix.

Declaration
[JsonProperty("object_name_prefix")]
public virtual string ObjectNamePrefix { get; set; }
Property Value
Type Description
System.String

PayloadFormat

The desired content of the Payload.

Declaration
[JsonProperty("payload_format")]
public virtual string PayloadFormat { get; set; }
Property Value
Type Description
System.String

SelfLink

The canonical URL of this notification.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
System.String

Topic

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

Declaration
[JsonProperty("topic")]
public virtual string Topic { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top