Service Client: Google::Cloud::Support::V2::CommentService::CommentServiceClient

Client stub representing the remote CommentService 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::V2::CommentService - Compiled Protocol Buffers messages for google/cloud/support/v2/comment_service.proto

SYNOPSIS

use Google::Cloud::Support::V2::CommentService;

my $msg = Google::Cloud::Support::V2::CommentService::ListCommentsRequest->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::V2::CommentService::ListCommentsRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/support/v2/comment_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::V2::CommentService::ListCommentsRequest

The request message for the ListComments endpoint.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The name of the case for which to list comments.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of comments to fetch. Defaults to 10.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A token identifying the page of results to return. If unspecified, the first page is returned.

Google::Cloud::Support::V2::CommentService::ListCommentsResponse

The response message for the ListComments endpoint.

Inherits from Protobuf::Message.

Accessors

  • $msg->comments() / $msg->comments($value)

    Type: Message (Google::Cloud::Support::V2::Comment::Comment)

    List of the comments associated with the case.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.comments.list` requests. If unspecified, there are no more results to retrieve.

Google::Cloud::Support::V2::CommentService::CreateCommentRequest

The request message for the CreateComment endpoint.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The name of the case to which the comment should be added.

  • $msg->comment() / $msg->comment($value)

    Type: Message (Google::Cloud::Support::V2::Comment::Comment)

    Required. The comment to be added.

Google::Cloud::Support::V2::CommentService::GetCommentRequest

The request message for the GetComment endpoint.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the comment to retrieve.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Support::V2::CommentService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.