Reference documentation and code samples for the Google Apps Events Subscriptions V1beta Client class DriveOptions.
Additional supported options for serving Drive events.
Generated from protobuf message google.apps.events.subscriptions.v1beta.Subscription.DriveOptions
Namespace
Google \ Apps \ Events \ Subscriptions \ V1beta \ SubscriptionMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ include_descendants |
bool
Optional. Immutable. Whether to include all the descendant Drive files in the list of events. If false, the subscription will be created for the single file/drive that is specified as the |
getIncludeDescendants
Optional. Immutable. Whether to include all the descendant Drive files in
the list of events. If false, the subscription will be created for the
single file/drive that is specified as the
target_resource
.
This flag can be used when the
target_resource
is either a
Drive
or a Drive
file
that has mimeType set to application/vnd.google-apps.folder
.
Returns | |
---|---|
Type | Description |
bool |
setIncludeDescendants
Optional. Immutable. Whether to include all the descendant Drive files in
the list of events. If false, the subscription will be created for the
single file/drive that is specified as the
target_resource
.
This flag can be used when the
target_resource
is either a
Drive
or a Drive
file
that has mimeType set to application/vnd.google-apps.folder
.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |