Skip to content

Commit aa4fd1a

Browse files
IvanLHcopybara-github
authored andcommitted
chore: Renamed internal method for get Operation
PiperOrigin-RevId: 785606522
1 parent 0b47783 commit aa4fd1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/com/google/genai/Operations.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,7 @@ ObjectNode generateVideosOperationFromVertex(JsonNode fromObject, ObjectNode par
355355
return toObject;
356356
}
357357

358-
GenerateVideosOperation privateGetVideosOperation(
359-
String operationName, GetOperationConfig config) {
358+
GenerateVideosOperation privateGetOperation(String operationName, GetOperationConfig config) {
360359

361360
GetOperationParameters.Builder parameterBuilder = GetOperationParameters.builder();
362361

@@ -504,7 +503,7 @@ public GenerateVideosOperation getVideosOperation(
504503
return this.privateFetchPredictVideosOperation(
505504
operation.name().get(), resourceName, fetchConfig);
506505
} else {
507-
return this.privateGetVideosOperation(operation.name().get(), config);
506+
return this.privateGetOperation(operation.name().get(), config);
508507
}
509508
}
510509
}

0 commit comments

Comments
 (0)