Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::Subscription::DriveOptions (v0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::Subscription::DriveOptions.
Additional supported options for serving Drive events.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#include_descendants
definclude_descendants()->::Boolean
Returns
(::Boolean) — 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.
#include_descendants=
definclude_descendants=(value)->::Boolean
Parameter
value (::Boolean) — 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
(::Boolean) — 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::Subscription::DriveOptions (v0.1.0)\n\nReference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::Subscription::DriveOptions.\n\nAdditional supported options for serving Drive events. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #include_descendants\n\n def include_descendants() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- 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`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_target_resource_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#target_resource (method)\").\n\n\n This flag can be used when the\n [`target_resource`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_target_resource_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#target_resource (method)\")\n is either a\n [Drive](https://developers.google.com/drive/api/reference/rest/v3/drives)\n or a [Drive\n file](https://developers.google.com/drive/api/reference/rest/v3/files)\n that has mimeType set to `application/vnd.google-apps.folder`.\n\n### #include_descendants=\n\n def include_descendants=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- 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`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_target_resource_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#target_resource (method)\").\n\n\n This flag can be used when the\n [`target_resource`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_target_resource_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#target_resource (method)\")\n is either a\n [Drive](https://developers.google.com/drive/api/reference/rest/v3/drives)\n or a [Drive\n file](https://developers.google.com/drive/api/reference/rest/v3/files)\nthat has mimeType set to `application/vnd.google-apps.folder`. \n**Returns**\n\n- (::Boolean) --- 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`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_target_resource_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#target_resource (method)\").\n\n\n This flag can be used when the\n [`target_resource`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_target_resource_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#target_resource (method)\")\n is either a\n [Drive](https://developers.google.com/drive/api/reference/rest/v3/drives)\n or a [Drive\n file](https://developers.google.com/drive/api/reference/rest/v3/files)\n that has mimeType set to `application/vnd.google-apps.folder`."]]