I need to implement YouTube clips using the Google client Java library. I have attached sample YouTube clip url. Sample code I could I have attached below. But this code doesn't fetch clip information, it's based on videoId.
// Define and execute the API request
YouTube.Videos.List request = youtubeService.videos()
.list(List.of("snippet", "statistics"))
.setId(List.of(videoId));
VideoListResponse response = request.execute();