public Operation createImage ( String image , String description , OperationOption ... options ) { ImageInfo imageInfo = ImageInfo . newBuilder ( ImageId . of ( image ) , DiskImageConfiguration . of ( getDiskId ( ) ) ) . setDescription ( description ) . build ( ) ; return compute . create ( imageInfo , options ) ; }
Creates an image for this disk given the image s name and description .