Service Client: Google::Cloud::Ces::V1beta::AgentService::AgentServiceClient

Client stub representing the remote AgentService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to ces.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Ces::V1beta::AgentService - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/agent_service.proto

SYNOPSIS

use Google::Cloud::Ces::V1beta::AgentService;

my $msg = Google::Cloud::Ces::V1beta::AgentService::ListAppsRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::AgentService::ListAppsRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/agent_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::Ces::V1beta::AgentService::ListAppsRequest

Request message for [AgentService.ListApps][google.cloud.ces.v1beta.AgentService.ListApps].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the location to list apps from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListAppsResponse.next_page_token] value returned from a previous list [AgentService.ListApps][google.cloud.ces.v1beta.AgentService.ListApps] call.

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

    Type: String

    Optional. Filter to be applied when listing the apps. See https://google.aip.dev/160 for more details.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListAppsResponse

Response message for [AgentService.ListApps][google.cloud.ces.v1beta.AgentService.ListApps].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::App::App)

    The list of apps.

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

    Type: String

    A token that can be sent as [ListAppsRequest.page_token][google.cloud.ces.v1beta.ListAppsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

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

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Ces::V1beta::AgentService::GetAppRequest

Request message for [AgentService.GetApp][google.cloud.ces.v1beta.AgentService.GetApp].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to retrieve.

Google::Cloud::Ces::V1beta::AgentService::CreateAppRequest

Request message for [AgentService.CreateApp][google.cloud.ces.v1beta.AgentService.CreateApp].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the location to create an app in.

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

    Type: String

    Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.

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

    Type: Message (Google::Cloud::Ces::V1beta::App::App)

    Required. The app to create.

Google::Cloud::Ces::V1beta::AgentService::UpdateAppRequest

Request message for [AgentService.UpdateApp][google.cloud.ces.v1beta.AgentService.UpdateApp].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::DeleteAppRequest

Request message for [AgentService.DeleteApp][google.cloud.ces.v1beta.AgentService.DeleteApp].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to delete.

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

    Type: String

    Optional. The current etag of the app. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::ExportAppRequest

Request message for [AgentService.ExportApp][google.cloud.ces.v1beta.AgentService.ExportApp].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to export.

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

    Type: Enum (Google::Cloud::Ces::V1beta::ExportAppRequest::ExportFormat)

    Required. The format to export the app in.

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

    Type: String

    Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to export the app. The format of this URI must be `gs://<bucket-name>/<object-name>`. The exported app archive will be written directly to the specified GCS object.

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

    Type: String

    Optional. The resource name of the app version to export. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.

Enum: ExportAppRequest::ExportFormat

  • EXPORT_FORMAT_UNSPECIFIED => 0

  • JSON => 1

  • YAML => 2

Google::Cloud::Ces::V1beta::AgentService::ExportAppResponse

Response message for [AgentService.ExportApp][google.cloud.ces.v1beta.AgentService.ExportApp].

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    App folder compressed as a zip file.

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

    Type: String

    The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which the app was exported.

Google::Cloud::Ces::V1beta::AgentService::ImportAppRequest

Request message for [AgentService.ImportApp][google.cloud.ces.v1beta.AgentService.ImportApp].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI from which to import app. The format of this URI must be `gs://<bucket-name>/<object-name>`.

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

    Type: Bytes

    Raw bytes representing the compressed zip file with the app folder structure.

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

    Type: String

    Optional. Patch content as a JSON string.

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

    Type: String

    Optional. A Cloud Storage URI pointing to a JSON file containing the patches.

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

    Type: String

    Required. The parent resource name with the location of the app to import.

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

    Type: String

    Optional. The display name of the app to import. * If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique. * If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.

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

    Type: String

    Optional. The ID to use for the imported app. * If not specified, a unique ID will be automatically assigned for the app. * Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.

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

    Type: Message (Google::Cloud::Ces::V1beta::AgentService::ImportAppRequest::ImportOptions)

    Optional. Options governing the import process for the app.

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

    Type: Bool

    Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.

Google::Cloud::Ces::V1beta::AgentService::ImportAppResponse

Response message for [AgentService.ImportApp][google.cloud.ces.v1beta.AgentService.ImportApp].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the app that was imported.

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

    Type: String

    Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

Google::Cloud::Ces::V1beta::AgentService::ListAgentsRequest

Request message for [AgentService.ListAgents][google.cloud.ces.v1beta.AgentService.ListAgents].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list agents from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListAgentsResponse.next_page_token] value returned from a previous list [AgentService.ListAgents][google.cloud.ces.v1beta.AgentService.ListAgents] call.

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

    Type: String

    Optional. Filter to be applied when listing the agents. See https://google.aip.dev/160 for more details.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListAgentsResponse

Response message for [AgentService.ListAgents][google.cloud.ces.v1beta.AgentService.ListAgents].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Agent::Agent)

    The list of agents.

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

    Type: String

    A token that can be sent as [ListAgentsRequest.page_token][google.cloud.ces.v1beta.ListAgentsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetAgentRequest

Request message for [AgentService.GetAgent][google.cloud.ces.v1beta.AgentService.GetAgent].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the agent to retrieve.

Google::Cloud::Ces::V1beta::AgentService::CreateAgentRequest

Request message for [AgentService.CreateAgent][google.cloud.ces.v1beta.AgentService.CreateAgent].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to create an agent in.

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

    Type: String

    Optional. The ID to use for the agent, which will become the final component of the agent's resource name. If not provided, a unique ID will be automatically assigned for the agent.

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

    Type: Message (Google::Cloud::Ces::V1beta::Agent::Agent)

    Required. The agent to create.

Google::Cloud::Ces::V1beta::AgentService::UpdateAgentRequest

Request message for [AgentService.UpdateAgent][google.cloud.ces.v1beta.AgentService.UpdateAgent].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::DeleteAgentRequest

Request message for [AgentService.DeleteAgent][google.cloud.ces.v1beta.AgentService.DeleteAgent].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the agent to delete.

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

    Type: Bool

    Optional. Indicates whether to forcefully delete the agent, even if it is still referenced by other app/agents/examples.

    * If `force = false`, the deletion fails if other agents/examples reference it. * If `force = true`, delete the agent and remove it from all referencing apps/agents/examples.

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

    Type: String

    Optional. The current etag of the agent. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the agent, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation finished running.

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

    Type: String

    Output only. Human-readable status of the operation, if any.

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

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.

Google::Cloud::Ces::V1beta::AgentService::ListExamplesRequest

Request message for [AgentService.ListExamples][google.cloud.ces.v1beta.AgentService.ListExamples].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list examples from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListExamplesResponse.next_page_token] value returned from a previous list [AgentService.ListExamples][google.cloud.ces.v1beta.AgentService.ListExamples] call.

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

    Type: String

    Optional. Filter to be applied when listing the examples. See https://google.aip.dev/160 for more details.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListExamplesResponse

Response message for [AgentService.ListExamples][google.cloud.ces.v1beta.AgentService.ListExamples].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Example::Example)

    The list of examples.

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

    Type: String

    A token that can be sent as [ListExamplesRequest.page_token][google.cloud.ces.v1beta.ListExamplesRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetExampleRequest

Request message for [AgentService.GetExample][google.cloud.ces.v1beta.AgentService.GetExample].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the example to retrieve.

Google::Cloud::Ces::V1beta::AgentService::CreateExampleRequest

Request message for [AgentService.CreateExample][google.cloud.ces.v1beta.AgentService.CreateExample].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to create an example in.

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

    Type: String

    Optional. The ID to use for the example, which will become the final component of the example's resource name. If not provided, a unique ID will be automatically assigned for the example.

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

    Type: Message (Google::Cloud::Ces::V1beta::Example::Example)

    Required. The example to create.

Google::Cloud::Ces::V1beta::AgentService::UpdateExampleRequest

Request message for [AgentService.UpdateExample][google.cloud.ces.v1beta.AgentService.UpdateExample].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::DeleteExampleRequest

Request message for [AgentService.DeleteExample][google.cloud.ces.v1beta.AgentService.DeleteExample].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the example to delete.

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

    Type: String

    Optional. The current etag of the example. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the example, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::ListToolsRequest

Request message for [AgentService.ListTools][google.cloud.ces.v1beta.AgentService.ListTools].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list tools from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListToolsResponse.next_page_token] value returned from a previous list [AgentService.ListTools][google.cloud.ces.v1beta.AgentService.ListTools] call.

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

    Type: String

    Optional. Filter to be applied when listing the tools. Use "include_system_tools=true" to include system tools in the response. See https://google.aip.dev/160 for more details.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListToolsResponse

Response message for [AgentService.ListTools][google.cloud.ces.v1beta.AgentService.ListTools].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Tool::Tool)

    The list of tools.

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

    Type: String

    A token that can be sent as [ListToolsRequest.page_token][google.cloud.ces.v1beta.ListToolsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetToolRequest

Request message for [AgentService.GetTool][google.cloud.ces.v1beta.AgentService.GetTool].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the tool to retrieve.

Google::Cloud::Ces::V1beta::AgentService::CreateToolRequest

Request message for [AgentService.CreateTool][google.cloud.ces.v1beta.AgentService.CreateTool].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to create a tool in.

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

    Type: String

    Optional. The ID to use for the tool, which will become the final component of the tool's resource name. If not provided, a unique ID will be automatically assigned for the tool.

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

    Type: Message (Google::Cloud::Ces::V1beta::Tool::Tool)

    Required. The tool to create.

Google::Cloud::Ces::V1beta::AgentService::UpdateToolRequest

Request message for [AgentService.UpdateTool][google.cloud.ces.v1beta.AgentService.UpdateTool].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::DeleteToolRequest

Request message for [AgentService.DeleteTool][google.cloud.ces.v1beta.AgentService.DeleteTool].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the tool to delete.

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

    Type: Bool

    Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by agents/examples.

    * If `force = false`, the deletion will fail if any agents still reference the tool. * If `force = true`, all existing references from agents will be removed and the tool will be deleted.

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

    Type: String

    Optional. The current etag of the tool. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the tool, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::ListConversationsRequest

Request message for [AgentService.ListConversations][google.cloud.ces.v1beta.AgentService.ListConversations].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list conversations from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListConversationsResponse.next_page_token] value returned from a previous list [AgentService.ListConversations][google.cloud.ces.v1beta.AgentService.ListConversations] call.

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

    Type: String

    Optional. Filter to be applied when listing the conversations. See https://google.aip.dev/160 for more details.

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

    Type: Enum (Google::Cloud::Ces::V1beta::Conversation::Source)

    Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. Will be deprecated in favor of `sources` field.

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

    Type: Enum (Google::Cloud::Ces::V1beta::Conversation::Source)

    Optional. Indicate the sources of the conversations. If not set, all available sources will be applied by default.

Google::Cloud::Ces::V1beta::AgentService::ListConversationsResponse

Response message for [AgentService.ListConversations][google.cloud.ces.v1beta.AgentService.ListConversations].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Conversation::Conversation)

    The list of conversations.

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

    Type: String

    A token that can be sent as [ListConversationsRequest.page_token][google.cloud.ces.v1beta.ListConversationsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetConversationRequest

Request message for [AgentService.GetConversation][google.cloud.ces.v1beta.AgentService.GetConversation].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the conversation to retrieve.

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

    Type: Enum (Google::Cloud::Ces::V1beta::Conversation::Source)

    Optional. Indicate the source of the conversation. If not set, all source will be searched.

Google::Cloud::Ces::V1beta::AgentService::DeleteConversationRequest

Request message for [AgentService.DeleteConversation][google.cloud.ces.v1beta.AgentService.DeleteConversation].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the conversation to delete.

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

    Type: Enum (Google::Cloud::Ces::V1beta::Conversation::Source)

    Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.

Google::Cloud::Ces::V1beta::AgentService::BatchDeleteConversationsRequest

Request message for [AgentService.BatchDeleteConversations][google.cloud.ces.v1beta.AgentService.BatchDeleteConversations].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to delete conversations from. Format: `projects/{project}/locations/{location}/apps/{app}`

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

    Type: String

    Required. The resource names of the conversations to delete.

Google::Cloud::Ces::V1beta::AgentService::BatchDeleteConversationsResponse

Response message for [AgentService.BatchDeleteConversations][google.cloud.ces.v1beta.AgentService.BatchDeleteConversations].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The list of conversations that were successfully deleted.

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

    Type: String

    The list of conversations that failed to be deleted.

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

    Type: String

    Optional. A list of error messages associated with conversations that failed to be deleted.

Google::Cloud::Ces::V1beta::AgentService::ListGuardrailsRequest

Request message for [AgentService.ListGuardrails][google.cloud.ces.v1beta.AgentService.ListGuardrails].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list guardrails from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListGuardrailsResponse.next_page_token] value returned from a previous list [AgentService.ListGuardrails][google.cloud.ces.v1beta.AgentService.ListGuardrails] call.

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

    Type: String

    Optional. Filter to be applied when listing the guardrails. See https://google.aip.dev/160 for more details.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListGuardrailsResponse

Response message for [AgentService.ListGuardrails][google.cloud.ces.v1beta.AgentService.ListGuardrails].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Guardrail::Guardrail)

    The list of guardrails.

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

    Type: String

    A token that can be sent as [ListGuardrailsRequest.page_token][google.cloud.ces.v1beta.ListGuardrailsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetGuardrailRequest

Request message for [AgentService.GetGuardrail][google.cloud.ces.v1beta.AgentService.GetGuardrail].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the guardrail to retrieve.

Google::Cloud::Ces::V1beta::AgentService::CreateGuardrailRequest

Request message for [AgentService.CreateGuardrail][google.cloud.ces.v1beta.AgentService.CreateGuardrail].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to create a guardrail in.

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

    Type: String

    Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.

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

    Type: Message (Google::Cloud::Ces::V1beta::Guardrail::Guardrail)

    Required. The guardrail to create.

Google::Cloud::Ces::V1beta::AgentService::UpdateGuardrailRequest

Request message for [AgentService.UpdateGuardrail][google.cloud.ces.v1beta.AgentService.UpdateGuardrail].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::DeleteGuardrailRequest

Request message for [AgentService.DeleteGuardrail][google.cloud.ces.v1beta.AgentService.DeleteGuardrail].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the guardrail to delete.

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

    Type: Bool

    Optional. Indicates whether to forcefully delete the guardrail, even if it is still referenced by app/agents.

    * If `force = false`, the deletion fails if any apps/agents still reference the guardrail. * If `force = true`, all existing references from apps/agents will be removed and the guardrail will be deleted.

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

    Type: String

    Optional. The current etag of the guardrail. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the guardrail, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::ListDeploymentsRequest

Request message for [AgentService.ListDeployments][google.cloud.ces.v1beta.AgentService.ListDeployments].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent app. Format: `projects/{project}/locations/{location}/apps/{app}`

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

    Type: Int32

    Optional. The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

    Type: String

    Optional. A page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListDeployments` must match the call that provided the page token.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListDeploymentsResponse

Response message for [AgentService.ListDeployments][google.cloud.ces.v1beta.AgentService.ListDeployments].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Deployment::Deployment)

    The list of deployments.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetDeploymentRequest

Request message for [AgentService.GetDeployment][google.cloud.ces.v1beta.AgentService.GetDeployment].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`

Google::Cloud::Ces::V1beta::AgentService::CreateDeploymentRequest

Request message for [AgentService.CreateDeployment][google.cloud.ces.v1beta.AgentService.CreateDeployment].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent app. Format: `projects/{project}/locations/{location}/apps/{app}`

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

    Type: String

    Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment.

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

    Type: Message (Google::Cloud::Ces::V1beta::Deployment::Deployment)

    Required. The deployment to create.

Google::Cloud::Ces::V1beta::AgentService::DeployChannelResponse

Response message for [AgentService.DeployChannel][google.cloud.ces.v1beta.AgentService.DeployChannel].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::UpdateDeploymentRequest

Request message for [AgentService.UpdateDeployment][google.cloud.ces.v1beta.AgentService.UpdateDeployment].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::DeleteDeploymentRequest

Request message for [AgentService.DeleteDeployment][google.cloud.ces.v1beta.AgentService.DeleteDeployment].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the deployment to delete. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`

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

    Type: String

    Optional. The etag of the deployment. If an etag is provided and does not match the current etag of the deployment, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::ListToolsetsRequest

Request message for [AgentService.ListToolsets][google.cloud.ces.v1beta.AgentService.ListToolsets].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list toolsets from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListToolsetsResponse.next_page_token] value returned from a previous list [AgentService.ListToolsets][google.cloud.ces.v1beta.AgentService.ListToolsets] call.

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

    Type: String

    Optional. Filter to be applied when listing the toolsets. See https://google.aip.dev/160 for more details.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListToolsetsResponse

Response message for [AgentService.ListToolsets][google.cloud.ces.v1beta.AgentService.ListToolsets].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Toolset::Toolset)

    The list of toolsets.

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

    Type: String

    A token that can be sent as [ListToolsetsRequest.page_token][google.cloud.ces.v1beta.ListToolsetsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetToolsetRequest

Request message for [AgentService.GetToolset][google.cloud.ces.v1beta.AgentService.GetToolset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the toolset to retrieve.

Google::Cloud::Ces::V1beta::AgentService::CreateToolsetRequest

Request message for [AgentService.CreateToolset][google.cloud.ces.v1beta.AgentService.CreateToolset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to create a toolset in.

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

    Type: String

    Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.

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

    Type: Message (Google::Cloud::Ces::V1beta::Toolset::Toolset)

    Required. The toolset to create.

Google::Cloud::Ces::V1beta::AgentService::UpdateToolsetRequest

Request message for [AgentService.UpdateToolset][google.cloud.ces.v1beta.AgentService.UpdateToolset].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::DeleteToolsetRequest

Request message for [AgentService.DeleteToolset][google.cloud.ces.v1beta.AgentService.DeleteToolset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the toolset to delete.

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

    Type: Bool

    Optional. Indicates whether to forcefully delete the toolset, even if it is still referenced by app/agents.

    * If `force = false`, the deletion fails if any agents still reference the toolset. * If `force = true`, all existing references from agents will be removed and the toolset will be deleted.

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

    Type: String

    Optional. The current etag of the toolset. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the toolset, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::ListAppVersionsRequest

Request message for [AgentService.ListAppVersions][google.cloud.ces.v1beta.AgentService.ListAppVersions].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list app versions from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListAppVersionsResponse.next_page_token] value returned from a previous list [AgentService.ListAppVersions][google.cloud.ces.v1beta.AgentService.ListAppVersions] call.

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

    Type: String

    Optional. Filter to be applied when listing the app versions. See https://google.aip.dev/160 for more details.

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListAppVersionsResponse

Response message for [AgentService.ListAppVersions][google.cloud.ces.v1beta.AgentService.ListAppVersions].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::AppVersion::AppVersion)

    The list of app versions.

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

    Type: String

    A token that can be sent as [ListAppVersionsRequest.page_token][google.cloud.ces.v1beta.ListAppVersionsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetAppVersionRequest

Request message for [AgentService.GetAppVersion][google.cloud.ces.v1beta.AgentService.GetAppVersion].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app version to retrieve.

Google::Cloud::Ces::V1beta::AgentService::DeleteAppVersionRequest

Request message for [AgentService.DeleteAppVersion][google.cloud.ces.v1beta.AgentService.DeleteAppVersion].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app version to delete.

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

    Type: String

    Optional. The current etag of the app version. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app version, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Ces::V1beta::AgentService::CreateAppVersionRequest

Request message for [AgentService.CreateAppVersion][google.cloud.ces.v1beta.AgentService.CreateAppVersion]

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to create an app version in.

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

    Type: String

    Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.

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

    Type: Message (Google::Cloud::Ces::V1beta::AppVersion::AppVersion)

    Required. The app version to create.

Google::Cloud::Ces::V1beta::AgentService::UpdateAppVersionRequest

Request message for [AgentService.UpdateAppVersion][google.cloud.ces.v1beta.AgentService.UpdateAppVersion].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::RestoreAppVersionRequest

Request message for [AgentService.RestoreAppVersion][google.cloud.ces.v1beta.AgentService.RestoreAppVersion]

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app version to restore.

Google::Cloud::Ces::V1beta::AgentService::RestoreAppVersionResponse

Response message for [AgentService.RestoreAppVersion][google.cloud.ces.v1beta.AgentService.RestoreAppVersion]

Inherits from Protobuf::Message.

Google::Cloud::Ces::V1beta::AgentService::GenerateAppResourceRequest

Request message for [AgentService.GenerateAppResource][google.cloud.ces.v1beta.AgentService.GenerateAppResource].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::GenerateAppResourceResponse

Response message for [AgentService.GenerateAppResource][google.cloud.ces.v1beta.AgentService.GenerateAppResource].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::QualityReport

The report describing any identified quality issues in the app.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Ces::V1beta::AgentService::GenerateAppResourceOperationMetadata

Operation metadata for [AgentService.GenerateAppResource][google.cloud.ces.v1beta.AgentService.GenerateAppResource].

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Ces::V1beta::GenerateAppResourceOperationMetadata::GenerationType)

    Output only. The type of the operation.

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

    Type: String

    Output only. Human-readable status of the operation, if any.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation finished running.

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

    Type: String

    Output only. The resource name of the app that the operation is associated with. Format: `projects/{project}/locations/{location}/apps/{app}`.

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

    Type: Message (Google::Rpc::Status::Status)

    Output only. Error messages from the resource generation process.

Enum: GenerateAppResourceOperationMetadata::GenerationType

  • GENERATION_TYPE_UNSPECIFIED => 0

  • AGENT_RESTRUCTURE => 1

  • AGENT_REFINE => 2

  • AGENT_CREATE => 3

  • TOOL_CREATE => 4

  • SCENARIO_CREATE => 5

  • SCENARIO_CREATE_FROM_TRANSCRIPTS => 7

  • EVALUATION_PERSONA_CREATE => 6

  • QUALITY_REPORT_CREATE => 8

  • INSTRUCTION_FOLLOWING_FIX => 9

Google::Cloud::Ces::V1beta::AgentService::ListChangelogsRequest

Request message for [AgentService.ListChangelogs][google.cloud.ces.v1beta.AgentService.ListChangelogs].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the app to list changelogs from.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. The [next_page_token][google.cloud.ces.v1beta.ListChangelogsResponse.next_page_token] value returned from a previous list [AgentService.ListChangelogs][google.cloud.ces.v1beta.AgentService.ListChangelogs] call.

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

    Type: String

    Optional. Filter to be applied when listing the changelogs. See https://google.aip.dev/160 for more details.

    The filter string can be used to filter by `action`, `resource_type`, `resource_name`, `author`, and `create_time`. The `:` comparator can be used for case-insensitive partial matching on string fields, while `=` performs an exact case-sensitive match.

    Examples: * `action:update` (case-insensitive partial match) * `action="Create"` (case-sensitive exact match) * `resource_type:agent` * `resource_name:my-agent` * `author:me@example.com` * `create_time > "2025-01-01T00:00:00Z"` * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool`

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

    Type: String

    Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.

Google::Cloud::Ces::V1beta::AgentService::ListChangelogsResponse

Response message for [AgentService.ListChangelogs][google.cloud.ces.v1beta.AgentService.ListChangelogs].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Changelog::Changelog)

    The list of changelogs.

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

    Type: String

    A token that can be sent as [ListChangelogsRequest.page_token][google.cloud.ces.v1beta.ListChangelogsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Google::Cloud::Ces::V1beta::AgentService::GetChangelogRequest

Request message for [AgentService.GetChangelog][google.cloud.ces.v1beta.AgentService.GetChangelog].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the changelog to retrieve.

Google::Cloud::Ces::V1beta::AgentService::GetSecuritySettingsRequest

Request message for [AgentService.GetSecuritySettings][google.cloud.ces.v1beta.AgentService.GetSecuritySettings].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the security settings to retrieve. Format: `projects/{project}/locations/{location}/securitySettings`

Google::Cloud::Ces::V1beta::AgentService::UpdateSecuritySettingsRequest

Request message for [AgentService.UpdateSecuritySettings][google.cloud.ces.v1beta.AgentService.UpdateSecuritySettings].

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::AgentService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.