1- // Copyright 2025 Google LLC
1+ // Copyright 2026 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -83,6 +83,15 @@ service DataAgentService {
8383 };
8484 }
8585
86+ // Creates a new DataAgent in a given project and location synchronously.
87+ rpc CreateDataAgentSync (CreateDataAgentRequest ) returns (DataAgent ) {
88+ option (google.api.http ) = {
89+ post : "/v1beta/{parent=projects/*/locations/*}/dataAgents:createSync"
90+ body : "data_agent"
91+ };
92+ option (google.api.method_signature ) = "parent,data_agent,data_agent_id" ;
93+ }
94+
8695 // Updates the parameters of a single DataAgent.
8796 rpc UpdateDataAgent (UpdateDataAgentRequest )
8897 returns (google.longrunning.Operation ) {
@@ -97,6 +106,15 @@ service DataAgentService {
97106 };
98107 }
99108
109+ // Updates the parameters of a single DataAgent synchronously.
110+ rpc UpdateDataAgentSync (UpdateDataAgentRequest ) returns (DataAgent ) {
111+ option (google.api.http ) = {
112+ patch : "/v1beta/{data_agent.name=projects/*/locations/*/dataAgents/*}:updateSync"
113+ body : "data_agent"
114+ };
115+ option (google.api.method_signature ) = "data_agent,update_mask" ;
116+ }
117+
100118 // Deletes a single DataAgent.
101119 rpc DeleteDataAgent (DeleteDataAgentRequest )
102120 returns (google.longrunning.Operation ) {
@@ -110,6 +128,15 @@ service DataAgentService {
110128 };
111129 }
112130
131+ // Deletes a single DataAgent synchronously.
132+ rpc DeleteDataAgentSync (DeleteDataAgentRequest )
133+ returns (google.protobuf.Empty ) {
134+ option (google.api.http ) = {
135+ delete : "/v1beta/{name=projects/*/locations/*/dataAgents/*}:deleteSync"
136+ };
137+ option (google.api.method_signature ) = "name" ;
138+ }
139+
113140 // Gets the IAM policy for DataAgent
114141 rpc GetIamPolicy (google.iam.v1.GetIamPolicyRequest )
115142 returns (google.iam.v1.Policy ) {
0 commit comments