google-cloud-ces-v1beta 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/v1beta/agent_pb.rb +30 -0
- data/lib/google/cloud/ces/v1beta/agent_service/client.rb +5635 -0
- data/lib/google/cloud/ces/v1beta/agent_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/agent_service/operations.rb +841 -0
- data/lib/google/cloud/ces/v1beta/agent_service/paths.rb +481 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest/client.rb +5243 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest/operations.rb +925 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest/service_stub.rb +3213 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest.rb +55 -0
- data/lib/google/cloud/ces/v1beta/agent_service.rb +57 -0
- data/lib/google/cloud/ces/v1beta/agent_service_pb.rb +131 -0
- data/lib/google/cloud/ces/v1beta/agent_service_services_pb.rb +148 -0
- data/lib/google/cloud/ces/v1beta/agent_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/agent_transfers_pb.rb +29 -0
- data/lib/google/cloud/ces/v1beta/app_pb.rb +67 -0
- data/lib/google/cloud/ces/v1beta/app_version_pb.rb +32 -0
- data/lib/google/cloud/ces/v1beta/auth_pb.rb +34 -0
- data/lib/google/cloud/ces/v1beta/bigquery_export_pb.rb +23 -0
- data/lib/google/cloud/ces/v1beta/bindings_override.rb +75 -0
- data/lib/google/cloud/ces/v1beta/changelog_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/client_function_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/common_pb.rb +46 -0
- data/lib/google/cloud/ces/v1beta/connector_tool_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/connector_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/conversation_pb.rb +31 -0
- data/lib/google/cloud/ces/v1beta/data_store_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/data_store_tool_pb.rb +40 -0
- data/lib/google/cloud/ces/v1beta/deployment_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/evaluation_pb.rb +98 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/client.rb +3732 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/operations.rb +841 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/paths.rb +306 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/client.rb +3473 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/operations.rb +925 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/service_stub.rb +2047 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest.rb +54 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service.rb +56 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service_pb.rb +86 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service_services_pb.rb +110 -0
- data/lib/google/cloud/ces/v1beta/example_pb.rb +34 -0
- data/lib/google/cloud/ces/v1beta/fakes_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/file_context_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/file_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/golden_run_pb.rb +21 -0
- data/lib/google/cloud/ces/v1beta/google_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/guardrail_pb.rb +37 -0
- data/lib/google/cloud/ces/v1beta/mcp_tool_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/mcp_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/mocks_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/omnichannel_pb.rb +31 -0
- data/lib/google/cloud/ces/v1beta/omnichannel_service_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/open_api_tool_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/open_api_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/python_function_pb.rb +23 -0
- data/lib/google/cloud/ces/v1beta/rest.rb +42 -0
- data/lib/google/cloud/ces/v1beta/schema_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/search_suggestions_pb.rb +22 -0
- data/lib/google/cloud/ces/v1beta/security_settings_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/session_service/client.rb +760 -0
- data/lib/google/cloud/ces/v1beta/session_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/session_service/paths.rb +117 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest/client.rb +560 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest/service_stub.rb +199 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1beta/session_service.rb +55 -0
- data/lib/google/cloud/ces/v1beta/session_service_pb.rb +53 -0
- data/lib/google/cloud/ces/v1beta/session_service_services_pb.rb +120 -0
- data/lib/google/cloud/ces/v1beta/system_tool_pb.rb +23 -0
- data/lib/google/cloud/ces/v1beta/tool_pb.rb +38 -0
- data/lib/google/cloud/ces/v1beta/tool_service/client.rb +727 -0
- data/lib/google/cloud/ces/v1beta/tool_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/tool_service/paths.rb +94 -0
- data/lib/google/cloud/ces/v1beta/tool_service/rest/client.rb +671 -0
- data/lib/google/cloud/ces/v1beta/tool_service/rest/service_stub.rb +267 -0
- data/lib/google/cloud/ces/v1beta/tool_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1beta/tool_service.rb +55 -0
- data/lib/google/cloud/ces/v1beta/tool_service_pb.rb +36 -0
- data/lib/google/cloud/ces/v1beta/tool_service_services_pb.rb +50 -0
- data/lib/google/cloud/ces/v1beta/toolset_pb.rb +30 -0
- data/lib/google/cloud/ces/v1beta/toolset_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/version.rb +7 -2
- data/lib/google/cloud/ces/v1beta/widget_service/client.rb +501 -0
- data/lib/google/cloud/ces/v1beta/widget_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/widget_service/paths.rb +75 -0
- data/lib/google/cloud/ces/v1beta/widget_service/rest/client.rb +459 -0
- data/lib/google/cloud/ces/v1beta/widget_service/rest/service_stub.rb +143 -0
- data/lib/google/cloud/ces/v1beta/widget_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1beta/widget_service.rb +55 -0
- data/lib/google/cloud/ces/v1beta/widget_service_pb.rb +28 -0
- data/lib/google/cloud/ces/v1beta/widget_service_services_pb.rb +46 -0
- data/lib/google/cloud/ces/v1beta/widget_tool_pb.rb +29 -0
- data/lib/google/cloud/ces/v1beta.rb +49 -0
- data/lib/google-cloud-ces-v1beta.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/v1beta/agent.rb +224 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_service.rb +1661 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_tool.rb +48 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_transfers.rb +111 -0
- data/proto_docs/google/cloud/ces/v1beta/app.rb +836 -0
- data/proto_docs/google/cloud/ces/v1beta/app_version.rb +83 -0
- data/proto_docs/google/cloud/ces/v1beta/auth.rb +214 -0
- data/proto_docs/google/cloud/ces/v1beta/bigquery_export.rb +45 -0
- data/proto_docs/google/cloud/ces/v1beta/changelog.rb +73 -0
- data/proto_docs/google/cloud/ces/v1beta/client_function.rb +48 -0
- data/proto_docs/google/cloud/ces/v1beta/common.rb +375 -0
- data/proto_docs/google/cloud/ces/v1beta/connector_tool.rb +122 -0
- data/proto_docs/google/cloud/ces/v1beta/connector_toolset.rb +52 -0
- data/proto_docs/google/cloud/ces/v1beta/conversation.rb +156 -0
- data/proto_docs/google/cloud/ces/v1beta/data_store.rb +102 -0
- data/proto_docs/google/cloud/ces/v1beta/data_store_tool.rb +328 -0
- data/proto_docs/google/cloud/ces/v1beta/deployment.rb +62 -0
- data/proto_docs/google/cloud/ces/v1beta/evaluation.rb +1618 -0
- data/proto_docs/google/cloud/ces/v1beta/evaluation_service.rb +1009 -0
- data/proto_docs/google/cloud/ces/v1beta/example.rb +245 -0
- data/proto_docs/google/cloud/ces/v1beta/fakes.rb +67 -0
- data/proto_docs/google/cloud/ces/v1beta/file_context.rb +50 -0
- data/proto_docs/google/cloud/ces/v1beta/file_search_tool.rb +60 -0
- data/proto_docs/google/cloud/ces/v1beta/golden_run.rb +40 -0
- data/proto_docs/google/cloud/ces/v1beta/google_search_tool.rb +76 -0
- data/proto_docs/google/cloud/ces/v1beta/guardrail.rb +324 -0
- data/proto_docs/google/cloud/ces/v1beta/mcp_tool.rb +85 -0
- data/proto_docs/google/cloud/ces/v1beta/mcp_toolset.rb +71 -0
- data/proto_docs/google/cloud/ces/v1beta/mocks.rb +60 -0
- data/proto_docs/google/cloud/ces/v1beta/omnichannel.rb +163 -0
- data/proto_docs/google/cloud/ces/v1beta/omnichannel_service.rb +45 -0
- data/proto_docs/google/cloud/ces/v1beta/open_api_tool.rb +66 -0
- data/proto_docs/google/cloud/ces/v1beta/open_api_toolset.rb +57 -0
- data/proto_docs/google/cloud/ces/v1beta/python_function.rb +44 -0
- data/proto_docs/google/cloud/ces/v1beta/schema.rb +162 -0
- data/proto_docs/google/cloud/ces/v1beta/search_suggestions.rb +55 -0
- data/proto_docs/google/cloud/ces/v1beta/security_settings.rb +80 -0
- data/proto_docs/google/cloud/ces/v1beta/session_service.rb +490 -0
- data/proto_docs/google/cloud/ces/v1beta/system_tool.rb +38 -0
- data/proto_docs/google/cloud/ces/v1beta/tool.rb +126 -0
- data/proto_docs/google/cloud/ces/v1beta/tool_service.rb +173 -0
- data/proto_docs/google/cloud/ces/v1beta/toolset.rb +80 -0
- data/proto_docs/google/cloud/ces/v1beta/toolset_tool.rb +40 -0
- data/proto_docs/google/cloud/ces/v1beta/widget_service.rb +62 -0
- data/proto_docs/google/cloud/ces/v1beta/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 +204 -9
|
@@ -0,0 +1,163 @@
|
|
|
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 V1beta
|
|
24
|
+
# Represents an Omnichannel resource.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The unique identifier of the omnichannel resource.
|
|
28
|
+
# Format:
|
|
29
|
+
# `projects/{project}/locations/{location}/omnichannels/{omnichannel}`
|
|
30
|
+
# @!attribute [rw] display_name
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Required. Display name of the omnichannel resource.
|
|
33
|
+
# @!attribute [rw] description
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Optional. Human-readable description of the omnichannel resource.
|
|
36
|
+
# @!attribute [r] create_time
|
|
37
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
38
|
+
# Output only. Timestamp when the omnichannel resource was created.
|
|
39
|
+
# @!attribute [r] update_time
|
|
40
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
41
|
+
# Output only. Timestamp when the omnichannel resource was last updated.
|
|
42
|
+
# @!attribute [r] etag
|
|
43
|
+
# @return [::String]
|
|
44
|
+
# Output only. Etag used to ensure the object hasn't changed during a
|
|
45
|
+
# read-modify-write operation.
|
|
46
|
+
# @!attribute [rw] integration_config
|
|
47
|
+
# @return [::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig]
|
|
48
|
+
# Optional. The integration config for the omnichannel resource.
|
|
49
|
+
class Omnichannel
|
|
50
|
+
include ::Google::Protobuf::MessageExts
|
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# OmnichannelIntegrationConfig contains all App integration configs.
|
|
55
|
+
# @!attribute [rw] channel_configs
|
|
56
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::ChannelConfig}]
|
|
57
|
+
# Optional. Various of configuration for handling App events.
|
|
58
|
+
# @!attribute [rw] subscriber_configs
|
|
59
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::SubscriberConfig}]
|
|
60
|
+
# Optional. Various of subscribers configs.
|
|
61
|
+
# @!attribute [rw] routing_configs
|
|
62
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::RoutingConfig}]
|
|
63
|
+
# Optional. The key of routing_configs is a key of `app_configs`, value is a
|
|
64
|
+
# `RoutingConfig`, which contains subscriber's key.
|
|
65
|
+
class OmnichannelIntegrationConfig
|
|
66
|
+
include ::Google::Protobuf::MessageExts
|
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
68
|
+
|
|
69
|
+
# ChannelConfig contains config for various of app integration.
|
|
70
|
+
# @!attribute [rw] whatsapp_config
|
|
71
|
+
# @return [::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::WhatsappConfig]
|
|
72
|
+
# WhatsApp config.
|
|
73
|
+
class ChannelConfig
|
|
74
|
+
include ::Google::Protobuf::MessageExts
|
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# How Omnichannel should receive/reply events from WhatsApp.
|
|
79
|
+
# @!attribute [rw] phone_number_id
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# The Phone Number ID associated with the WhatsApp Business Account.
|
|
82
|
+
# @!attribute [rw] phone_number
|
|
83
|
+
# @return [::String]
|
|
84
|
+
# The phone number used for sending/receiving messages.
|
|
85
|
+
# @!attribute [rw] whatsapp_business_account_id
|
|
86
|
+
# @return [::String]
|
|
87
|
+
# The customer's WhatsApp Business Account (WABA) ID.
|
|
88
|
+
# @!attribute [rw] webhook_verify_token
|
|
89
|
+
# @return [::String]
|
|
90
|
+
# The verify token configured in the Meta App Dashboard for webhook
|
|
91
|
+
# verification.
|
|
92
|
+
# @!attribute [rw] whatsapp_business_token
|
|
93
|
+
# @return [::String]
|
|
94
|
+
# The access token for authenticating API calls to the WhatsApp Cloud API.
|
|
95
|
+
# https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens
|
|
96
|
+
# @!attribute [rw] meta_business_portfolio_id
|
|
97
|
+
# @return [::String]
|
|
98
|
+
# The Meta Business Portfolio (MBP) ID.
|
|
99
|
+
# https://www.facebook.com/business/help/1710077379203657
|
|
100
|
+
class WhatsappConfig
|
|
101
|
+
include ::Google::Protobuf::MessageExts
|
|
102
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Configs of subscribers.
|
|
106
|
+
# @!attribute [rw] ces_app_config
|
|
107
|
+
# @return [::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::CesAppConfig]
|
|
108
|
+
# Ces app config.
|
|
109
|
+
class SubscriberConfig
|
|
110
|
+
include ::Google::Protobuf::MessageExts
|
|
111
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Configs for CES app.
|
|
115
|
+
# @!attribute [rw] app
|
|
116
|
+
# @return [::String]
|
|
117
|
+
# The unique identifier of the CES app.
|
|
118
|
+
# Format: `projects/{project}/locations/{location}/apps/{app}`
|
|
119
|
+
class CesAppConfig
|
|
120
|
+
include ::Google::Protobuf::MessageExts
|
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Routing config specify how/who to route app events to a subscriber.
|
|
125
|
+
# @!attribute [rw] subscriber_key
|
|
126
|
+
# @return [::String]
|
|
127
|
+
# The key of the subscriber.
|
|
128
|
+
class RoutingConfig
|
|
129
|
+
include ::Google::Protobuf::MessageExts
|
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# @!attribute [rw] key
|
|
134
|
+
# @return [::String]
|
|
135
|
+
# @!attribute [rw] value
|
|
136
|
+
# @return [::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::ChannelConfig]
|
|
137
|
+
class ChannelConfigsEntry
|
|
138
|
+
include ::Google::Protobuf::MessageExts
|
|
139
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# @!attribute [rw] key
|
|
143
|
+
# @return [::String]
|
|
144
|
+
# @!attribute [rw] value
|
|
145
|
+
# @return [::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::SubscriberConfig]
|
|
146
|
+
class SubscriberConfigsEntry
|
|
147
|
+
include ::Google::Protobuf::MessageExts
|
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# @!attribute [rw] key
|
|
152
|
+
# @return [::String]
|
|
153
|
+
# @!attribute [rw] value
|
|
154
|
+
# @return [::Google::Cloud::Ces::V1beta::OmnichannelIntegrationConfig::RoutingConfig]
|
|
155
|
+
class RoutingConfigsEntry
|
|
156
|
+
include ::Google::Protobuf::MessageExts
|
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
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 V1beta
|
|
24
|
+
# Represents the metadata of the long-running operation.
|
|
25
|
+
# @!attribute [r] create_time
|
|
26
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
27
|
+
# Output only. The time the operation was created.
|
|
28
|
+
# @!attribute [r] end_time
|
|
29
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
30
|
+
# Output only. The time the operation finished running.
|
|
31
|
+
# @!attribute [r] status_message
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Output only. Human-readable status of the operation, if any.
|
|
34
|
+
# @!attribute [r] requested_cancellation
|
|
35
|
+
# @return [::Boolean]
|
|
36
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
|
37
|
+
# operation.
|
|
38
|
+
class OmnichannelOperationMetadata
|
|
39
|
+
include ::Google::Protobuf::MessageExts
|
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
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 V1beta
|
|
24
|
+
# A remote API tool defined by an OpenAPI schema.
|
|
25
|
+
# @!attribute [rw] open_api_schema
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The OpenAPI schema in JSON or YAML format.
|
|
28
|
+
# @!attribute [rw] name
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Optional. The name of the tool. If not provided, the name of the tool will
|
|
31
|
+
# be derived from the OpenAPI schema, from `operation.operationId`.
|
|
32
|
+
# @!attribute [rw] description
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Optional. The description of the tool. If not provided, the description of
|
|
35
|
+
# the tool will be derived from the OpenAPI schema, from
|
|
36
|
+
# `operation.description` or `operation.summary`.
|
|
37
|
+
# @!attribute [rw] api_authentication
|
|
38
|
+
# @return [::Google::Cloud::Ces::V1beta::ApiAuthentication]
|
|
39
|
+
# Optional. Authentication information required by the API.
|
|
40
|
+
# @!attribute [rw] tls_config
|
|
41
|
+
# @return [::Google::Cloud::Ces::V1beta::TlsConfig]
|
|
42
|
+
# Optional. The TLS configuration. Includes the custom server certificates
|
|
43
|
+
# that the client will trust.
|
|
44
|
+
# @!attribute [rw] service_directory_config
|
|
45
|
+
# @return [::Google::Cloud::Ces::V1beta::ServiceDirectoryConfig]
|
|
46
|
+
# Optional. Service Directory configuration.
|
|
47
|
+
# @!attribute [rw] ignore_unknown_fields
|
|
48
|
+
# @return [::Boolean]
|
|
49
|
+
# Optional. If true, the agent will ignore unknown fields in the API
|
|
50
|
+
# response.
|
|
51
|
+
# @!attribute [rw] url
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Optional. The server URL of the Open API schema.
|
|
54
|
+
# This field is only set in tools in the environment dependencies during the
|
|
55
|
+
# export process if the schema contains a server url. During the import
|
|
56
|
+
# process, if this url is present in the environment dependencies and the
|
|
57
|
+
# schema has the $env_var placeholder, it will replace the placeholder in the
|
|
58
|
+
# schema.
|
|
59
|
+
class OpenApiTool
|
|
60
|
+
include ::Google::Protobuf::MessageExts
|
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
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 V1beta
|
|
24
|
+
# A toolset that contains a list of tools that are defined by an OpenAPI
|
|
25
|
+
# schema.
|
|
26
|
+
# @!attribute [rw] open_api_schema
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Required. The OpenAPI schema of the toolset.
|
|
29
|
+
# @!attribute [rw] api_authentication
|
|
30
|
+
# @return [::Google::Cloud::Ces::V1beta::ApiAuthentication]
|
|
31
|
+
# Optional. Authentication information required by the API.
|
|
32
|
+
# @!attribute [rw] tls_config
|
|
33
|
+
# @return [::Google::Cloud::Ces::V1beta::TlsConfig]
|
|
34
|
+
# Optional. The TLS configuration. Includes the custom server certificates
|
|
35
|
+
# @!attribute [rw] service_directory_config
|
|
36
|
+
# @return [::Google::Cloud::Ces::V1beta::ServiceDirectoryConfig]
|
|
37
|
+
# Optional. Service Directory configuration.
|
|
38
|
+
# @!attribute [rw] ignore_unknown_fields
|
|
39
|
+
# @return [::Boolean]
|
|
40
|
+
# Optional. If true, the agent will ignore unknown fields in the API response
|
|
41
|
+
# for all operations defined in the OpenAPI schema.
|
|
42
|
+
# @!attribute [rw] url
|
|
43
|
+
# @return [::String]
|
|
44
|
+
# Optional. The server URL of the Open API schema.
|
|
45
|
+
# This field is only set in toolsets in the environment dependencies during
|
|
46
|
+
# the export process if the schema contains a server url. During the import
|
|
47
|
+
# process, if this url is present in the environment dependencies and the
|
|
48
|
+
# schema has the $env_var placeholder, it will replace the placeholder in the
|
|
49
|
+
# schema.
|
|
50
|
+
class OpenApiToolset
|
|
51
|
+
include ::Google::Protobuf::MessageExts
|
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
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 V1beta
|
|
24
|
+
# A Python function tool.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Optional. The name of the Python function to execute. Must match a Python
|
|
28
|
+
# function name defined in the python code. Case sensitive. If the name is
|
|
29
|
+
# not provided, the first function defined in the python code will be used.
|
|
30
|
+
# @!attribute [rw] python_code
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Optional. The Python code to execute for the tool.
|
|
33
|
+
# @!attribute [r] description
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Output only. The description of the Python function, parsed from the python
|
|
36
|
+
# code's docstring.
|
|
37
|
+
class PythonFunction
|
|
38
|
+
include ::Google::Protobuf::MessageExts
|
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,162 @@
|
|
|
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 V1beta
|
|
24
|
+
# Represents a select subset of an OpenAPI 3.0 schema object.
|
|
25
|
+
# @!attribute [rw] type
|
|
26
|
+
# @return [::Google::Cloud::Ces::V1beta::Schema::Type]
|
|
27
|
+
# Required. The type of the data.
|
|
28
|
+
# @!attribute [rw] properties
|
|
29
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::Schema}]
|
|
30
|
+
# Optional. Properties of Type.OBJECT.
|
|
31
|
+
# @!attribute [rw] required
|
|
32
|
+
# @return [::Array<::String>]
|
|
33
|
+
# Optional. Required properties of Type.OBJECT.
|
|
34
|
+
# @!attribute [rw] description
|
|
35
|
+
# @return [::String]
|
|
36
|
+
# Optional. The description of the data.
|
|
37
|
+
# @!attribute [rw] items
|
|
38
|
+
# @return [::Google::Cloud::Ces::V1beta::Schema]
|
|
39
|
+
# Optional. Schema of the elements of Type.ARRAY.
|
|
40
|
+
# @!attribute [rw] nullable
|
|
41
|
+
# @return [::Boolean]
|
|
42
|
+
# Optional. Indicates if the value may be null.
|
|
43
|
+
# @!attribute [rw] unique_items
|
|
44
|
+
# @return [::Boolean]
|
|
45
|
+
# Optional. Indicate the items in the array must be unique. Only applies to
|
|
46
|
+
# TYPE.ARRAY.
|
|
47
|
+
# @!attribute [rw] prefix_items
|
|
48
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::Schema>]
|
|
49
|
+
# Optional. Schemas of initial elements of Type.ARRAY.
|
|
50
|
+
# @!attribute [rw] additional_properties
|
|
51
|
+
# @return [::Google::Cloud::Ces::V1beta::Schema]
|
|
52
|
+
# Optional. Can either be a boolean or an object, controls the presence of
|
|
53
|
+
# additional properties.
|
|
54
|
+
# @!attribute [rw] any_of
|
|
55
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::Schema>]
|
|
56
|
+
# Optional. The value should be validated against any (one or more) of the
|
|
57
|
+
# subschemas in the list.
|
|
58
|
+
# @!attribute [rw] enum
|
|
59
|
+
# @return [::Array<::String>]
|
|
60
|
+
# Optional. Possible values of the element of primitive type with enum
|
|
61
|
+
# format. Examples:
|
|
62
|
+
# 1. We can define direction as :
|
|
63
|
+
# \\{type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
|
|
64
|
+
# 2. We can define apartment number as :
|
|
65
|
+
# \\{type:INTEGER, format:enum, enum:["101", "201", "301"]}
|
|
66
|
+
# @!attribute [rw] default
|
|
67
|
+
# @return [::Google::Protobuf::Value]
|
|
68
|
+
# Optional. Default value of the data.
|
|
69
|
+
# @!attribute [rw] ref
|
|
70
|
+
# @return [::String]
|
|
71
|
+
# Optional. Allows indirect references between schema nodes. The value should
|
|
72
|
+
# be a valid reference to a child of the root `defs`.
|
|
73
|
+
#
|
|
74
|
+
# For example, the following schema defines a reference to a schema node
|
|
75
|
+
# named "Pet":
|
|
76
|
+
#
|
|
77
|
+
# ```
|
|
78
|
+
# type: object
|
|
79
|
+
# properties:
|
|
80
|
+
# pet:
|
|
81
|
+
# ref: #/defs/Pet
|
|
82
|
+
# defs:
|
|
83
|
+
# Pet:
|
|
84
|
+
# type: object
|
|
85
|
+
# properties:
|
|
86
|
+
# name:
|
|
87
|
+
# type: string
|
|
88
|
+
# ```
|
|
89
|
+
#
|
|
90
|
+
# The value of the "pet" property is a reference to the schema node
|
|
91
|
+
# named "Pet".
|
|
92
|
+
# See details in
|
|
93
|
+
# https://json-schema.org/understanding-json-schema/structuring.
|
|
94
|
+
# @!attribute [rw] defs
|
|
95
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::Schema}]
|
|
96
|
+
# Optional. A map of definitions for use by `ref`. Only allowed at the root
|
|
97
|
+
# of the schema.
|
|
98
|
+
# @!attribute [rw] title
|
|
99
|
+
# @return [::String]
|
|
100
|
+
# Optional. The title of the schema.
|
|
101
|
+
# @!attribute [rw] min_items
|
|
102
|
+
# @return [::Integer]
|
|
103
|
+
# Optional. Minimum number of the elements for Type.ARRAY.
|
|
104
|
+
# @!attribute [rw] max_items
|
|
105
|
+
# @return [::Integer]
|
|
106
|
+
# Optional. Maximum number of the elements for Type.ARRAY.
|
|
107
|
+
# @!attribute [rw] minimum
|
|
108
|
+
# @return [::Float]
|
|
109
|
+
# Optional. Minimum value for Type.INTEGER and Type.NUMBER.
|
|
110
|
+
# @!attribute [rw] maximum
|
|
111
|
+
# @return [::Float]
|
|
112
|
+
# Optional. Maximum value for Type.INTEGER and Type.NUMBER.
|
|
113
|
+
class Schema
|
|
114
|
+
include ::Google::Protobuf::MessageExts
|
|
115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
116
|
+
|
|
117
|
+
# @!attribute [rw] key
|
|
118
|
+
# @return [::String]
|
|
119
|
+
# @!attribute [rw] value
|
|
120
|
+
# @return [::Google::Cloud::Ces::V1beta::Schema]
|
|
121
|
+
class PropertiesEntry
|
|
122
|
+
include ::Google::Protobuf::MessageExts
|
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# @!attribute [rw] key
|
|
127
|
+
# @return [::String]
|
|
128
|
+
# @!attribute [rw] value
|
|
129
|
+
# @return [::Google::Cloud::Ces::V1beta::Schema]
|
|
130
|
+
class DefsEntry
|
|
131
|
+
include ::Google::Protobuf::MessageExts
|
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# OpenAPI data types.
|
|
136
|
+
module Type
|
|
137
|
+
# Type unspecified.
|
|
138
|
+
TYPE_UNSPECIFIED = 0
|
|
139
|
+
|
|
140
|
+
# String type.
|
|
141
|
+
STRING = 1
|
|
142
|
+
|
|
143
|
+
# Integer type.
|
|
144
|
+
INTEGER = 2
|
|
145
|
+
|
|
146
|
+
# Number type.
|
|
147
|
+
NUMBER = 3
|
|
148
|
+
|
|
149
|
+
# Boolean type.
|
|
150
|
+
BOOLEAN = 4
|
|
151
|
+
|
|
152
|
+
# Object type.
|
|
153
|
+
OBJECT = 5
|
|
154
|
+
|
|
155
|
+
# Array type.
|
|
156
|
+
ARRAY = 6
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
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 V1beta
|
|
24
|
+
# Search suggestions from [Google Search
|
|
25
|
+
# Tool][google.cloud.ces.v1beta.GoogleSearchTool].
|
|
26
|
+
# @!attribute [rw] htmls
|
|
27
|
+
# @return [::Array<::String>]
|
|
28
|
+
# Compliant HTML and CSS styling for search suggestions.
|
|
29
|
+
# The provided HTML and CSS automatically adapts to your device settings,
|
|
30
|
+
# displaying in either light or dark mode indicated by
|
|
31
|
+
# `@media(prefers-color-scheme)`.
|
|
32
|
+
# @!attribute [rw] web_search_queries
|
|
33
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::WebSearchQuery>]
|
|
34
|
+
# List of queries used to perform the google search along with the search
|
|
35
|
+
# result URIs forming the search suggestions.
|
|
36
|
+
class GoogleSearchSuggestions
|
|
37
|
+
include ::Google::Protobuf::MessageExts
|
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Represents a single web search query and its associated search uri.
|
|
42
|
+
# @!attribute [rw] query
|
|
43
|
+
# @return [::String]
|
|
44
|
+
# The search query text.
|
|
45
|
+
# @!attribute [rw] uri
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# The URI to the Google Search results page for the query.
|
|
48
|
+
class WebSearchQuery
|
|
49
|
+
include ::Google::Protobuf::MessageExts
|
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
@@ -0,0 +1,80 @@
|
|
|
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 V1beta
|
|
24
|
+
# Project/Location level security settings for CES.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The unique identifier of the security settings.
|
|
28
|
+
# Format: `projects/{project}/locations/{location}/securitySettings`
|
|
29
|
+
# @!attribute [rw] endpoint_control_policy
|
|
30
|
+
# @return [::Google::Cloud::Ces::V1beta::EndpointControlPolicy]
|
|
31
|
+
# Optional. Endpoint control related settings.
|
|
32
|
+
# @!attribute [r] create_time
|
|
33
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
34
|
+
# Output only. Create time of the security settings.
|
|
35
|
+
# @!attribute [r] update_time
|
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
37
|
+
# Output only. Last update time of the security settings.
|
|
38
|
+
# @!attribute [r] etag
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# Output only. Etag of the security settings.
|
|
41
|
+
class SecuritySettings
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Defines project/location level endpoint control policy.
|
|
47
|
+
# @!attribute [rw] enforcement_scope
|
|
48
|
+
# @return [::Google::Cloud::Ces::V1beta::EndpointControlPolicy::EnforcementScope]
|
|
49
|
+
# Optional. The scope in which this policy's allowed_origins list is
|
|
50
|
+
# enforced.
|
|
51
|
+
# @!attribute [rw] allowed_origins
|
|
52
|
+
# @return [::Array<::String>]
|
|
53
|
+
# Optional. The allowed HTTP(s) origins that tools in the App are able to
|
|
54
|
+
# directly call. The enforcement depends on the value of
|
|
55
|
+
# enforcement_scope and the VPC-SC status of the project.
|
|
56
|
+
# If a port number is not provided, all ports will be allowed. Otherwise,
|
|
57
|
+
# the port number must match exactly. For example, "https://example.com"
|
|
58
|
+
# will match "https://example.com:443" and any other port.
|
|
59
|
+
# "https://example.com:443" will only match "https://example.com:443".
|
|
60
|
+
class EndpointControlPolicy
|
|
61
|
+
include ::Google::Protobuf::MessageExts
|
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
63
|
+
|
|
64
|
+
# Defines the scope in which this policy's allowed_origins list is
|
|
65
|
+
# enforced.
|
|
66
|
+
module EnforcementScope
|
|
67
|
+
# Unspecified. This policy will be treated as VPCSC_ONLY.
|
|
68
|
+
ENFORCEMENT_SCOPE_UNSPECIFIED = 0
|
|
69
|
+
|
|
70
|
+
# This policy applies only when VPC-SC is active.
|
|
71
|
+
VPCSC_ONLY = 1
|
|
72
|
+
|
|
73
|
+
# This policy ALWAYS applies, regardless of VPC-SC status.
|
|
74
|
+
ALWAYS = 2
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|