@@ -94,8 +94,8 @@ def CreateDatabase(self, request, context):
9494 have a name of the format `<database_name>/operations/<operation_id>` and
9595 can be used to track preparation of the database. The
9696 [metadata][google.longrunning.Operation.metadata] field type is
97- [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].
98- The [response][google.longrunning.Operation.response] field type is
97+ [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
98+ [response][google.longrunning.Operation.response] field type is
9999 [Database][google.spanner.admin.database.v1.Database], if successful.
100100 """
101101 context .set_code (grpc .StatusCode .UNIMPLEMENTED )
@@ -116,8 +116,7 @@ def UpdateDatabaseDdl(self, request, context):
116116 the format `<database_name>/operations/<operation_id>` and can be used to
117117 track execution of the schema change(s). The
118118 [metadata][google.longrunning.Operation.metadata] field type is
119- [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].
120- The operation has no response.
119+ [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.
121120 """
122121 context .set_code (grpc .StatusCode .UNIMPLEMENTED )
123122 context .set_details ("Method not implemented!" )
@@ -140,19 +139,20 @@ def GetDatabaseDdl(self, request, context):
140139 raise NotImplementedError ("Method not implemented!" )
141140
142141 def SetIamPolicy (self , request , context ):
143- """Sets the access control policy on a database resource. Replaces any
144- existing policy.
142+ """Sets the access control policy on a database resource.
143+ Replaces any existing policy.
145144
146- Authorization requires `spanner.databases.setIamPolicy` permission on
147- [resource][google.iam.v1.SetIamPolicyRequest.resource].
145+ Authorization requires `spanner.databases.setIamPolicy`
146+ permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
148147 """
149148 context .set_code (grpc .StatusCode .UNIMPLEMENTED )
150149 context .set_details ("Method not implemented!" )
151150 raise NotImplementedError ("Method not implemented!" )
152151
153152 def GetIamPolicy (self , request , context ):
154- """Gets the access control policy for a database resource. Returns an empty
155- policy if a database exists but does not have a policy set.
153+ """Gets the access control policy for a database resource.
154+ Returns an empty policy if a database exists but does
155+ not have a policy set.
156156
157157 Authorization requires `spanner.databases.getIamPolicy` permission on
158158 [resource][google.iam.v1.GetIamPolicyRequest.resource].
@@ -164,10 +164,10 @@ def GetIamPolicy(self, request, context):
164164 def TestIamPermissions (self , request , context ):
165165 """Returns permissions that the caller has on the specified database resource.
166166
167- Attempting this RPC on a non-existent Cloud Spanner database will result in
168- a NOT_FOUND error if the user has `spanner.databases.list` permission on
169- the containing Cloud Spanner instance. Otherwise returns an empty set of
170- permissions.
167+ Attempting this RPC on a non-existent Cloud Spanner database will
168+ result in a NOT_FOUND error if the user has
169+ `spanner.databases.list` permission on the containing Cloud
170+ Spanner instance. Otherwise returns an empty set of permissions.
171171 """
172172 context .set_code (grpc .StatusCode .UNIMPLEMENTED )
173173 context .set_details ("Method not implemented!" )
0 commit comments