# Modify the configuration for all FeedService clients::Google::Cloud::Support::V2beta::FeedService::Rest::Client.configuredo|config|config.timeout=10.0end
The configuration is set to the derived mode, meaning that values can be changed,
but structural changes (adding new fields, etc.) are not allowed. Structural changes
should be made on Client.configure.
See Configuration
for a description of the configuration fields.
# Create a client using the default configurationclient=::Google::Cloud::Support::V2beta::FeedService::Rest::Client.new# Create a client using a custom configurationclient=::Google::Cloud::Support::V2beta::FeedService::Rest::Client.newdo|config|config.timeout=10.0end
#logger
deflogger()->Logger
The logger used for request/response debug logging.
Pass arguments to show_feed via a request object, either of type
ShowFeedRequest or an equivalent Hash.
Parameters
request (::Google::Cloud::Support::V2beta::ShowFeedRequest, ::Hash) — A request object representing the call parameters. Required. To specify no
parameters, or to keep all the default parameter values, pass an empty Hash.
options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Pass arguments to show_feed via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
Parameters
parent (::String) — Required. The resource name of the case for which feed items should be
listed.
order_by (::String) — Optional. Field to order feed items by, followed by asc or desc
postfix. The only valid field is
creation_time. This list is case-insensitive, default sorting order is
ascending, and the redundant space characters are insignificant.
Example: creation_time desc
page_size (::Integer) — Optional. The maximum number of feed items fetched with each request.
page_token (::String) — Optional. A token identifying the page of results to return. If
unspecified, it retrieves the first page.
Yields
(result, operation) — Access the result along with the TransportOperation object
(::Google::Cloud::Error) — if the REST call is aborted.
Example
Basic example
require"google/cloud/support/v2beta"# Create a client object. The client can be reused for multiple calls.client=Google::Cloud::Support::V2beta::FeedService::Rest::Client.new# Create a request. To set request fields, pass in keyword arguments.request=Google::Cloud::Support::V2beta::ShowFeedRequest.new# Call the show_feed method.result=client.show_feedrequest# The returned object is of type Gapic::PagedEnumerable. You can iterate# over elements, and API calls will be issued to fetch pages as needed.result.eachdo|item|# Each element is of type ::Google::Cloud::Support::V2beta::FeedItem.pitemend
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Support V2BETA API - Class Google::Cloud::Support::V2beta::FeedService::Rest::Client (v0.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.0 (latest)](/ruby/docs/reference/google-cloud-support-v2beta/latest/Google-Cloud-Support-V2beta-FeedService-Rest-Client)\n- [0.1.1](/ruby/docs/reference/google-cloud-support-v2beta/0.1.1/Google-Cloud-Support-V2beta-FeedService-Rest-Client) \nReference documentation and code samples for the Google Cloud Support V2BETA API class Google::Cloud::Support::V2beta::FeedService::Rest::Client.\n\nREST client for the FeedService service.\n\n\n\u003cbr /\u003e\n\nA service to view case feed items. \n\nInherits\n--------\n\n- Object \n\nIncludes\n--------\n\n- [Google::Cloud::Support::V2beta::FeedService::Paths](./Google-Cloud-Support-V2beta-FeedService-Paths)\n\nMethods\n-------\n\n### .configure\n\n def self.configure() { |config| ... } -\u003e Client::Configuration\n\nConfigure the FeedService Client class.\n\n\n\u003cbr /\u003e\n\nSee [Configuration](/ruby/docs/reference/google-cloud-support-v2beta/latest/Google-Cloud-Support-V2beta-FeedService-Rest-Client-Configuration \"Google::Cloud::Support::V2beta::FeedService::Rest::Client::Configuration (class)\")\nfor a description of the configuration fields. \n**Yields**\n\n- (config) --- Configure the Client client. \n**Yield Parameter**\n\n- **config** ([Client::Configuration](./Google-Cloud-Support-V2beta-FeedService-Rest-Client-Configuration)) \n**Returns**\n\n- ([Client::Configuration](./Google-Cloud-Support-V2beta-FeedService-Rest-Client-Configuration))\n**Example** \n\n```ruby\n# Modify the configuration for all FeedService clients\n::Google::Cloud::Support::V2beta::FeedService::Rest::Client.configure do |config|\n config.timeout = 10.0\nend\n```\n\n### #configure\n\n def configure() { |config| ... } -\u003e Client::Configuration\n\nConfigure the FeedService Client instance.\n\n\nThe configuration is set to the derived mode, meaning that values can be changed,\nbut structural changes (adding new fields, etc.) are not allowed. Structural changes\nshould be made on [Client.configure](/ruby/docs/reference/google-cloud-support-v2beta/latest/Google-Cloud-Support-V2beta-FeedService-Rest-Client#Google__Cloud__Support__V2beta__FeedService__Rest__Client_configure_class_ \"Google::Cloud::Support::V2beta::FeedService::Rest::Client.configure (method)\").\n\n\u003cbr /\u003e\n\nSee [Configuration](/ruby/docs/reference/google-cloud-support-v2beta/latest/Google-Cloud-Support-V2beta-FeedService-Rest-Client-Configuration \"Google::Cloud::Support::V2beta::FeedService::Rest::Client::Configuration (class)\")\nfor a description of the configuration fields. \n**Yields**\n\n- (config) --- Configure the Client client. \n**Yield Parameter**\n\n- **config** ([Client::Configuration](./Google-Cloud-Support-V2beta-FeedService-Rest-Client-Configuration)) \n**Returns**\n\n- ([Client::Configuration](./Google-Cloud-Support-V2beta-FeedService-Rest-Client-Configuration))\n\n### #initialize\n\n def initialize() { |config| ... } -\u003e Client\n\nCreate a new FeedService REST client object. \n**Yields**\n\n- (config) --- Configure the FeedService client. \n**Yield Parameter**\n\n- **config** ([Client::Configuration](./Google-Cloud-Support-V2beta-FeedService-Rest-Client-Configuration)) \n**Returns**\n\n- ([Client](./Google-Cloud-Support-V2beta-FeedService-Rest-Client)) --- a new instance of Client\n**Example** \n\n```ruby\n# Create a client using the default configuration\nclient = ::Google::Cloud::Support::V2beta::FeedService::Rest::Client.new\n\n# Create a client using a custom configuration\nclient = ::Google::Cloud::Support::V2beta::FeedService::Rest::Client.new do |config|\n config.timeout = 10.0\nend\n```\n\n### #logger\n\n def logger() -\u003e Logger\n\nThe logger used for request/response debug logging. \n**Returns**\n\n- (Logger)\n\n### #show_feed\n\n def show_feed(request, options = nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::Support::V2beta::FeedItem\u003e\n def show_feed(parent: nil, order_by: nil, page_size: nil, page_token: nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::Support::V2beta::FeedItem\u003e\n\nShow items in the feed of this case, including case emails,\nattachments, and comments. \n**Overloads** \n\n def show_feed(request, options = nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::Support::V2beta::FeedItem\u003e\n\nPass arguments to `show_feed` via a request object, either of type [ShowFeedRequest](/ruby/docs/reference/google-cloud-support-v2beta/latest/Google-Cloud-Support-V2beta-ShowFeedRequest \"Google::Cloud::Support::V2beta::ShowFeedRequest (class)\") or an equivalent Hash. \n**Parameters**\n\n- **request** ([::Google::Cloud::Support::V2beta::ShowFeedRequest](./Google-Cloud-Support-V2beta-ShowFeedRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.\n- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n\n def show_feed(parent: nil, order_by: nil, page_size: nil, page_token: nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::Support::V2beta::FeedItem\u003e\n\nPass arguments to `show_feed` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). \n**Parameters**\n\n- **parent** (::String) --- Required. The resource name of the case for which feed items should be listed.\n- **order_by** (::String) --- Optional. Field to order feed items by, followed by `asc` or `desc` postfix. The only valid field is `creation_time`. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant.\n\n\n Example: `creation_time desc`\n- **page_size** (::Integer) --- Optional. The maximum number of feed items fetched with each request.\n- **page_token** (::String) --- Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** (::Gapic::Rest::PagedEnumerable\\\u003c[::Google::Cloud::Support::V2beta::FeedItem](./Google-Cloud-Support-V2beta-FeedItem)\\\u003e)\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- (::Gapic::Rest::PagedEnumerable\\\u003c[::Google::Cloud::Support::V2beta::FeedItem](./Google-Cloud-Support-V2beta-FeedItem)\\\u003e) \n**Raises**\n\n- (::Google::Cloud::Error) --- if the REST call is aborted.\n**Example**\n\nBasic example \n\n```ruby\nrequire \"google/cloud/support/v2beta\"\n\n# Create a client object. The client can be reused for multiple calls.\nclient = Google::Cloud::Support::V2beta::FeedService::Rest::Client.new\n\n# Create a request. To set request fields, pass in keyword arguments.\nrequest = Google::Cloud::Support::V2beta::ShowFeedRequest.new\n\n# Call the show_feed method.\nresult = client.show_feed request\n\n# The returned object is of type Gapic::PagedEnumerable. You can iterate\n# over elements, and API calls will be issued to fetch pages as needed.\nresult.each do |item|\n # Each element is of type ::Google::Cloud::Support::V2beta::FeedItem.\n p item\nend\n```\n\n### #universe_domain\n\n def universe_domain() -\u003e String\n\nThe effective universe domain \n**Returns**\n\n- (String)"]]