【发布时间】:2017-12-07 14:49:24
【问题描述】:
在Google API 之后,我为指定用户添加了自定义属性。
我已经试过了——它一般对我有用。我可以添加String 属性和String 值。如果属性值完全匹配,我也成功地从 Google 加载了相应的数据。指定共享属性标准的格式是(私有属性类似):
/**
* Extended properties constraint specified as propertyName=value. Matches only shared
* properties. This parameter might be repeated multiple times to return events that match all
* given constraints.
*/
public List setSharedExtendedProperty(java.util.List<java.lang.String> sharedExtendedProperty) {
this.sharedExtendedProperty = sharedExtendedProperty;
return this;
}
现在我需要在 Google 属性中收集 publicCase 属性。之后我应该能够匹配一个对应的标准请求。是否可以在包含 publicCase 自定义属性 where publicCase in ["valueCollection"] 的 Google 日历事件中找到?如果可能,请为我分享相应的信息。
另一个问题。是否可以指定条件匹配属性值的subSting?
如何在请求中指定OR 规则?有可能吗?
PS
作为 Google 客户端,我使用 google-api-services-calendar-v3-rev225-1.22.0.jar。如果有任何正确的示例(java、js、pyton 和其他)或 API 文档来回答我的问题,我会很高兴。
【问题讨论】:
标签: java google-custom-search google-calendar-api