Package com.google.api.client.googleapis.compute (1.34.1)

Classes

ComputeCredential

Beta
Google Compute Engine service accounts OAuth 2.0 credential based on Authenticating from Google Compute Engine.

Sample usage:


 public static HttpRequestFactory createRequestFactory(
     HttpTransport transport, JsonFactory jsonFactory) {
   return transport.createRequestFactory(
     new GoogleComputeCredential(transport, jsonFactory));
 }
 

Implementation is immutable and thread-safe.

ComputeCredential.Builder

Beta
Google Compute Engine credential builder.

Implementation is not thread-safe.