@@ -52,6 +52,15 @@ public final class DriveOptions extends com.google.api.client.json.GenericJson {
5252 @ com .google .api .client .util .Key
5353 private java .lang .Boolean includeTeamDrives ;
5454
55+ /**
56+ * Optional. Options to include or exclude documents in shared drives. We recommend using this
57+ * field over include_shared_drives. This field overrides include_shared_drives and
58+ * include_team_drives when set.
59+ * The value may be {@code null}.
60+ */
61+ @ com .google .api .client .util .Key
62+ private java .lang .String sharedDrivesOption ;
63+
5564 /**
5665 * Search the current version of the Drive file, but export the contents of the last version saved
5766 * before 12:00 AM UTC on the specified date. Enter the date in UTC.
@@ -115,6 +124,27 @@ public DriveOptions setIncludeTeamDrives(java.lang.Boolean includeTeamDrives) {
115124 return this ;
116125 }
117126
127+ /**
128+ * Optional. Options to include or exclude documents in shared drives. We recommend using this
129+ * field over include_shared_drives. This field overrides include_shared_drives and
130+ * include_team_drives when set.
131+ * @return value or {@code null} for none
132+ */
133+ public java .lang .String getSharedDrivesOption () {
134+ return sharedDrivesOption ;
135+ }
136+
137+ /**
138+ * Optional. Options to include or exclude documents in shared drives. We recommend using this
139+ * field over include_shared_drives. This field overrides include_shared_drives and
140+ * include_team_drives when set.
141+ * @param sharedDrivesOption sharedDrivesOption or {@code null} for none
142+ */
143+ public DriveOptions setSharedDrivesOption (java .lang .String sharedDrivesOption ) {
144+ this .sharedDrivesOption = sharedDrivesOption ;
145+ return this ;
146+ }
147+
118148 /**
119149 * Search the current version of the Drive file, but export the contents of the last version saved
120150 * before 12:00 AM UTC on the specified date. Enter the date in UTC.
0 commit comments