google-cloud-ces-v1 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/ces/v1/agent_pb.rb +30 -0
- data/lib/google/cloud/ces/v1/agent_service/client.rb +5315 -0
- data/lib/google/cloud/ces/v1/agent_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/agent_service/operations.rb +841 -0
- data/lib/google/cloud/ces/v1/agent_service/paths.rb +424 -0
- data/lib/google/cloud/ces/v1/agent_service/rest/client.rb +4944 -0
- data/lib/google/cloud/ces/v1/agent_service/rest/operations.rb +925 -0
- data/lib/google/cloud/ces/v1/agent_service/rest/service_stub.rb +3028 -0
- data/lib/google/cloud/ces/v1/agent_service/rest.rb +55 -0
- data/lib/google/cloud/ces/v1/agent_service.rb +57 -0
- data/lib/google/cloud/ces/v1/agent_service_pb.rb +105 -0
- data/lib/google/cloud/ces/v1/agent_service_services_pb.rb +142 -0
- data/lib/google/cloud/ces/v1/agent_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/agent_transfers_pb.rb +29 -0
- data/lib/google/cloud/ces/v1/app_pb.rb +58 -0
- data/lib/google/cloud/ces/v1/app_version_pb.rb +32 -0
- data/lib/google/cloud/ces/v1/auth_pb.rb +34 -0
- data/lib/google/cloud/ces/v1/bigquery_export_pb.rb +23 -0
- data/lib/google/cloud/ces/v1/bindings_override.rb +75 -0
- data/lib/google/cloud/ces/v1/changelog_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/client_function_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/common_pb.rb +46 -0
- data/lib/google/cloud/ces/v1/connector_tool_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/connector_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/conversation_pb.rb +31 -0
- data/lib/google/cloud/ces/v1/data_store_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/data_store_tool_pb.rb +40 -0
- data/lib/google/cloud/ces/v1/deployment_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/example_pb.rb +34 -0
- data/lib/google/cloud/ces/v1/fakes_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/file_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/google_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/guardrail_pb.rb +37 -0
- data/lib/google/cloud/ces/v1/mcp_tool_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/mcp_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/omnichannel_pb.rb +31 -0
- data/lib/google/cloud/ces/v1/omnichannel_service_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/open_api_tool_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/open_api_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/python_function_pb.rb +23 -0
- data/lib/google/cloud/ces/v1/rest.rb +41 -0
- data/lib/google/cloud/ces/v1/schema_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/search_suggestions_pb.rb +22 -0
- data/lib/google/cloud/ces/v1/security_settings_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/session_service/client.rb +759 -0
- data/lib/google/cloud/ces/v1/session_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/session_service/paths.rb +117 -0
- data/lib/google/cloud/ces/v1/session_service/rest/client.rb +560 -0
- data/lib/google/cloud/ces/v1/session_service/rest/service_stub.rb +199 -0
- data/lib/google/cloud/ces/v1/session_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1/session_service.rb +55 -0
- data/lib/google/cloud/ces/v1/session_service_pb.rb +50 -0
- data/lib/google/cloud/ces/v1/session_service_services_pb.rb +119 -0
- data/lib/google/cloud/ces/v1/system_tool_pb.rb +23 -0
- data/lib/google/cloud/ces/v1/tool_pb.rb +38 -0
- data/lib/google/cloud/ces/v1/tool_service/client.rb +723 -0
- data/lib/google/cloud/ces/v1/tool_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/tool_service/paths.rb +94 -0
- data/lib/google/cloud/ces/v1/tool_service/rest/client.rb +667 -0
- data/lib/google/cloud/ces/v1/tool_service/rest/service_stub.rb +267 -0
- data/lib/google/cloud/ces/v1/tool_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1/tool_service.rb +55 -0
- data/lib/google/cloud/ces/v1/tool_service_pb.rb +35 -0
- data/lib/google/cloud/ces/v1/tool_service_services_pb.rb +50 -0
- data/lib/google/cloud/ces/v1/toolset_pb.rb +30 -0
- data/lib/google/cloud/ces/v1/toolset_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/version.rb +7 -2
- data/lib/google/cloud/ces/v1/widget_service/client.rb +501 -0
- data/lib/google/cloud/ces/v1/widget_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/widget_service/paths.rb +75 -0
- data/lib/google/cloud/ces/v1/widget_service/rest/client.rb +459 -0
- data/lib/google/cloud/ces/v1/widget_service/rest/service_stub.rb +143 -0
- data/lib/google/cloud/ces/v1/widget_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1/widget_service.rb +55 -0
- data/lib/google/cloud/ces/v1/widget_service_pb.rb +28 -0
- data/lib/google/cloud/ces/v1/widget_service_services_pb.rb +46 -0
- data/lib/google/cloud/ces/v1/widget_tool_pb.rb +29 -0
- data/lib/google/cloud/ces/v1.rb +48 -0
- data/lib/google-cloud-ces-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/ces/v1/agent.rb +224 -0
- data/proto_docs/google/cloud/ces/v1/agent_service.rb +1250 -0
- data/proto_docs/google/cloud/ces/v1/agent_tool.rb +42 -0
- data/proto_docs/google/cloud/ces/v1/agent_transfers.rb +111 -0
- data/proto_docs/google/cloud/ces/v1/app.rb +685 -0
- data/proto_docs/google/cloud/ces/v1/app_version.rb +83 -0
- data/proto_docs/google/cloud/ces/v1/auth.rb +214 -0
- data/proto_docs/google/cloud/ces/v1/bigquery_export.rb +45 -0
- data/proto_docs/google/cloud/ces/v1/changelog.rb +73 -0
- data/proto_docs/google/cloud/ces/v1/client_function.rb +48 -0
- data/proto_docs/google/cloud/ces/v1/common.rb +375 -0
- data/proto_docs/google/cloud/ces/v1/connector_tool.rb +122 -0
- data/proto_docs/google/cloud/ces/v1/connector_toolset.rb +52 -0
- data/proto_docs/google/cloud/ces/v1/conversation.rb +152 -0
- data/proto_docs/google/cloud/ces/v1/data_store.rb +102 -0
- data/proto_docs/google/cloud/ces/v1/data_store_tool.rb +328 -0
- data/proto_docs/google/cloud/ces/v1/deployment.rb +62 -0
- data/proto_docs/google/cloud/ces/v1/example.rb +244 -0
- data/proto_docs/google/cloud/ces/v1/fakes.rb +55 -0
- data/proto_docs/google/cloud/ces/v1/file_search_tool.rb +60 -0
- data/proto_docs/google/cloud/ces/v1/google_search_tool.rb +76 -0
- data/proto_docs/google/cloud/ces/v1/guardrail.rb +324 -0
- data/proto_docs/google/cloud/ces/v1/mcp_tool.rb +85 -0
- data/proto_docs/google/cloud/ces/v1/mcp_toolset.rb +71 -0
- data/proto_docs/google/cloud/ces/v1/omnichannel.rb +163 -0
- data/proto_docs/google/cloud/ces/v1/omnichannel_service.rb +45 -0
- data/proto_docs/google/cloud/ces/v1/open_api_tool.rb +66 -0
- data/proto_docs/google/cloud/ces/v1/open_api_toolset.rb +57 -0
- data/proto_docs/google/cloud/ces/v1/python_function.rb +44 -0
- data/proto_docs/google/cloud/ces/v1/schema.rb +162 -0
- data/proto_docs/google/cloud/ces/v1/search_suggestions.rb +55 -0
- data/proto_docs/google/cloud/ces/v1/security_settings.rb +80 -0
- data/proto_docs/google/cloud/ces/v1/session_service.rb +464 -0
- data/proto_docs/google/cloud/ces/v1/system_tool.rb +38 -0
- data/proto_docs/google/cloud/ces/v1/tool.rb +126 -0
- data/proto_docs/google/cloud/ces/v1/tool_service.rb +168 -0
- data/proto_docs/google/cloud/ces/v1/toolset.rb +80 -0
- data/proto_docs/google/cloud/ces/v1/toolset_tool.rb +40 -0
- data/proto_docs/google/cloud/ces/v1/widget_service.rb +62 -0
- data/proto_docs/google/cloud/ces/v1/widget_tool.rb +146 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +183 -9
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Ces
|
|
23
|
+
module V1
|
|
24
|
+
# A snapshot of the app.
|
|
25
|
+
# @!attribute [rw] app
|
|
26
|
+
# @return [::Google::Cloud::Ces::V1::App]
|
|
27
|
+
# Optional. The basic settings for the app.
|
|
28
|
+
# @!attribute [rw] agents
|
|
29
|
+
# @return [::Array<::Google::Cloud::Ces::V1::Agent>]
|
|
30
|
+
# Optional. List of agents in the app.
|
|
31
|
+
# @!attribute [rw] tools
|
|
32
|
+
# @return [::Array<::Google::Cloud::Ces::V1::Tool>]
|
|
33
|
+
# Optional. List of tools in the app.
|
|
34
|
+
# @!attribute [rw] examples
|
|
35
|
+
# @return [::Array<::Google::Cloud::Ces::V1::Example>]
|
|
36
|
+
# Optional. List of examples in the app.
|
|
37
|
+
# @!attribute [rw] guardrails
|
|
38
|
+
# @return [::Array<::Google::Cloud::Ces::V1::Guardrail>]
|
|
39
|
+
# Optional. List of guardrails in the app.
|
|
40
|
+
# @!attribute [rw] toolsets
|
|
41
|
+
# @return [::Array<::Google::Cloud::Ces::V1::Toolset>]
|
|
42
|
+
# Optional. List of toolsets in the app.
|
|
43
|
+
class AppSnapshot
|
|
44
|
+
include ::Google::Protobuf::MessageExts
|
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# In Customer Engagement Suite (CES), an app version is a snapshot of the app
|
|
49
|
+
# at a specific point in time. It is immutable and cannot be modified once
|
|
50
|
+
# created.
|
|
51
|
+
# @!attribute [rw] name
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Identifier. The unique identifier of the app version.
|
|
54
|
+
# Format:
|
|
55
|
+
# `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
|
|
56
|
+
# @!attribute [rw] display_name
|
|
57
|
+
# @return [::String]
|
|
58
|
+
# Optional. The display name of the app version.
|
|
59
|
+
# @!attribute [rw] description
|
|
60
|
+
# @return [::String]
|
|
61
|
+
# Optional. The description of the app version.
|
|
62
|
+
# @!attribute [r] creator
|
|
63
|
+
# @return [::String]
|
|
64
|
+
# Output only. Email of the user who created the app version.
|
|
65
|
+
# @!attribute [r] create_time
|
|
66
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
67
|
+
# Output only. Timestamp when the app version was created.
|
|
68
|
+
# @!attribute [r] snapshot
|
|
69
|
+
# @return [::Google::Cloud::Ces::V1::AppSnapshot]
|
|
70
|
+
# Output only. The snapshot of the app when the version is created.
|
|
71
|
+
# @!attribute [r] etag
|
|
72
|
+
# @return [::String]
|
|
73
|
+
# Output only. Etag used to ensure the object hasn't changed during a
|
|
74
|
+
# read-modify-write operation. If the etag is empty, the update will
|
|
75
|
+
# overwrite any concurrent changes.
|
|
76
|
+
class AppVersion
|
|
77
|
+
include ::Google::Protobuf::MessageExts
|
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Ces
|
|
23
|
+
module V1
|
|
24
|
+
# Configurations for authentication with API key.
|
|
25
|
+
# @!attribute [rw] key_name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The parameter name or the header name of the API key.
|
|
28
|
+
# E.g., If the API request is "https://example.com/act?X-Api-Key=<API
|
|
29
|
+
# KEY>", "X-Api-Key" would be the parameter name.
|
|
30
|
+
# @!attribute [rw] api_key_secret_version
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Required. The name of the SecretManager secret version resource storing the
|
|
33
|
+
# API key. Format: `projects/{project}/secrets/{secret}/versions/{version}`
|
|
34
|
+
#
|
|
35
|
+
# Note: You should grant `roles/secretmanager.secretAccessor` role to the CES
|
|
36
|
+
# service agent
|
|
37
|
+
# `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.
|
|
38
|
+
# @!attribute [rw] request_location
|
|
39
|
+
# @return [::Google::Cloud::Ces::V1::ApiKeyConfig::RequestLocation]
|
|
40
|
+
# Required. Key location in the request.
|
|
41
|
+
class ApiKeyConfig
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
|
|
45
|
+
# The location of the API key in the request.
|
|
46
|
+
module RequestLocation
|
|
47
|
+
# Unspecified. This value should not be used.
|
|
48
|
+
REQUEST_LOCATION_UNSPECIFIED = 0
|
|
49
|
+
|
|
50
|
+
# Represents the key in http header.
|
|
51
|
+
HEADER = 1
|
|
52
|
+
|
|
53
|
+
# Represents the key in query string.
|
|
54
|
+
QUERY_STRING = 2
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Configurations for authentication with OAuth.
|
|
59
|
+
# @!attribute [rw] oauth_grant_type
|
|
60
|
+
# @return [::Google::Cloud::Ces::V1::OAuthConfig::OauthGrantType]
|
|
61
|
+
# Required. OAuth grant types.
|
|
62
|
+
# @!attribute [rw] client_id
|
|
63
|
+
# @return [::String]
|
|
64
|
+
# Required. The client ID from the OAuth provider.
|
|
65
|
+
# @!attribute [rw] client_secret_version
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# Required. The name of the SecretManager secret version resource storing the
|
|
68
|
+
# client secret.
|
|
69
|
+
# Format: `projects/{project}/secrets/{secret}/versions/{version}`
|
|
70
|
+
#
|
|
71
|
+
# Note: You should grant `roles/secretmanager.secretAccessor` role to the CES
|
|
72
|
+
# service agent
|
|
73
|
+
# `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.
|
|
74
|
+
# @!attribute [rw] token_endpoint
|
|
75
|
+
# @return [::String]
|
|
76
|
+
# Required. The token endpoint in the OAuth provider to exchange for an
|
|
77
|
+
# access token.
|
|
78
|
+
# @!attribute [rw] scopes
|
|
79
|
+
# @return [::Array<::String>]
|
|
80
|
+
# Optional. The OAuth scopes to grant.
|
|
81
|
+
class OAuthConfig
|
|
82
|
+
include ::Google::Protobuf::MessageExts
|
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
84
|
+
|
|
85
|
+
# OAuth grant types. Only [client credential
|
|
86
|
+
# grant](https://oauth.net/2/grant-types/client-credentials) is supported.
|
|
87
|
+
module OauthGrantType
|
|
88
|
+
# Unspecified. Defaults to CLIENT_CREDENTIAL.
|
|
89
|
+
OAUTH_GRANT_TYPE_UNSPECIFIED = 0
|
|
90
|
+
|
|
91
|
+
# Represents the [client credential
|
|
92
|
+
# flow](https://oauth.net/2/grant-types/client-credentials).
|
|
93
|
+
CLIENT_CREDENTIAL = 1
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Configurations for authentication with [ID
|
|
98
|
+
# token](https://cloud.google.com/docs/authentication/token-types#id) generated
|
|
99
|
+
# from service agent.
|
|
100
|
+
class ServiceAgentIdTokenAuthConfig
|
|
101
|
+
include ::Google::Protobuf::MessageExts
|
|
102
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Configurations for authentication using a custom service account.
|
|
106
|
+
# @!attribute [rw] service_account
|
|
107
|
+
# @return [::String]
|
|
108
|
+
# Required. The email address of the service account used for authentication.
|
|
109
|
+
# CES uses this service account to exchange an access token and the access
|
|
110
|
+
# token is then sent in the `Authorization` header of the request.
|
|
111
|
+
#
|
|
112
|
+
# The service account must have the
|
|
113
|
+
# `roles/iam.serviceAccountTokenCreator` role granted to the
|
|
114
|
+
# CES service agent
|
|
115
|
+
# `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.
|
|
116
|
+
# @!attribute [rw] scopes
|
|
117
|
+
# @return [::Array<::String>]
|
|
118
|
+
# Optional. The OAuth scopes to grant. If not specified, the default scope
|
|
119
|
+
# `https://www.googleapis.com/auth/cloud-platform` is used.
|
|
120
|
+
class ServiceAccountAuthConfig
|
|
121
|
+
include ::Google::Protobuf::MessageExts
|
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Configurations for authentication with a bearer token.
|
|
126
|
+
# @!attribute [rw] token
|
|
127
|
+
# @return [::String]
|
|
128
|
+
# Required. The bearer token.
|
|
129
|
+
# Must be in the format `$context.variables.<name_of_variable>`.
|
|
130
|
+
class BearerTokenConfig
|
|
131
|
+
include ::Google::Protobuf::MessageExts
|
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# End-user authentication configuration used for Connection calls.
|
|
136
|
+
# The field values must be the names of context variables in the format
|
|
137
|
+
# `$context.variables.<name_of_variable>`.
|
|
138
|
+
# @!attribute [rw] oauth2_auth_code_config
|
|
139
|
+
# @return [::Google::Cloud::Ces::V1::EndUserAuthConfig::Oauth2AuthCodeConfig]
|
|
140
|
+
# Oauth 2.0 Authorization Code authentication.
|
|
141
|
+
#
|
|
142
|
+
# Note: The following fields are mutually exclusive: `oauth2_auth_code_config`, `oauth2_jwt_bearer_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
143
|
+
# @!attribute [rw] oauth2_jwt_bearer_config
|
|
144
|
+
# @return [::Google::Cloud::Ces::V1::EndUserAuthConfig::Oauth2JwtBearerConfig]
|
|
145
|
+
# JWT Profile Oauth 2.0 Authorization Grant authentication.
|
|
146
|
+
#
|
|
147
|
+
# Note: The following fields are mutually exclusive: `oauth2_jwt_bearer_config`, `oauth2_auth_code_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
148
|
+
class EndUserAuthConfig
|
|
149
|
+
include ::Google::Protobuf::MessageExts
|
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
151
|
+
|
|
152
|
+
# Oauth 2.0 Authorization Code authentication configuration.
|
|
153
|
+
# @!attribute [rw] oauth_token
|
|
154
|
+
# @return [::String]
|
|
155
|
+
# Required. Oauth token parameter name to pass through.
|
|
156
|
+
# Must be in the format `$context.variables.<name_of_variable>`.
|
|
157
|
+
class Oauth2AuthCodeConfig
|
|
158
|
+
include ::Google::Protobuf::MessageExts
|
|
159
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# JWT Profile Oauth 2.0 Authorization Grant authentication configuration.
|
|
163
|
+
# @!attribute [rw] issuer
|
|
164
|
+
# @return [::String]
|
|
165
|
+
# Required. Issuer parameter name to pass through.
|
|
166
|
+
# Must be in the format `$context.variables.<name_of_variable>`.
|
|
167
|
+
# @!attribute [rw] subject
|
|
168
|
+
# @return [::String]
|
|
169
|
+
# Required. Subject parameter name to pass through.
|
|
170
|
+
# Must be in the format `$context.variables.<name_of_variable>`.
|
|
171
|
+
# @!attribute [rw] client_key
|
|
172
|
+
# @return [::String]
|
|
173
|
+
# Required. Client parameter name to pass through.
|
|
174
|
+
# Must be in the format `$context.variables.<name_of_variable>`.
|
|
175
|
+
class Oauth2JwtBearerConfig
|
|
176
|
+
include ::Google::Protobuf::MessageExts
|
|
177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Authentication information required for API calls.
|
|
182
|
+
# @!attribute [rw] api_key_config
|
|
183
|
+
# @return [::Google::Cloud::Ces::V1::ApiKeyConfig]
|
|
184
|
+
# Optional. Config for API key auth.
|
|
185
|
+
#
|
|
186
|
+
# Note: The following fields are mutually exclusive: `api_key_config`, `oauth_config`, `service_agent_id_token_auth_config`, `service_account_auth_config`, `bearer_token_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
187
|
+
# @!attribute [rw] oauth_config
|
|
188
|
+
# @return [::Google::Cloud::Ces::V1::OAuthConfig]
|
|
189
|
+
# Optional. Config for OAuth.
|
|
190
|
+
#
|
|
191
|
+
# Note: The following fields are mutually exclusive: `oauth_config`, `api_key_config`, `service_agent_id_token_auth_config`, `service_account_auth_config`, `bearer_token_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
192
|
+
# @!attribute [rw] service_agent_id_token_auth_config
|
|
193
|
+
# @return [::Google::Cloud::Ces::V1::ServiceAgentIdTokenAuthConfig]
|
|
194
|
+
# Optional. Config for ID token auth generated from CES service agent.
|
|
195
|
+
#
|
|
196
|
+
# Note: The following fields are mutually exclusive: `service_agent_id_token_auth_config`, `api_key_config`, `oauth_config`, `service_account_auth_config`, `bearer_token_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
197
|
+
# @!attribute [rw] service_account_auth_config
|
|
198
|
+
# @return [::Google::Cloud::Ces::V1::ServiceAccountAuthConfig]
|
|
199
|
+
# Optional. Config for service account authentication.
|
|
200
|
+
#
|
|
201
|
+
# Note: The following fields are mutually exclusive: `service_account_auth_config`, `api_key_config`, `oauth_config`, `service_agent_id_token_auth_config`, `bearer_token_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
202
|
+
# @!attribute [rw] bearer_token_config
|
|
203
|
+
# @return [::Google::Cloud::Ces::V1::BearerTokenConfig]
|
|
204
|
+
# Optional. Config for bearer token auth.
|
|
205
|
+
#
|
|
206
|
+
# Note: The following fields are mutually exclusive: `bearer_token_config`, `api_key_config`, `oauth_config`, `service_agent_id_token_auth_config`, `service_account_auth_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
207
|
+
class ApiAuthentication
|
|
208
|
+
include ::Google::Protobuf::MessageExts
|
|
209
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Ces
|
|
23
|
+
module V1
|
|
24
|
+
# Settings to describe the BigQuery export behaviors for the app.
|
|
25
|
+
# @!attribute [rw] enabled
|
|
26
|
+
# @return [::Boolean]
|
|
27
|
+
# Optional. Indicates whether the BigQuery export is enabled.
|
|
28
|
+
# @!attribute [rw] project
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Optional. The **project ID** of the BigQuery dataset to export the data to.
|
|
31
|
+
#
|
|
32
|
+
# Note: If the BigQuery dataset is in a different project from the app,
|
|
33
|
+
# you should grant `roles/bigquery.admin` role to the CES service agent
|
|
34
|
+
# `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.
|
|
35
|
+
# @!attribute [rw] dataset
|
|
36
|
+
# @return [::String]
|
|
37
|
+
# Optional. The BigQuery **dataset ID** to export the data to.
|
|
38
|
+
class BigQueryExportSettings
|
|
39
|
+
include ::Google::Protobuf::MessageExts
|
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Ces
|
|
23
|
+
module V1
|
|
24
|
+
# Changelogs represent a change made to the app or to an resource within the
|
|
25
|
+
# app.
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Identifier. The unique identifier of the changelog.
|
|
29
|
+
# Format:
|
|
30
|
+
# `projects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}`
|
|
31
|
+
# @!attribute [r] author
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Output only. Email address of the change author.
|
|
34
|
+
# @!attribute [r] display_name
|
|
35
|
+
# @return [::String]
|
|
36
|
+
# Output only. Display name of the change. It typically should be the display
|
|
37
|
+
# name of the resource that was changed.
|
|
38
|
+
# @!attribute [r] description
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# Output only. Description of the change. which typically captures the
|
|
41
|
+
# changed fields in the resource.
|
|
42
|
+
# @!attribute [r] resource
|
|
43
|
+
# @return [::String]
|
|
44
|
+
# Output only. The resource that was changed.
|
|
45
|
+
# @!attribute [r] resource_type
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# Output only. The type of the resource that was changed.
|
|
48
|
+
# @!attribute [r] action
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# Output only. The action that was performed on the resource.
|
|
51
|
+
# @!attribute [r] original_resource
|
|
52
|
+
# @return [::Google::Protobuf::Struct]
|
|
53
|
+
# Output only. The original resource before the change.
|
|
54
|
+
# @!attribute [r] new_resource
|
|
55
|
+
# @return [::Google::Protobuf::Struct]
|
|
56
|
+
# Output only. The new resource after the change.
|
|
57
|
+
# @!attribute [r] dependent_resources
|
|
58
|
+
# @return [::Array<::Google::Protobuf::Struct>]
|
|
59
|
+
# Output only. The dependent resources that were changed.
|
|
60
|
+
# @!attribute [r] create_time
|
|
61
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
62
|
+
# Output only. The time when the change was made.
|
|
63
|
+
# @!attribute [r] sequence_number
|
|
64
|
+
# @return [::Integer]
|
|
65
|
+
# Output only. The monotonically increasing sequence number of the changelog.
|
|
66
|
+
class Changelog
|
|
67
|
+
include ::Google::Protobuf::MessageExts
|
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Ces
|
|
23
|
+
module V1
|
|
24
|
+
# Represents a client-side function that the agent can invoke. When the
|
|
25
|
+
# tool is chosen by the agent, control is handed off to the client.
|
|
26
|
+
# The client is responsible for executing the function and returning the result
|
|
27
|
+
# as a {::Google::Cloud::Ces::V1::ToolResponse ToolResponse} to continue the
|
|
28
|
+
# interaction with the agent.
|
|
29
|
+
# @!attribute [rw] name
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Required. The function name.
|
|
32
|
+
# @!attribute [rw] description
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Optional. The function description.
|
|
35
|
+
# @!attribute [rw] parameters
|
|
36
|
+
# @return [::Google::Cloud::Ces::V1::Schema]
|
|
37
|
+
# Optional. The schema of the function parameters.
|
|
38
|
+
# @!attribute [rw] response
|
|
39
|
+
# @return [::Google::Cloud::Ces::V1::Schema]
|
|
40
|
+
# Optional. The schema of the function response.
|
|
41
|
+
class ClientFunction
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|