google-apis-documentai_v1 0.107.0 → 0.108.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/CHANGELOG.md +4 -0
 - data/lib/google/apis/documentai_v1/classes.rb +6163 -3912
 - data/lib/google/apis/documentai_v1/gem_version.rb +2 -2
 - data/lib/google/apis/documentai_v1/representations.rb +1021 -44
 - data/lib/google/apis/documentai_v1/service.rb +387 -0
 - metadata +2 -2
 
| 
         @@ -1113,6 +1113,393 @@ module Google 
     | 
|
| 
       1113 
1113 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1114 
1114 
     | 
    
         
             
                    end
         
     | 
| 
       1115 
1115 
     | 
    
         | 
| 
      
 1116 
     | 
    
         
            +
                    # Creates a schema.
         
     | 
| 
      
 1117 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 1118 
     | 
    
         
            +
                    #   Required. The parent (project and location) under which to create the Schema.
         
     | 
| 
      
 1119 
     | 
    
         
            +
                    #   Format: `projects/`project`/locations/`location``
         
     | 
| 
      
 1120 
     | 
    
         
            +
                    # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema] google_cloud_documentai_v1_next_schema_object
         
     | 
| 
      
 1121 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1122 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1123 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1124 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1125 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1126 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1127 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1128 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1129 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1130 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema] parsed result object
         
     | 
| 
      
 1131 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1132 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1133 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema]
         
     | 
| 
      
 1134 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1135 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1136 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1137 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1138 
     | 
    
         
            +
                    def create_project_location_schema(parent, google_cloud_documentai_v1_next_schema_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1139 
     | 
    
         
            +
                      command = make_simple_command(:post, 'v1/{+parent}/schemas', options)
         
     | 
| 
      
 1140 
     | 
    
         
            +
                      command.request_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema::Representation
         
     | 
| 
      
 1141 
     | 
    
         
            +
                      command.request_object = google_cloud_documentai_v1_next_schema_object
         
     | 
| 
      
 1142 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema::Representation
         
     | 
| 
      
 1143 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema
         
     | 
| 
      
 1144 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 1145 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1146 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1147 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1148 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1149 
     | 
    
         
            +
                    
         
     | 
| 
      
 1150 
     | 
    
         
            +
                    # Deletes a schema.
         
     | 
| 
      
 1151 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1152 
     | 
    
         
            +
                    #   Required. The name of the Schema to be deleted. Format: `projects/`project`/
         
     | 
| 
      
 1153 
     | 
    
         
            +
                    #   locations/`location`/schemas/`schema``
         
     | 
| 
      
 1154 
     | 
    
         
            +
                    # @param [Boolean] force
         
     | 
| 
      
 1155 
     | 
    
         
            +
                    #   Optional. If set to true, any child resources of this Schema will also be
         
     | 
| 
      
 1156 
     | 
    
         
            +
                    #   deleted. (Otherwise, the request will only work if the Schema has no child
         
     | 
| 
      
 1157 
     | 
    
         
            +
                    #   resources.)
         
     | 
| 
      
 1158 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1159 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1160 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1161 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1162 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1163 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1164 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1165 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1166 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1167 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningOperation] parsed result object
         
     | 
| 
      
 1168 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1169 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1170 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleLongrunningOperation]
         
     | 
| 
      
 1171 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1172 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1173 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1174 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1175 
     | 
    
         
            +
                    def delete_project_location_schema(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1176 
     | 
    
         
            +
                      command = make_simple_command(:delete, 'v1/{+name}', options)
         
     | 
| 
      
 1177 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningOperation::Representation
         
     | 
| 
      
 1178 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningOperation
         
     | 
| 
      
 1179 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1180 
     | 
    
         
            +
                      command.query['force'] = force unless force.nil?
         
     | 
| 
      
 1181 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1182 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1183 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1184 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1185 
     | 
    
         
            +
                    
         
     | 
| 
      
 1186 
     | 
    
         
            +
                    # Gets a schema.
         
     | 
| 
      
 1187 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1188 
     | 
    
         
            +
                    #   Required. The name of the Schema to get. Format: `projects/`project`/locations/
         
     | 
| 
      
 1189 
     | 
    
         
            +
                    #   `location`/schemas/`schema``
         
     | 
| 
      
 1190 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1191 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1192 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1193 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1194 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1195 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1196 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1197 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1198 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1199 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema] parsed result object
         
     | 
| 
      
 1200 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1201 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1202 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema]
         
     | 
| 
      
 1203 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1204 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1205 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1206 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1207 
     | 
    
         
            +
                    def get_project_location_schema(name, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1208 
     | 
    
         
            +
                      command = make_simple_command(:get, 'v1/{+name}', options)
         
     | 
| 
      
 1209 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema::Representation
         
     | 
| 
      
 1210 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema
         
     | 
| 
      
 1211 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1212 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1213 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1214 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1215 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1216 
     | 
    
         
            +
                    
         
     | 
| 
      
 1217 
     | 
    
         
            +
                    # Lists Schemas.
         
     | 
| 
      
 1218 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 1219 
     | 
    
         
            +
                    #   Required. Format: `projects/`project`/locations/`location``
         
     | 
| 
      
 1220 
     | 
    
         
            +
                    # @param [Fixnum] page_size
         
     | 
| 
      
 1221 
     | 
    
         
            +
                    #   Optional. The maximum number of schema groups to return. If unspecified, at
         
     | 
| 
      
 1222 
     | 
    
         
            +
                    #   most `10` Schema will be returned. The maximum value is `20`. Values above `20`
         
     | 
| 
      
 1223 
     | 
    
         
            +
                    #   will be coerced to `20`.
         
     | 
| 
      
 1224 
     | 
    
         
            +
                    # @param [String] page_token
         
     | 
| 
      
 1225 
     | 
    
         
            +
                    #   Optional. We will return the schema groups sorted by creation time. The page
         
     | 
| 
      
 1226 
     | 
    
         
            +
                    #   token will point to the next Schema.
         
     | 
| 
      
 1227 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1228 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1229 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1230 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1231 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1232 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1233 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1234 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1235 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1236 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemasResponse] parsed result object
         
     | 
| 
      
 1237 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1238 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1239 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemasResponse]
         
     | 
| 
      
 1240 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1241 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1242 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1243 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1244 
     | 
    
         
            +
                    def list_project_location_schemas(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1245 
     | 
    
         
            +
                      command = make_simple_command(:get, 'v1/{+parent}/schemas', options)
         
     | 
| 
      
 1246 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemasResponse::Representation
         
     | 
| 
      
 1247 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemasResponse
         
     | 
| 
      
 1248 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 1249 
     | 
    
         
            +
                      command.query['pageSize'] = page_size unless page_size.nil?
         
     | 
| 
      
 1250 
     | 
    
         
            +
                      command.query['pageToken'] = page_token unless page_token.nil?
         
     | 
| 
      
 1251 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1252 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1253 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1254 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1255 
     | 
    
         
            +
                    
         
     | 
| 
      
 1256 
     | 
    
         
            +
                    # Updates a schema. Editable fields are: - `display_name` - `labels`
         
     | 
| 
      
 1257 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1258 
     | 
    
         
            +
                    #   Identifier. The resource name of the Schema. Format: `projects/`project`/
         
     | 
| 
      
 1259 
     | 
    
         
            +
                    #   locations/`location`/schemas/`schema``
         
     | 
| 
      
 1260 
     | 
    
         
            +
                    # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema] google_cloud_documentai_v1_next_schema_object
         
     | 
| 
      
 1261 
     | 
    
         
            +
                    # @param [String] update_mask
         
     | 
| 
      
 1262 
     | 
    
         
            +
                    #   Optional. The update mask to apply to the resource. **Note:** Only the
         
     | 
| 
      
 1263 
     | 
    
         
            +
                    #   following fields can be updated: - display_name. - labels.
         
     | 
| 
      
 1264 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1265 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1266 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1267 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1268 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1269 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1270 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1271 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1272 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1273 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema] parsed result object
         
     | 
| 
      
 1274 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1275 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1276 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema]
         
     | 
| 
      
 1277 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1278 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1279 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1280 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1281 
     | 
    
         
            +
                    def patch_project_location_schema(name, google_cloud_documentai_v1_next_schema_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1282 
     | 
    
         
            +
                      command = make_simple_command(:patch, 'v1/{+name}', options)
         
     | 
| 
      
 1283 
     | 
    
         
            +
                      command.request_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema::Representation
         
     | 
| 
      
 1284 
     | 
    
         
            +
                      command.request_object = google_cloud_documentai_v1_next_schema_object
         
     | 
| 
      
 1285 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema::Representation
         
     | 
| 
      
 1286 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema
         
     | 
| 
      
 1287 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1288 
     | 
    
         
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         
     | 
| 
      
 1289 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1290 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1291 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1292 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1293 
     | 
    
         
            +
                    
         
     | 
| 
      
 1294 
     | 
    
         
            +
                    # Creates a schema version.
         
     | 
| 
      
 1295 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 1296 
     | 
    
         
            +
                    #   Required. The parent (project and location) under which to create the
         
     | 
| 
      
 1297 
     | 
    
         
            +
                    #   SchemaVersion. Format: `projects/`project`/locations/`location`/schemas/`
         
     | 
| 
      
 1298 
     | 
    
         
            +
                    #   schema``
         
     | 
| 
      
 1299 
     | 
    
         
            +
                    # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion] google_cloud_documentai_v1_schema_version_object
         
     | 
| 
      
 1300 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1301 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1302 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1303 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1304 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1305 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1306 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1307 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1308 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1309 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion] parsed result object
         
     | 
| 
      
 1310 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1311 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1312 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion]
         
     | 
| 
      
 1313 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1314 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1315 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1316 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1317 
     | 
    
         
            +
                    def create_project_location_schema_schema_version(parent, google_cloud_documentai_v1_schema_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1318 
     | 
    
         
            +
                      command = make_simple_command(:post, 'v1/{+parent}/schemaVersions', options)
         
     | 
| 
      
 1319 
     | 
    
         
            +
                      command.request_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion::Representation
         
     | 
| 
      
 1320 
     | 
    
         
            +
                      command.request_object = google_cloud_documentai_v1_schema_version_object
         
     | 
| 
      
 1321 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion::Representation
         
     | 
| 
      
 1322 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion
         
     | 
| 
      
 1323 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 1324 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1325 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1326 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1327 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1328 
     | 
    
         
            +
                    
         
     | 
| 
      
 1329 
     | 
    
         
            +
                    # Deletes a schema version.
         
     | 
| 
      
 1330 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1331 
     | 
    
         
            +
                    #   Required. The name of the SchemaVersion to delete. Format: `projects/`project`/
         
     | 
| 
      
 1332 
     | 
    
         
            +
                    #   locations/`location`/schemas/`schema`/schemaVersions/`schema_version``
         
     | 
| 
      
 1333 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1334 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1335 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1336 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1337 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1338 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1339 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1340 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1341 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1342 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningOperation] parsed result object
         
     | 
| 
      
 1343 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1344 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1345 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleLongrunningOperation]
         
     | 
| 
      
 1346 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1347 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1348 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1349 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1350 
     | 
    
         
            +
                    def delete_project_location_schema_schema_version(name, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1351 
     | 
    
         
            +
                      command = make_simple_command(:delete, 'v1/{+name}', options)
         
     | 
| 
      
 1352 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningOperation::Representation
         
     | 
| 
      
 1353 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningOperation
         
     | 
| 
      
 1354 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1355 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1356 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1357 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1358 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1359 
     | 
    
         
            +
                    
         
     | 
| 
      
 1360 
     | 
    
         
            +
                    # Generates a schema version.
         
     | 
| 
      
 1361 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 1362 
     | 
    
         
            +
                    #   Required. The parent (project, location and schema) under which to generate
         
     | 
| 
      
 1363 
     | 
    
         
            +
                    #   the SchemaVersion. Format: `projects/`project`/locations/`location`/schemas/`
         
     | 
| 
      
 1364 
     | 
    
         
            +
                    #   schema``
         
     | 
| 
      
 1365 
     | 
    
         
            +
                    # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionRequest] google_cloud_documentai_v1_generate_schema_version_request_object
         
     | 
| 
      
 1366 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1367 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1368 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1369 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1370 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1371 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1372 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1373 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1374 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1375 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionResponse] parsed result object
         
     | 
| 
      
 1376 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1377 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1378 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionResponse]
         
     | 
| 
      
 1379 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1380 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1381 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1382 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1383 
     | 
    
         
            +
                    def generate_project_location_schema_schema_version(parent, google_cloud_documentai_v1_generate_schema_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1384 
     | 
    
         
            +
                      command = make_simple_command(:post, 'v1/{+parent}/schemaVersions:generate', options)
         
     | 
| 
      
 1385 
     | 
    
         
            +
                      command.request_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionRequest::Representation
         
     | 
| 
      
 1386 
     | 
    
         
            +
                      command.request_object = google_cloud_documentai_v1_generate_schema_version_request_object
         
     | 
| 
      
 1387 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionResponse::Representation
         
     | 
| 
      
 1388 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionResponse
         
     | 
| 
      
 1389 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 1390 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1391 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1392 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1393 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1394 
     | 
    
         
            +
                    
         
     | 
| 
      
 1395 
     | 
    
         
            +
                    # Gets a schema version.
         
     | 
| 
      
 1396 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1397 
     | 
    
         
            +
                    #   Required. The name of the SchemaVersion to get. Format: `projects/`project`/
         
     | 
| 
      
 1398 
     | 
    
         
            +
                    #   locations/`location`/schemas/`schema`/schemaVersions/`schema_version``
         
     | 
| 
      
 1399 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1400 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1401 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1402 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1403 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1404 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1405 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1406 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1407 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1408 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion] parsed result object
         
     | 
| 
      
 1409 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1410 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1411 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion]
         
     | 
| 
      
 1412 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1413 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1414 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1415 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1416 
     | 
    
         
            +
                    def get_project_location_schema_schema_version(name, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1417 
     | 
    
         
            +
                      command = make_simple_command(:get, 'v1/{+name}', options)
         
     | 
| 
      
 1418 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion::Representation
         
     | 
| 
      
 1419 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion
         
     | 
| 
      
 1420 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1421 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1422 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1423 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1424 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1425 
     | 
    
         
            +
                    
         
     | 
| 
      
 1426 
     | 
    
         
            +
                    # Lists SchemaVersions.
         
     | 
| 
      
 1427 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 1428 
     | 
    
         
            +
                    #   Required. Format: `projects/`project`/locations/`location`/schemas/`schema``
         
     | 
| 
      
 1429 
     | 
    
         
            +
                    # @param [Fixnum] page_size
         
     | 
| 
      
 1430 
     | 
    
         
            +
                    #   Optional. The maximum number of SchemaVersion to return. If unspecified, at
         
     | 
| 
      
 1431 
     | 
    
         
            +
                    #   most `10` SchemaVersion will be returned. The maximum value is `20`. Values
         
     | 
| 
      
 1432 
     | 
    
         
            +
                    #   above `20` will be coerced to `20`.
         
     | 
| 
      
 1433 
     | 
    
         
            +
                    # @param [String] page_token
         
     | 
| 
      
 1434 
     | 
    
         
            +
                    #   Optional. We will return the SchemaVersion sorted by creation time. The page
         
     | 
| 
      
 1435 
     | 
    
         
            +
                    #   token will point to the next SchemaVersion.
         
     | 
| 
      
 1436 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1437 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1438 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1439 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1440 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1441 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1442 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1443 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1444 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1445 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemaVersionsResponse] parsed result object
         
     | 
| 
      
 1446 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1447 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1448 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemaVersionsResponse]
         
     | 
| 
      
 1449 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1450 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1451 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1452 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1453 
     | 
    
         
            +
                    def list_project_location_schema_schema_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1454 
     | 
    
         
            +
                      command = make_simple_command(:get, 'v1/{+parent}/schemaVersions', options)
         
     | 
| 
      
 1455 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemaVersionsResponse::Representation
         
     | 
| 
      
 1456 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListSchemaVersionsResponse
         
     | 
| 
      
 1457 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 1458 
     | 
    
         
            +
                      command.query['pageSize'] = page_size unless page_size.nil?
         
     | 
| 
      
 1459 
     | 
    
         
            +
                      command.query['pageToken'] = page_token unless page_token.nil?
         
     | 
| 
      
 1460 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1461 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1462 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1463 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1464 
     | 
    
         
            +
                    
         
     | 
| 
      
 1465 
     | 
    
         
            +
                    # Updates a schema version. Editable fields are: - `display_name` - `labels`
         
     | 
| 
      
 1466 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1467 
     | 
    
         
            +
                    #   Identifier. The resource name of the SchemaVersion. Format: `projects/`project`
         
     | 
| 
      
 1468 
     | 
    
         
            +
                    #   /locations/`location`/schemas/`schema`/schemaVersions/`schema_version``
         
     | 
| 
      
 1469 
     | 
    
         
            +
                    # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion] google_cloud_documentai_v1_schema_version_object
         
     | 
| 
      
 1470 
     | 
    
         
            +
                    # @param [String] update_mask
         
     | 
| 
      
 1471 
     | 
    
         
            +
                    #   Optional. The update mask to apply to the resource. **Note:** Only the
         
     | 
| 
      
 1472 
     | 
    
         
            +
                    #   following fields can be updated: - display_name. - labels.
         
     | 
| 
      
 1473 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1474 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1475 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1476 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1477 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1478 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1479 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1480 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1481 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1482 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion] parsed result object
         
     | 
| 
      
 1483 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1484 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1485 
     | 
    
         
            +
                    # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion]
         
     | 
| 
      
 1486 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1487 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1488 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1489 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1490 
     | 
    
         
            +
                    def patch_project_location_schema_schema_version(name, google_cloud_documentai_v1_schema_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1491 
     | 
    
         
            +
                      command = make_simple_command(:patch, 'v1/{+name}', options)
         
     | 
| 
      
 1492 
     | 
    
         
            +
                      command.request_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion::Representation
         
     | 
| 
      
 1493 
     | 
    
         
            +
                      command.request_object = google_cloud_documentai_v1_schema_version_object
         
     | 
| 
      
 1494 
     | 
    
         
            +
                      command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion::Representation
         
     | 
| 
      
 1495 
     | 
    
         
            +
                      command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion
         
     | 
| 
      
 1496 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1497 
     | 
    
         
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         
     | 
| 
      
 1498 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1499 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1500 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1501 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1502 
     | 
    
         
            +
                    
         
     | 
| 
       1116 
1503 
     | 
    
         
             
                    # Gets the latest state of a long-running operation. Clients can use this method
         
     | 
| 
       1117 
1504 
     | 
    
         
             
                    # to poll the operation result at intervals as recommended by the API service.
         
     | 
| 
       1118 
1505 
     | 
    
         
             
                    # @param [String] name
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-apis-documentai_v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.108.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
         @@ -57,7 +57,7 @@ licenses: 
     | 
|
| 
       57 
57 
     | 
    
         
             
            metadata:
         
     | 
| 
       58 
58 
     | 
    
         
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         
     | 
| 
       59 
59 
     | 
    
         
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
         
     | 
| 
       60 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0. 
     | 
| 
      
 60 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.108.0
         
     | 
| 
       61 
61 
     | 
    
         
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
         
     | 
| 
       62 
62 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       63 
63 
     | 
    
         
             
            require_paths:
         
     |