Search in sources :

Example 1 with GetEnvironmentRequest

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());
}
Also used : Environment(com.google.cloud.notebooks.v1beta1.Environment) GetEnvironmentRequest(com.google.cloud.notebooks.v1beta1.GetEnvironmentRequest) Test(org.junit.Test)

Aggregations

Environment (com.google.cloud.notebooks.v1beta1.Environment)1 GetEnvironmentRequest (com.google.cloud.notebooks.v1beta1.GetEnvironmentRequest)1 Test (org.junit.Test)1