class GoogleDrive::ChannelsApi

Defined in:

google_drive/api/channels_api.cr

Constant Summary

DRIVE_CHANNELS_STOP_VALID_VALUES_FOR_ALT = String.static_array("json", "media")

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_client : GoogleDrive::ApiClient = ApiClient.default) #

[View source]

Instance Method Detail

def api_client : ApiClient #

[View source]
def api_client=(api_client : ApiClient) #

[View source]
def build_api_request_for_stop(*, 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, channel : GoogleDrive::Channel | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def client_side_validation?(*args, **options) #

[View source]
def client_side_validation?(*args, **options, &) #

[View source]
def debugging?(*args, **options) #

[View source]
def debugging?(*args, **options, &) #

[View source]
def stop(*, 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, channel : GoogleDrive::Channel | Nil = nil) : Nil #

Stop watching resources through this channel @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 channel [GoogleDrive::Channel?] @return [Nil]


[View source]
def stop(*, 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, channel : GoogleDrive::Channel | Nil = nil, &block : Crest::Response -> ) : Nil #

Stop watching resources through this channel @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 channel [GoogleDrive::Channel?] @return nil


[View source]
def stop_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, channel : GoogleDrive::Channel | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Stop watching resources through this channel @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 channel [GoogleDrive::Channel?] @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]