Send feedback
Class NotificationInfo (0.158.0-beta)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.158.0-beta keyboard_arrow_down
public class NotificationInfo implements Serializable
Inheritance
Object >
NotificationInfo
Static Methods
newBuilder(ProjectTopicName topic)
public static NotificationInfo.Builder newBuilder(ProjectTopicName topic)
Returns a NotificationInfo
builder where the topic's name is set to the provided name.
Parameter Name Description topic
com.google.pubsub.v1.ProjectTopicName
of(ProjectTopicName topic)
public static NotificationInfo of(ProjectTopicName topic)
Creates a NotificationInfo
object for the provided topic name.
Parameter Name Description topic
com.google.pubsub.v1.ProjectTopicName
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter Name Description obj
Object
Overrides
getCustomAttributes()
public Map<String,String> getCustomAttributes()
Returns the list of additional attributes to attach to each Cloud PubSub message published for
this notification subscription.
See Also: About Access Control Lists
getEtag()
Returns HTTP 1.1 Entity tag for the notification.
See Also: Entity Tags
getEventTypes()
public List<String> getEventTypes()
getGeneratedId()
public String getGeneratedId()
Returns the service-generated id for the notification.
getObjectNamePrefix()
public String getObjectNamePrefix()
Returns the object name prefix for which this notification configuration applies.
public NotificationInfo.PayloadFormat getPayloadFormat()
Returns the desired content of the Payload.
getSelfLink()
public String getSelfLink()
Returns the canonical URI of this topic as a string.
getTopic()
public ProjectTopicName getTopic()
Returns the Cloud PubSub topic to which this subscription publishes.
Returns Type Description com.google.pubsub.v1.ProjectTopicName
hashCode()
Returns Type Description int
Overrides
toBuilder()
public NotificationInfo.Builder toBuilder()
Returns a builder for the current notification.
toString()
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]