fieldMask = $fieldMask; } /** * @return string */ public function getFieldMask() { return $this->fieldMask; } /** * Optional. Whether the event payload includes data about the resource that * changed. For example, for an event where a Google Chat message was created, * whether the payload contains data about the [`Message`](https://developers. * google.com/chat/api/reference/rest/v1/spaces.messages) resource. If false, * the event payload only includes the name of the changed resource. * * @param bool $includeResource */ public function setIncludeResource($includeResource) { $this->includeResource = $includeResource; } /** * @return bool */ public function getIncludeResource() { return $this->includeResource; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PayloadOptions::class, 'Google_Service_WorkspaceEvents_PayloadOptions');