class GoogleDrive::ChangesApi
- GoogleDrive::ChangesApi
- Reference
- Object
Defined in:
google_drive/api/changes_api.crConstant Summary
-
DRIVE_CHANGES_GET_START_PAGE_TOKEN_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
DRIVE_CHANGES_LIST_MAX_FOR_PAGE_SIZE =
Int32.new("1000")
-
DRIVE_CHANGES_LIST_MIN_FOR_PAGE_SIZE =
Int32.new("1")
-
DRIVE_CHANGES_LIST_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
DRIVE_CHANGES_WATCH_MAX_FOR_PAGE_SIZE =
Int32.new("1000")
-
DRIVE_CHANGES_WATCH_MIN_FOR_PAGE_SIZE =
Int32.new("1")
-
DRIVE_CHANGES_WATCH_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
Constructors
Instance Method Summary
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_get_start_page_token(*, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_list(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_watch(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil, channel : GoogleDrive::Channel | Nil = nil) : Crest::Request
@return Crest::Request
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#get_start_page_token(*, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil) : GoogleDrive::StartPageToken
Gets the starting pageToken for listing future changes.
-
#get_start_page_token(*, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil, &block : Crest::Response -> ) : Nil
Gets the starting pageToken for listing future changes.
-
#get_start_page_token_with_http_info(*, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil) : Tuple(GoogleDrive::StartPageToken, Int32, Hash(String, Array(String) | String))
Gets the starting pageToken for listing future changes.
-
#list(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil) : GoogleDrive::ChangeList
Lists the changes for a user or shared drive.
-
#list(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil, &block : Crest::Response -> ) : Nil
Lists the changes for a user or shared drive.
-
#list_with_http_info(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil) : Tuple(GoogleDrive::ChangeList, Int32, Hash(String, Array(String) | String))
Lists the changes for a user or shared drive.
-
#watch(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil, channel : GoogleDrive::Channel | Nil = nil) : GoogleDrive::Channel
Subscribes to changes for a user.
-
#watch(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil, channel : GoogleDrive::Channel | Nil = nil, &block : Crest::Response -> ) : Nil
Subscribes to changes for a user.
-
#watch_with_http_info(*, page_token : String | Nil = nil, alt : String | Nil = "json", fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, user_ip : String | Nil = nil, drive_id : String | Nil = nil, include_corpus_removals : Bool | Nil = nil, include_items_from_all_drives : Bool | Nil = nil, include_labels : String | Nil = nil, include_permissions_for_view : String | Nil = nil, include_removed : Bool | Nil = nil, include_team_drive_items : Bool | Nil = nil, page_size : Int32 | Nil = nil, restrict_to_my_drive : Bool | Nil = nil, spaces : String | Nil = nil, supports_all_drives : Bool | Nil = nil, supports_team_drives : Bool | Nil = nil, team_drive_id : String | Nil = nil, channel : GoogleDrive::Channel | Nil = nil) : Tuple(GoogleDrive::Channel, Int32, Hash(String, Array(String) | String))
Subscribes to changes for a user.
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
@return Crest::Request
Gets the starting pageToken for listing future changes. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @return [GoogleDrive::StartPageToken]
Gets the starting pageToken for listing future changes. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @return nil
Gets the starting pageToken for listing future changes. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @return [Tuple(GoogleDrive::StartPageToken, Integer, Hash)] GoogleDrive::StartPageToken, response status code and response headers
Lists the changes for a user or shared drive. @required @param page_token [String?] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier. @optional @param include_corpus_removals [Bool?] Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file. @optional @param include_items_from_all_drives [Bool?] Whether both My Drive and shared drive items should be included in results. @optional @param include_labels [String?] A comma-separated list of IDs of labels to include in the labelInfo part of the response. @optional @param include_permissions_for_view [String?] Specifies which additional view's permissions to include in the response. Only 'published' is supported. @optional @param include_removed [Bool?] Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. @optional @param include_team_drive_items [Bool?] Deprecated use includeItemsFromAllDrives instead. @optional @param page_size [Int32?] The maximum number of changes to return per page. @optional @param restrict_to_my_drive [Bool?] Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive. @optional @param spaces [String?] A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @return [GoogleDrive::ChangeList]
Lists the changes for a user or shared drive. @required @param page_token [String?] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier. @optional @param include_corpus_removals [Bool?] Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file. @optional @param include_items_from_all_drives [Bool?] Whether both My Drive and shared drive items should be included in results. @optional @param include_labels [String?] A comma-separated list of IDs of labels to include in the labelInfo part of the response. @optional @param include_permissions_for_view [String?] Specifies which additional view's permissions to include in the response. Only 'published' is supported. @optional @param include_removed [Bool?] Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. @optional @param include_team_drive_items [Bool?] Deprecated use includeItemsFromAllDrives instead. @optional @param page_size [Int32?] The maximum number of changes to return per page. @optional @param restrict_to_my_drive [Bool?] Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive. @optional @param spaces [String?] A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @return nil
Lists the changes for a user or shared drive. @required @param page_token [String?] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier. @optional @param include_corpus_removals [Bool?] Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file. @optional @param include_items_from_all_drives [Bool?] Whether both My Drive and shared drive items should be included in results. @optional @param include_labels [String?] A comma-separated list of IDs of labels to include in the labelInfo part of the response. @optional @param include_permissions_for_view [String?] Specifies which additional view's permissions to include in the response. Only 'published' is supported. @optional @param include_removed [Bool?] Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. @optional @param include_team_drive_items [Bool?] Deprecated use includeItemsFromAllDrives instead. @optional @param page_size [Int32?] The maximum number of changes to return per page. @optional @param restrict_to_my_drive [Bool?] Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive. @optional @param spaces [String?] A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @return [Tuple(GoogleDrive::ChangeList, Integer, Hash)] GoogleDrive::ChangeList, response status code and response headers
Subscribes to changes for a user. @required @param page_token [String?] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier. @optional @param include_corpus_removals [Bool?] Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file. @optional @param include_items_from_all_drives [Bool?] Whether both My Drive and shared drive items should be included in results. @optional @param include_labels [String?] A comma-separated list of IDs of labels to include in the labelInfo part of the response. @optional @param include_permissions_for_view [String?] Specifies which additional view's permissions to include in the response. Only 'published' is supported. @optional @param include_removed [Bool?] Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. @optional @param include_team_drive_items [Bool?] Deprecated use includeItemsFromAllDrives instead. @optional @param page_size [Int32?] The maximum number of changes to return per page. @optional @param restrict_to_my_drive [Bool?] Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive. @optional @param spaces [String?] A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @optional @param channel [GoogleDrive::Channel?] @return [GoogleDrive::Channel]
Subscribes to changes for a user. @required @param page_token [String?] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier. @optional @param include_corpus_removals [Bool?] Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file. @optional @param include_items_from_all_drives [Bool?] Whether both My Drive and shared drive items should be included in results. @optional @param include_labels [String?] A comma-separated list of IDs of labels to include in the labelInfo part of the response. @optional @param include_permissions_for_view [String?] Specifies which additional view's permissions to include in the response. Only 'published' is supported. @optional @param include_removed [Bool?] Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. @optional @param include_team_drive_items [Bool?] Deprecated use includeItemsFromAllDrives instead. @optional @param page_size [Int32?] The maximum number of changes to return per page. @optional @param restrict_to_my_drive [Bool?] Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive. @optional @param spaces [String?] A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @optional @param channel [GoogleDrive::Channel?] @return nil
Subscribes to changes for a user. @required @param page_token [String?] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param drive_id [String?] The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier. @optional @param include_corpus_removals [Bool?] Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file. @optional @param include_items_from_all_drives [Bool?] Whether both My Drive and shared drive items should be included in results. @optional @param include_labels [String?] A comma-separated list of IDs of labels to include in the labelInfo part of the response. @optional @param include_permissions_for_view [String?] Specifies which additional view's permissions to include in the response. Only 'published' is supported. @optional @param include_removed [Bool?] Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. @optional @param include_team_drive_items [Bool?] Deprecated use includeItemsFromAllDrives instead. @optional @param page_size [Int32?] The maximum number of changes to return per page. @optional @param restrict_to_my_drive [Bool?] Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive. @optional @param spaces [String?] A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. @optional @param supports_all_drives [Bool?] Whether the requesting application supports both My Drives and shared drives. @optional @param supports_team_drives [Bool?] Deprecated use supportsAllDrives instead. @optional @param team_drive_id [String?] Deprecated use driveId instead. @optional @param channel [GoogleDrive::Channel?] @return [Tuple(GoogleDrive::Channel, Integer, Hash)] GoogleDrive::Channel, response status code and response headers