|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.networkservices.v1beta1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * AgentGateway represents the agent gateway resource. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the Network Services API. For a detailed explanation see: |
| 24 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 25 | + * </p> |
| 26 | + * |
| 27 | + * @author Google, Inc. |
| 28 | + */ |
| 29 | +@SuppressWarnings("javadoc") |
| 30 | +public final class AgentGateway extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Output only. Field for populated AgentGateway card. |
| 34 | + * The value may be {@code null}. |
| 35 | + */ |
| 36 | + @com.google.api.client.util.Key |
| 37 | + private AgentGatewayAgentGatewayOutputCard agentGatewayCard; |
| 38 | + |
| 39 | + /** |
| 40 | + * Output only. The timestamp when the resource was created. |
| 41 | + * The value may be {@code null}. |
| 42 | + */ |
| 43 | + @com.google.api.client.util.Key |
| 44 | + private String createTime; |
| 45 | + |
| 46 | + /** |
| 47 | + * Optional. A free-text description of the resource. Max length 1024 characters. |
| 48 | + * The value may be {@code null}. |
| 49 | + */ |
| 50 | + @com.google.api.client.util.Key |
| 51 | + private java.lang.String description; |
| 52 | + |
| 53 | + /** |
| 54 | + * Optional. Etag of the resource. If this is provided, it must match the server's etag. If the |
| 55 | + * provided etag does not match the server's etag, the request will fail with a 409 ABORTED error. |
| 56 | + * The value may be {@code null}. |
| 57 | + */ |
| 58 | + @com.google.api.client.util.Key |
| 59 | + private java.lang.String etag; |
| 60 | + |
| 61 | + /** |
| 62 | + * Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant project. |
| 63 | + * The value may be {@code null}. |
| 64 | + */ |
| 65 | + @com.google.api.client.util.Key |
| 66 | + private AgentGatewayGoogleManaged googleManaged; |
| 67 | + |
| 68 | + /** |
| 69 | + * Optional. Set of label tags associated with the AgentGateway resource. |
| 70 | + * The value may be {@code null}. |
| 71 | + */ |
| 72 | + @com.google.api.client.util.Key |
| 73 | + private java.util.Map<String, java.lang.String> labels; |
| 74 | + |
| 75 | + /** |
| 76 | + * Identifier. Name of the AgentGateway resource. It matches pattern |
| 77 | + * `projects/locations/agentGateways/`. |
| 78 | + * The value may be {@code null}. |
| 79 | + */ |
| 80 | + @com.google.api.client.util.Key |
| 81 | + private java.lang.String name; |
| 82 | + |
| 83 | + /** |
| 84 | + * Optional. Network configuration for the AgentGateway. |
| 85 | + * The value may be {@code null}. |
| 86 | + */ |
| 87 | + @com.google.api.client.util.Key |
| 88 | + private AgentGatewayNetworkConfig networkConfig; |
| 89 | + |
| 90 | + /** |
| 91 | + * Required. List of protocols supported by an Agent Gateway |
| 92 | + * The value may be {@code null}. |
| 93 | + */ |
| 94 | + @com.google.api.client.util.Key |
| 95 | + private java.util.List<java.lang.String> protocols; |
| 96 | + |
| 97 | + /** |
| 98 | + * Optional. A list of Agent registries containing the agents, MCP servers and tools governed by |
| 99 | + * the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format |
| 100 | + * `//agentregistry.googleapis.com/projects/{project}/locations/{location}/ |
| 101 | + * The value may be {@code null}. |
| 102 | + */ |
| 103 | + @com.google.api.client.util.Key |
| 104 | + private java.util.List<java.lang.String> registries; |
| 105 | + |
| 106 | + /** |
| 107 | + * Optional. Attach to existing Application Load Balancers or Secure Web Proxies. |
| 108 | + * The value may be {@code null}. |
| 109 | + */ |
| 110 | + @com.google.api.client.util.Key |
| 111 | + private AgentGatewaySelfManaged selfManaged; |
| 112 | + |
| 113 | + /** |
| 114 | + * Output only. The timestamp when the resource was updated. |
| 115 | + * The value may be {@code null}. |
| 116 | + */ |
| 117 | + @com.google.api.client.util.Key |
| 118 | + private String updateTime; |
| 119 | + |
| 120 | + /** |
| 121 | + * Output only. Field for populated AgentGateway card. |
| 122 | + * @return value or {@code null} for none |
| 123 | + */ |
| 124 | + public AgentGatewayAgentGatewayOutputCard getAgentGatewayCard() { |
| 125 | + return agentGatewayCard; |
| 126 | + } |
| 127 | + |
| 128 | + /** |
| 129 | + * Output only. Field for populated AgentGateway card. |
| 130 | + * @param agentGatewayCard agentGatewayCard or {@code null} for none |
| 131 | + */ |
| 132 | + public AgentGateway setAgentGatewayCard(AgentGatewayAgentGatewayOutputCard agentGatewayCard) { |
| 133 | + this.agentGatewayCard = agentGatewayCard; |
| 134 | + return this; |
| 135 | + } |
| 136 | + |
| 137 | + /** |
| 138 | + * Output only. The timestamp when the resource was created. |
| 139 | + * @return value or {@code null} for none |
| 140 | + */ |
| 141 | + public String getCreateTime() { |
| 142 | + return createTime; |
| 143 | + } |
| 144 | + |
| 145 | + /** |
| 146 | + * Output only. The timestamp when the resource was created. |
| 147 | + * @param createTime createTime or {@code null} for none |
| 148 | + */ |
| 149 | + public AgentGateway setCreateTime(String createTime) { |
| 150 | + this.createTime = createTime; |
| 151 | + return this; |
| 152 | + } |
| 153 | + |
| 154 | + /** |
| 155 | + * Optional. A free-text description of the resource. Max length 1024 characters. |
| 156 | + * @return value or {@code null} for none |
| 157 | + */ |
| 158 | + public java.lang.String getDescription() { |
| 159 | + return description; |
| 160 | + } |
| 161 | + |
| 162 | + /** |
| 163 | + * Optional. A free-text description of the resource. Max length 1024 characters. |
| 164 | + * @param description description or {@code null} for none |
| 165 | + */ |
| 166 | + public AgentGateway setDescription(java.lang.String description) { |
| 167 | + this.description = description; |
| 168 | + return this; |
| 169 | + } |
| 170 | + |
| 171 | + /** |
| 172 | + * Optional. Etag of the resource. If this is provided, it must match the server's etag. If the |
| 173 | + * provided etag does not match the server's etag, the request will fail with a 409 ABORTED error. |
| 174 | + * @return value or {@code null} for none |
| 175 | + */ |
| 176 | + public java.lang.String getEtag() { |
| 177 | + return etag; |
| 178 | + } |
| 179 | + |
| 180 | + /** |
| 181 | + * Optional. Etag of the resource. If this is provided, it must match the server's etag. If the |
| 182 | + * provided etag does not match the server's etag, the request will fail with a 409 ABORTED error. |
| 183 | + * @param etag etag or {@code null} for none |
| 184 | + */ |
| 185 | + public AgentGateway setEtag(java.lang.String etag) { |
| 186 | + this.etag = etag; |
| 187 | + return this; |
| 188 | + } |
| 189 | + |
| 190 | + /** |
| 191 | + * Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant project. |
| 192 | + * @return value or {@code null} for none |
| 193 | + */ |
| 194 | + public AgentGatewayGoogleManaged getGoogleManaged() { |
| 195 | + return googleManaged; |
| 196 | + } |
| 197 | + |
| 198 | + /** |
| 199 | + * Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant project. |
| 200 | + * @param googleManaged googleManaged or {@code null} for none |
| 201 | + */ |
| 202 | + public AgentGateway setGoogleManaged(AgentGatewayGoogleManaged googleManaged) { |
| 203 | + this.googleManaged = googleManaged; |
| 204 | + return this; |
| 205 | + } |
| 206 | + |
| 207 | + /** |
| 208 | + * Optional. Set of label tags associated with the AgentGateway resource. |
| 209 | + * @return value or {@code null} for none |
| 210 | + */ |
| 211 | + public java.util.Map<String, java.lang.String> getLabels() { |
| 212 | + return labels; |
| 213 | + } |
| 214 | + |
| 215 | + /** |
| 216 | + * Optional. Set of label tags associated with the AgentGateway resource. |
| 217 | + * @param labels labels or {@code null} for none |
| 218 | + */ |
| 219 | + public AgentGateway setLabels(java.util.Map<String, java.lang.String> labels) { |
| 220 | + this.labels = labels; |
| 221 | + return this; |
| 222 | + } |
| 223 | + |
| 224 | + /** |
| 225 | + * Identifier. Name of the AgentGateway resource. It matches pattern |
| 226 | + * `projects/locations/agentGateways/`. |
| 227 | + * @return value or {@code null} for none |
| 228 | + */ |
| 229 | + public java.lang.String getName() { |
| 230 | + return name; |
| 231 | + } |
| 232 | + |
| 233 | + /** |
| 234 | + * Identifier. Name of the AgentGateway resource. It matches pattern |
| 235 | + * `projects/locations/agentGateways/`. |
| 236 | + * @param name name or {@code null} for none |
| 237 | + */ |
| 238 | + public AgentGateway setName(java.lang.String name) { |
| 239 | + this.name = name; |
| 240 | + return this; |
| 241 | + } |
| 242 | + |
| 243 | + /** |
| 244 | + * Optional. Network configuration for the AgentGateway. |
| 245 | + * @return value or {@code null} for none |
| 246 | + */ |
| 247 | + public AgentGatewayNetworkConfig getNetworkConfig() { |
| 248 | + return networkConfig; |
| 249 | + } |
| 250 | + |
| 251 | + /** |
| 252 | + * Optional. Network configuration for the AgentGateway. |
| 253 | + * @param networkConfig networkConfig or {@code null} for none |
| 254 | + */ |
| 255 | + public AgentGateway setNetworkConfig(AgentGatewayNetworkConfig networkConfig) { |
| 256 | + this.networkConfig = networkConfig; |
| 257 | + return this; |
| 258 | + } |
| 259 | + |
| 260 | + /** |
| 261 | + * Required. List of protocols supported by an Agent Gateway |
| 262 | + * @return value or {@code null} for none |
| 263 | + */ |
| 264 | + public java.util.List<java.lang.String> getProtocols() { |
| 265 | + return protocols; |
| 266 | + } |
| 267 | + |
| 268 | + /** |
| 269 | + * Required. List of protocols supported by an Agent Gateway |
| 270 | + * @param protocols protocols or {@code null} for none |
| 271 | + */ |
| 272 | + public AgentGateway setProtocols(java.util.List<java.lang.String> protocols) { |
| 273 | + this.protocols = protocols; |
| 274 | + return this; |
| 275 | + } |
| 276 | + |
| 277 | + /** |
| 278 | + * Optional. A list of Agent registries containing the agents, MCP servers and tools governed by |
| 279 | + * the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format |
| 280 | + * `//agentregistry.googleapis.com/projects/{project}/locations/{location}/ |
| 281 | + * @return value or {@code null} for none |
| 282 | + */ |
| 283 | + public java.util.List<java.lang.String> getRegistries() { |
| 284 | + return registries; |
| 285 | + } |
| 286 | + |
| 287 | + /** |
| 288 | + * Optional. A list of Agent registries containing the agents, MCP servers and tools governed by |
| 289 | + * the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format |
| 290 | + * `//agentregistry.googleapis.com/projects/{project}/locations/{location}/ |
| 291 | + * @param registries registries or {@code null} for none |
| 292 | + */ |
| 293 | + public AgentGateway setRegistries(java.util.List<java.lang.String> registries) { |
| 294 | + this.registries = registries; |
| 295 | + return this; |
| 296 | + } |
| 297 | + |
| 298 | + /** |
| 299 | + * Optional. Attach to existing Application Load Balancers or Secure Web Proxies. |
| 300 | + * @return value or {@code null} for none |
| 301 | + */ |
| 302 | + public AgentGatewaySelfManaged getSelfManaged() { |
| 303 | + return selfManaged; |
| 304 | + } |
| 305 | + |
| 306 | + /** |
| 307 | + * Optional. Attach to existing Application Load Balancers or Secure Web Proxies. |
| 308 | + * @param selfManaged selfManaged or {@code null} for none |
| 309 | + */ |
| 310 | + public AgentGateway setSelfManaged(AgentGatewaySelfManaged selfManaged) { |
| 311 | + this.selfManaged = selfManaged; |
| 312 | + return this; |
| 313 | + } |
| 314 | + |
| 315 | + /** |
| 316 | + * Output only. The timestamp when the resource was updated. |
| 317 | + * @return value or {@code null} for none |
| 318 | + */ |
| 319 | + public String getUpdateTime() { |
| 320 | + return updateTime; |
| 321 | + } |
| 322 | + |
| 323 | + /** |
| 324 | + * Output only. The timestamp when the resource was updated. |
| 325 | + * @param updateTime updateTime or {@code null} for none |
| 326 | + */ |
| 327 | + public AgentGateway setUpdateTime(String updateTime) { |
| 328 | + this.updateTime = updateTime; |
| 329 | + return this; |
| 330 | + } |
| 331 | + |
| 332 | + @Override |
| 333 | + public AgentGateway set(String fieldName, Object value) { |
| 334 | + return (AgentGateway) super.set(fieldName, value); |
| 335 | + } |
| 336 | + |
| 337 | + @Override |
| 338 | + public AgentGateway clone() { |
| 339 | + return (AgentGateway) super.clone(); |
| 340 | + } |
| 341 | + |
| 342 | +} |
0 commit comments