@@ -70,7 +70,8 @@ service DataPolicyService {
7070 }
7171
7272 // Deletes the data policy specified by its resource name.
73- rpc DeleteDataPolicy (DeleteDataPolicyRequest ) returns (google.protobuf.Empty ) {
73+ rpc DeleteDataPolicy (DeleteDataPolicyRequest )
74+ returns (google.protobuf.Empty ) {
7475 option (google.api.http ) = {
7576 delete : "/v1/{name=projects/*/locations/*/dataPolicies/*}"
7677 };
@@ -86,31 +87,35 @@ service DataPolicyService {
8687 }
8788
8889 // List all of the data policies in the specified parent project.
89- rpc ListDataPolicies (ListDataPoliciesRequest ) returns (ListDataPoliciesResponse ) {
90+ rpc ListDataPolicies (ListDataPoliciesRequest )
91+ returns (ListDataPoliciesResponse ) {
9092 option (google.api.http ) = {
9193 get : "/v1/{parent=projects/*/locations/*}/dataPolicies"
9294 };
9395 option (google.api.method_signature ) = "parent" ;
9496 }
9597
9698 // Gets the IAM policy for the specified data policy.
97- rpc GetIamPolicy (google.iam.v1.GetIamPolicyRequest ) returns (google.iam.v1.Policy ) {
99+ rpc GetIamPolicy (google.iam.v1.GetIamPolicyRequest )
100+ returns (google.iam.v1.Policy ) {
98101 option (google.api.http ) = {
99102 post : "/v1/{resource=projects/*/locations/*/dataPolicies/*}:getIamPolicy"
100103 body : "*"
101104 };
102105 }
103106
104107 // Sets the IAM policy for the specified data policy.
105- rpc SetIamPolicy (google.iam.v1.SetIamPolicyRequest ) returns (google.iam.v1.Policy ) {
108+ rpc SetIamPolicy (google.iam.v1.SetIamPolicyRequest )
109+ returns (google.iam.v1.Policy ) {
106110 option (google.api.http ) = {
107111 post : "/v1/{resource=projects/*/locations/*/dataPolicies/*}:setIamPolicy"
108112 body : "*"
109113 };
110114 }
111115
112116 // Returns the caller's permission on the specified data policy resource.
113- rpc TestIamPermissions (google.iam.v1.TestIamPermissionsRequest ) returns (google.iam.v1.TestIamPermissionsResponse ) {
117+ rpc TestIamPermissions (google.iam.v1.TestIamPermissionsRequest )
118+ returns (google.iam.v1.TestIamPermissionsResponse ) {
114119 option (google.api.http ) = {
115120 post : "/v1/{resource=projects/*/locations/*/dataPolicies/*}:testIamPermissions"
116121 body : "*"
@@ -120,8 +125,8 @@ service DataPolicyService {
120125
121126// Request message for the CreateDataPolicy method.
122127message CreateDataPolicyRequest {
123- // Required. Resource name of the project that the data policy will belong to. The
124- // format is `projects/{project_number}/locations/{location_id}`.
128+ // Required. Resource name of the project that the data policy will belong to.
129+ // The format is `projects/{project_number}/locations/{location_id}`.
125130 string parent = 1 [
126131 (google.api.field_behavior ) = REQUIRED ,
127132 (google.api.resource_reference ) = {
@@ -187,8 +192,8 @@ message GetDataPolicyRequest {
187192
188193// Request message for the ListDataPolicies method.
189194message ListDataPoliciesRequest {
190- // Required. Resource name of the project for which to list data policies. Format is
191- // `projects/{project_number}/locations/{location_id}`.
195+ // Required. Resource name of the project for which to list data policies.
196+ // Format is `projects/{project_number}/locations/{location_id}`.
192197 string parent = 1 [
193198 (google.api.field_behavior ) = REQUIRED ,
194199 (google.api.resource_reference ) = {
@@ -209,9 +214,9 @@ message ListDataPoliciesRequest {
209214 // are associated with. Currently filter only supports
210215 // "policy<span></span>_tag" based filtering and OR based predicates. Sample
211216 // filter can be "policy<span></span>_tag:
212- // 'projects/1/locations/us/taxonomies/2/policyTags/3'". You may use wildcard
213- // such as "policy<span></span>_tag:
214- // 'projects/1/locations/us/taxonomies/2/*'".
217+ // ` 'projects/1/locations/us/taxonomies/2/policyTags/3'` ". You may use
218+ // wildcard such as "policy<span></span>_tag:
219+ // ` 'projects/1/locations/us/taxonomies/2/*'` ".
215220 string filter = 4 ;
216221}
217222
0 commit comments