Service Client: Google::Cloud::Support::V2beta::AttachmentService::CaseAttachmentServiceClient
Client stub representing the remote CaseAttachmentService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to support.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Support::V2beta::AttachmentService - Compiled Protocol Buffers messages for google/cloud/support/v2beta/attachment_service.proto
SYNOPSIS
use Google::Cloud::Support::V2beta::AttachmentService;
my $msg = Google::Cloud::Support::V2beta::AttachmentService::ListAttachmentsRequest->new({
parent => $parent,
page_size => $page_size,
page_token => $page_token,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Support::V2beta::AttachmentService::ListAttachmentsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/support/v2beta/attachment_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Support::V2beta::AttachmentService::ListAttachmentsRequest
The request message for the ListAttachments endpoint.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the case for which attachments should be listed.
$msg->page_size()/$msg->page_size($value)Type:
Int32The 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.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying the page of results to return. If unspecified, the first page is retrieved.
Google::Cloud::Support::V2beta::AttachmentService::GetAttachmentRequest
Request for getting an attachment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the attachment to get.
Google::Cloud::Support::V2beta::AttachmentService::ListAttachmentsResponse
The response message for the ListAttachments endpoint.
Inherits from Protobuf::Message.
Accessors
$msg->attachments()/$msg->attachments($value)Type:
Message(Google::Cloud::Support::V2beta::Attachment::Attachment)The list of attachments associated with a case.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.attachments.list` requests. If unspecified, there are no more results to retrieve.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Support::V2beta::AttachmentService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.