use of com.google.cloud.notebooks.v1beta1.GetEnvironmentRequest in project java-notebooks by googleapis.
the class ITNotebookServiceClientTest method testGetEnvironment.
@Test
public void testGetEnvironment() {
GetEnvironmentRequest environmentRequest = GetEnvironmentRequest.newBuilder().setName(ENVIRONMENT_NAME).build();
Environment expectedEnvironmentResponse = client.getEnvironment(environmentRequest);
assertEquals(expectedEnvironmentResponse.getName(), expectedEnvironmentResponse.getName());
assertEquals(expectedEnvironmentResponse.getContainerImage(), expectedEnvironmentResponse.getContainerImage());
}
Aggregations