2.9.3 (latest) 2.9.2 2.8.1 2.7.2 2.6.0 2.5.1 2.4.1 2.1.2 2.0.1 1.35.2 1.34.1 1.33.4

```java
public final class GoogleUtils
```
Utility class for the Google API Client Library.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> GoogleUtils

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Fields

### BUGFIX_VERSION

```java
public static final Integer BUGFIX_VERSION
```
Bug fix part of the current release version.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `Integer` |   |

### MAJOR_VERSION

```java
public static final Integer MAJOR_VERSION
```
Major part of the current release version.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `Integer` |   |

### MINOR_VERSION

```java
public static final Integer MINOR_VERSION
```
Minor part of the current release version.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `Integer` |   |

### VERSION

```java
public static final String VERSION
```
Current release version.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `String` |   |

## Static Methods

### getCertificateTrustStore() (deprecated)

```java
public static synchronized KeyStore getCertificateTrustStore()
```
**Deprecated.** *Depending on your build environment this method potentially can contain outdated
certs if loading jdk default certs fails. Instead of getting trusted certs directly use an
HttpTransport wrapper such as {@link [NetHttpTransport](https://docs.cloud.google.com/java/docs/reference/google-http-client/latest/com.google.api.client.http.javanet.NetHttpTransport.md.txt)}
which uses java jdk internal classes to load default jdk certs specifically for a build
environment. If you need to access the keystore directly please create your own keystore
file.*

Returns a keystore for trusted root certificates to use for Google APIs.

Value is cached, so subsequent access is fast.

This method first attempts to load the JDK default keystore. If that fails or is not
available, it falls back to loading the bundled Google certificate store.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `KeyStore` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `IOException` |   |
| `GeneralSecurityException` |   |