[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# gapic-common - Class Gapic::StreamInput (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/gapic-common/latest/Gapic-StreamInput)\n- [1.0.1](/ruby/docs/reference/gapic-common/1.0.1/Gapic-StreamInput)\n- [0.26.0](/ruby/docs/reference/gapic-common/0.26.0/Gapic-StreamInput)\n- [0.25.0](/ruby/docs/reference/gapic-common/0.25.0/Gapic-StreamInput)\n- [0.24.0](/ruby/docs/reference/gapic-common/0.24.0/Gapic-StreamInput) \nReference documentation and code samples for the gapic-common class Gapic::StreamInput.\n\nManages requests for an input stream and holds the stream open until [#close](/ruby/docs/reference/gapic-common/latest/Gapic-StreamInput#Gapic__StreamInput_close_instance_ \"Gapic::StreamInput#close (method)\") is called. \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #\\\u003c\\\u003c\n\n def \u003c\u003c(request) -\u003e StreamInput\n\n**Alias Of** : [#push](./Gapic-StreamInput#Gapic__StreamInput_push_instance_) \nAdds a request object to the stream. \n**Parameter**\n\n- **request** (Object) \n**Returns**\n\n- ([StreamInput](./Gapic-StreamInput)) --- Returns self.\n\n### #append\n\n def append(request) -\u003e StreamInput\n\n**Alias Of** : [#push](./Gapic-StreamInput#Gapic__StreamInput_push_instance_) \nAdds a request object to the stream. \n**Parameter**\n\n- **request** (Object) \n**Returns**\n\n- ([StreamInput](./Gapic-StreamInput)) --- Returns self.\n\n### #close\n\n def close() -\u003e StreamInput\n\nCloses the stream. \n**Returns**\n\n- ([StreamInput](./Gapic-StreamInput)) --- Returns self.\n\n### #initialize\n\n def initialize(*requests) -\u003e StreamInput\n\nCreate a new input stream object to manage streaming requests and hold the stream open until [#close](/ruby/docs/reference/gapic-common/latest/Gapic-StreamInput#Gapic__StreamInput_close_instance_ \"Gapic::StreamInput#close (method)\") is called. \n**Parameter**\n\n- **requests** (Object) \n**Returns**\n\n- ([StreamInput](./Gapic-StreamInput)) --- a new instance of StreamInput\n\n### #push\n\n def push(request) -\u003e StreamInput\n\n**Aliases**\n\n- [#\\\u003c\\\u003c](./Gapic-StreamInput#Gapic__StreamInput_\u003c\u003c_instance_)\n- [#append](./Gapic-StreamInput#Gapic__StreamInput_append_instance_) \nAdds a request object to the stream. \n**Parameter**\n\n- **request** (Object) \n**Returns**\n\n- ([StreamInput](./Gapic-StreamInput)) --- Returns self."]]