target.apidocs.com.google.api.services.content.model.PubsubNotificationSettings.html Maven / Gradle / Ivy
PubsubNotificationSettings (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class PubsubNotificationSettings
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.PubsubNotificationSettings
-
public final class PubsubNotificationSettings
extends com.google.api.client.json.GenericJson
Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the
merchant center account.
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 Content API for Shopping. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PubsubNotificationSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PubsubNotificationSettings
clone()
String
getCloudTopicName()
Cloud pub/sub topic to which notifications are sent (read-only).
String
getKind()
Identifies what kind of resource this is.
List<String>
getRegisteredEvents()
List of event types.
PubsubNotificationSettings
set(String fieldName,
Object value)
PubsubNotificationSettings
setCloudTopicName(String cloudTopicName)
Cloud pub/sub topic to which notifications are sent (read-only).
PubsubNotificationSettings
setKind(String kind)
Identifies what kind of resource this is.
PubsubNotificationSettings
setRegisteredEvents(List<String> registeredEvents)
List of event types.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCloudTopicName
public String getCloudTopicName()
Cloud pub/sub topic to which notifications are sent (read-only).
- Returns:
- value or
null
for none
-
setCloudTopicName
public PubsubNotificationSettings setCloudTopicName(String cloudTopicName)
Cloud pub/sub topic to which notifications are sent (read-only).
- Parameters:
cloudTopicName
- cloudTopicName or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string
"`content#pubsubNotificationSettings`"
- Returns:
- value or
null
for none
-
setKind
public PubsubNotificationSettings setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
"`content#pubsubNotificationSettings`"
- Parameters:
kind
- kind or null
for none
-
getRegisteredEvents
public List<String> getRegisteredEvents()
List of event types. Acceptable values are: - "`orderPendingShipment`"
- Returns:
- value or
null
for none
-
setRegisteredEvents
public PubsubNotificationSettings setRegisteredEvents(List<String> registeredEvents)
List of event types. Acceptable values are: - "`orderPendingShipment`"
- Parameters:
registeredEvents
- registeredEvents or null
for none
-
set
public PubsubNotificationSettings set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PubsubNotificationSettings clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy