public final class ReportingRule
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 Workspace Alert Center 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReportingRule() |
Modifier and Type | Method and Description |
---|---|
ReportingRule |
clone() |
byte[] |
decodeAlertDetails()
Any other associated alert details, for example, AlertConfiguration.
|
byte[] |
decodeQuery()
Alert Rule query Sample Query query { condition { filter { expected_application_id:
777491262838 expected_event_name: "indexable_content_change" filter_op: IN } }
conjunction_operator: OR }
|
ReportingRule |
encodeAlertDetails(byte[] alertDetails)
Any other associated alert details, for example, AlertConfiguration.
|
ReportingRule |
encodeQuery(byte[] query)
Alert Rule query Sample Query query { condition { filter { expected_application_id:
777491262838 expected_event_name: "indexable_content_change" filter_op: IN } }
conjunction_operator: OR }
|
String |
getAlertDetails()
Any other associated alert details, for example, AlertConfiguration.
|
String |
getName()
Rule name
|
String |
getQuery()
Alert Rule query Sample Query query { condition { filter { expected_application_id:
777491262838 expected_event_name: "indexable_content_change" filter_op: IN } }
conjunction_operator: OR }
|
ReportingRule |
set(String fieldName,
Object value) |
ReportingRule |
setAlertDetails(String alertDetails)
Any other associated alert details, for example, AlertConfiguration.
|
ReportingRule |
setName(String name)
Rule name
|
ReportingRule |
setQuery(String query)
Alert Rule query Sample Query query { condition { filter { expected_application_id:
777491262838 expected_event_name: "indexable_content_change" filter_op: IN } }
conjunction_operator: OR }
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAlertDetails()
null
for nonedecodeAlertDetails()
public byte[] decodeAlertDetails()
null
for nonegetAlertDetails()
public ReportingRule setAlertDetails(String alertDetails)
alertDetails
- alertDetails or null
for none#encodeAlertDetails()
public ReportingRule encodeAlertDetails(byte[] alertDetails)
The value is encoded Base64 or {@code null} for none.
public String getName()
null
for nonepublic ReportingRule setName(String name)
name
- name or null
for nonepublic String getQuery()
null
for nonedecodeQuery()
public byte[] decodeQuery()
null
for nonegetQuery()
public ReportingRule setQuery(String query)
query
- query or null
for none#encodeQuery()
public ReportingRule encodeQuery(byte[] query)
The value is encoded Base64 or {@code null} for none.
public ReportingRule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ReportingRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.