Reference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::ListAttachmentsRequest.
The request message for the ListAttachments endpoint.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#page_size
defpage_size()->::Integer
Returns
(::Integer) — The maximum number of attachments fetched with each request.
If not provided, the default is 10. The maximum page size that will be
returned is 100.
The size of each page can be smaller than the requested page size and can
include zero. For example, you could request 100 attachments on one page,
receive 0, and then on the next page, receive 90.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — The maximum number of attachments fetched with each request.
If not provided, the default is 10. The maximum page size that will be
returned is 100.
The size of each page can be smaller than the requested page size and can
include zero. For example, you could request 100 attachments on one page,
receive 0, and then on the next page, receive 90.
Returns
(::Integer) — The maximum number of attachments fetched with each request.
If not provided, the default is 10. The maximum page size that will be
returned is 100.
The size of each page can be smaller than the requested page size and can
include zero. For example, you could request 100 attachments on one page,
receive 0, and then on the next page, receive 90.
#page_token
defpage_token()->::String
Returns
(::String) — A token identifying the page of results to return. If unspecified, the
first page is retrieved.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — A token identifying the page of results to return. If unspecified, the
first page is retrieved.
Returns
(::String) — A token identifying the page of results to return. If unspecified, the
first page is retrieved.
#parent
defparent()->::String
Returns
(::String) — Required. The name of the case for which attachments should be listed.
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The name of the case for which attachments should be listed.
Returns
(::String) — Required. The name of the case for which attachments should be listed.
[[["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,["# Google Cloud Support V2 API - Class Google::Cloud::Support::V2::ListAttachmentsRequest (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-support-v2/1.4.0/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-support-v2/1.3.0/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-support-v2/1.2.1/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-support-v2/1.1.0/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-support-v2/1.0.1/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-support-v2/0.4.0/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [0.3.2](/ruby/docs/reference/google-cloud-support-v2/0.3.2/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-support-v2/0.2.0/Google-Cloud-Support-V2-ListAttachmentsRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-support-v2/0.1.0/Google-Cloud-Support-V2-ListAttachmentsRequest) \nReference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::ListAttachmentsRequest.\n\nThe request message for the ListAttachments endpoint. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The maximum number of attachments fetched with each request.\n\n If not provided, the default is 10. The maximum page size that will be\n returned is 100.\n\n The size of each page can be smaller than the requested page size and can\n include zero. For example, you could request 100 attachments on one page,\n receive 0, and then on the next page, receive 90.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The maximum number of attachments fetched with each request.\n\n\n If not provided, the default is 10. The maximum page size that will be\n returned is 100.\n\n The size of each page can be smaller than the requested page size and can\n include zero. For example, you could request 100 attachments on one page,\nreceive 0, and then on the next page, receive 90. \n**Returns**\n\n- (::Integer) --- The maximum number of attachments fetched with each request.\n\n If not provided, the default is 10. The maximum page size that will be\n returned is 100.\n\n The size of each page can be smaller than the requested page size and can\n include zero. For example, you could request 100 attachments on one page,\n receive 0, and then on the next page, receive 90.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A token identifying the page of results to return. If unspecified, the first page is retrieved.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A token identifying the page of results to return. If unspecified, the first page is retrieved. \n**Returns**\n\n- (::String) --- A token identifying the page of results to return. If unspecified, the first page is retrieved.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The name of the case for which attachments should be listed.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The name of the case for which attachments should be listed. \n**Returns**\n\n- (::String) --- Required. The name of the case for which attachments should be listed."]]