class GoogleDrive::RepliesApi
- GoogleDrive::RepliesApi
- Reference
- Object
Defined in:
google_drive/api/replies_api.crConstant Summary
-
DRIVE_REPLIES_CREATE_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
DRIVE_REPLIES_DELETE_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
DRIVE_REPLIES_GET_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
DRIVE_REPLIES_LIST_MAX_FOR_PAGE_SIZE =
Int32.new("100")
-
DRIVE_REPLIES_LIST_MIN_FOR_PAGE_SIZE =
Int32.new("1")
-
DRIVE_REPLIES_LIST_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
DRIVE_REPLIES_UPDATE_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_create(*, file_id : String | Nil = nil, comment_id : 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, reply : GoogleDrive::Reply | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_delete(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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) : Crest::Request
@return Crest::Request
-
#build_api_request_for_get(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, include_deleted : Bool | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_list(*, file_id : String | Nil = nil, comment_id : 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, include_deleted : Bool | Nil = nil, page_size : Int32 | Nil = nil, page_token : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_update(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, reply : GoogleDrive::Reply | Nil = nil) : Crest::Request
@return Crest::Request
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
-
#create(*, file_id : String | Nil = nil, comment_id : 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, reply : GoogleDrive::Reply | Nil = nil) : GoogleDrive::Reply
Creates a reply to a comment.
-
#create(*, file_id : String | Nil = nil, comment_id : 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, reply : GoogleDrive::Reply | Nil = nil, &block : Crest::Response -> ) : Nil
Creates a reply to a comment.
-
#create_with_http_info(*, file_id : String | Nil = nil, comment_id : 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, reply : GoogleDrive::Reply | Nil = nil) : Tuple(GoogleDrive::Reply, Int32, Hash(String, Array(String) | String))
Creates a reply to a comment.
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#delete(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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) : Nil
Deletes a reply.
-
#delete(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, &block : Crest::Response -> ) : Nil
Deletes a reply.
-
#delete_with_http_info(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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) : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Deletes a reply.
-
#get(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, include_deleted : Bool | Nil = nil) : GoogleDrive::Reply
Gets a reply by ID.
-
#get(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, include_deleted : Bool | Nil = nil, &block : Crest::Response -> ) : Nil
Gets a reply by ID.
-
#get_with_http_info(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, include_deleted : Bool | Nil = nil) : Tuple(GoogleDrive::Reply, Int32, Hash(String, Array(String) | String))
Gets a reply by ID.
-
#list(*, file_id : String | Nil = nil, comment_id : 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, include_deleted : Bool | Nil = nil, page_size : Int32 | Nil = nil, page_token : String | Nil = nil) : GoogleDrive::ReplyList
Lists a comment's replies.
-
#list(*, file_id : String | Nil = nil, comment_id : 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, include_deleted : Bool | Nil = nil, page_size : Int32 | Nil = nil, page_token : String | Nil = nil, &block : Crest::Response -> ) : Nil
Lists a comment's replies.
-
#list_with_http_info(*, file_id : String | Nil = nil, comment_id : 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, include_deleted : Bool | Nil = nil, page_size : Int32 | Nil = nil, page_token : String | Nil = nil) : Tuple(GoogleDrive::ReplyList, Int32, Hash(String, Array(String) | String))
Lists a comment's replies.
-
#update(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, reply : GoogleDrive::Reply | Nil = nil) : GoogleDrive::Reply
Updates a reply with patch semantics.
-
#update(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, reply : GoogleDrive::Reply | Nil = nil, &block : Crest::Response -> ) : Nil
Updates a reply with patch semantics.
-
#update_with_http_info(*, file_id : String | Nil = nil, comment_id : String | Nil = nil, reply_id : 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, reply : GoogleDrive::Reply | Nil = nil) : Tuple(GoogleDrive::Reply, Int32, Hash(String, Array(String) | String))
Updates a reply with patch semantics.
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
Creates a reply to a comment. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @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 reply [GoogleDrive::Reply?] @return [GoogleDrive::Reply]
Creates a reply to a comment. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @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 reply [GoogleDrive::Reply?] @return nil
Creates a reply to a comment. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @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 reply [GoogleDrive::Reply?] @return [Tuple(GoogleDrive::Reply, Integer, Hash)] GoogleDrive::Reply, response status code and response headers
Deletes a reply. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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. @return [Nil]
Deletes a reply. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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. @return nil
Deletes a reply. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Gets a reply by ID. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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 include_deleted [Bool?] Whether to return deleted replies. Deleted replies will not include their original content. @return [GoogleDrive::Reply]
Gets a reply by ID. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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 include_deleted [Bool?] Whether to return deleted replies. Deleted replies will not include their original content. @return nil
Gets a reply by ID. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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 include_deleted [Bool?] Whether to return deleted replies. Deleted replies will not include their original content. @return [Tuple(GoogleDrive::Reply, Integer, Hash)] GoogleDrive::Reply, response status code and response headers
Lists a comment's replies. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @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 include_deleted [Bool?] Whether to include deleted replies. Deleted replies will not include their original content. @optional @param page_size [Int32?] The maximum number of replies to return per page. @optional @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. @return [GoogleDrive::ReplyList]
Lists a comment's replies. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @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 include_deleted [Bool?] Whether to include deleted replies. Deleted replies will not include their original content. @optional @param page_size [Int32?] The maximum number of replies to return per page. @optional @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. @return nil
Lists a comment's replies. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @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 include_deleted [Bool?] Whether to include deleted replies. Deleted replies will not include their original content. @optional @param page_size [Int32?] The maximum number of replies to return per page. @optional @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. @return [Tuple(GoogleDrive::ReplyList, Integer, Hash)] GoogleDrive::ReplyList, response status code and response headers
Updates a reply with patch semantics. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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 reply [GoogleDrive::Reply?] @return [GoogleDrive::Reply]
Updates a reply with patch semantics. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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 reply [GoogleDrive::Reply?] @return nil
Updates a reply with patch semantics. @required @param file_id [String?] The ID of the file. @required @param comment_id [String?] The ID of the comment. @required @param reply_id [String?] The ID of the reply. @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 reply [GoogleDrive::Reply?] @return [Tuple(GoogleDrive::Reply, Integer, Hash)] GoogleDrive::Reply, response status code and response headers