google-notebooks/src/test/java/bio/terra/cloudres/google/notebooks/AIPlatformNotebooksCowTest.java
/**
   * Creates a notebook instance for the {@link InstanceName}. Blocks until the instance is created
   * successfully or fails
   */
Creates a notebook instance for the  InstanceName. Blocks until the instance is created
successfully or fails
Creates a notebook instance for the InstanceName . Blocks until the instance is created successfully or fails
private void createInstance(InstanceName instanceName) throws IOException, InterruptedException {
    OperationCow<Operation> createOperation =
        notebooks
            .operations()
            .operationCow(notebooks.instances().create(instanceName, defaultInstance()).execute());
    OperationTestUtils.pollAndAssertSuccess(
        createOperation, Duration.ofSeconds(30), Duration.ofMinutes(12));
  }
private void createInstance ( InstanceName instanceName ) throws IOException , InterruptedException { OperationCow < Operation > createOperation = notebooks . operations ( ) . operationCow ( notebooks . instances ( ) . create ( instanceName , defaultInstance ( ) ) . execute ( ) ) ; OperationTestUtils . pollAndAssertSuccess ( createOperation , Duration . ofSeconds ( 30 ) , Duration . ofMinutes ( 12 ) ) ; }
Creates a notebook instance for the {@link InstanceName}.
Creates a notebook instance for the { @link InstanceName } .