public final class Notifications
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google My Business API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Notifications() |
Modifier and Type | Method and Description |
---|---|
Notifications |
clone() |
java.lang.String |
getName()
Output only.
|
java.util.List<java.lang.String> |
getNotificationTypes()
The types of notifications that will be sent to the Cloud Pub/Sub topic.
|
java.lang.String |
getTopicName()
The Google Cloud Pub/Sub topic that will receive notifications when locations managed by this
account are updated.
|
Notifications |
set(java.lang.String fieldName,
java.lang.Object value) |
Notifications |
setName(java.lang.String name)
Output only.
|
Notifications |
setNotificationTypes(java.util.List<java.lang.String> notificationTypes)
The types of notifications that will be sent to the Cloud Pub/Sub topic.
|
Notifications |
setTopicName(java.lang.String topicName)
The Google Cloud Pub/Sub topic that will receive notifications when locations managed by this
account are updated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getName()
null
for nonepublic Notifications setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<java.lang.String> getNotificationTypes()
null
for nonepublic Notifications setNotificationTypes(java.util.List<java.lang.String> notificationTypes)
notificationTypes
- notificationTypes or null
for nonepublic java.lang.String getTopicName()
null
for nonepublic Notifications setTopicName(java.lang.String topicName)
topicName
- topicName or null
for nonepublic Notifications set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Notifications clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.