Show / Hide Table of Contents

Class Notification

A subscription to receive Google PubSub notifications.

Inheritance
object
Notification
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
IDictionary<string, string>

ETag

HTTP 1.1 Entity tag for this subscription notification.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
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
IList<string>

Id

The ID of the notification.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
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
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
string

PayloadFormat

The desired content of the Payload.

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

SelfLink

The canonical URL of this notification.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
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
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX