> For the complete documentation index, see [llms.txt](https://trillo.gitbook.io/trillo-workbench-java-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trillo.gitbook.io/trillo-workbench-java-sdk/google-cloud-api-gcpapi/gcptokeninfo.md).

# GCPTokenInfo

## getProjectId

get project id

```
GCPTokenInfo.getProjectId()
```

#### Parameters

```
None
```

#### Returns

```
String
```

## setProjectId

set project id

```
GCPTokenInfo.setProjectId(String projectId)
```

#### Parameters

```
projectId
```

#### Returns

```
None
```

## getTokenValue

get token value

```
GCPTokenInfo.getTokenValue()
```

#### Parameters

```
None
```

#### Returns

```
String
```

## setTokenValue

set token value

```
GCPTokenInfo.setTokenValue()
```

#### Parameters

```
tokenValue
```

#### Returns

```
String
```

## getExpirationTime

get expiration time

```
GCPTokenInfo.getExpirationTime()
```

#### Parameters

```
None
```

#### Returns

```
long
```

## setExpirationTime

set expiration time

```
GCPTokenInfo.setExpirationTime()
```

#### Parameters

```
None
```

#### Returns

```
None
```

## getAuthenticationType

get authentication type

```
GCPTokenInfo.getAuthenticationType()
```

#### Parameters

```
None
```

#### Returns

```
String
```

## setAuthenticationType

set authentication type

```
GCPTokenInfo.setAuthenticationType(String authenticationType)
```

#### Parameters

```
authenticationType
```

#### Returns

```
None
```

## isError

is error&#x20;

```
GCPTokenInfo.isError()
```

#### Parameters

```
None
```

#### Returns

```
boolean
```

## setError

set error&#x20;

```
GCPTokenInfo.setError(boolean error)
```

#### Parameters

```
error
```

#### Returns

```
None
```

## getMessage

get message

```
GCPTokenInfo.getMessage()
```

#### Parameters

```
None
```

#### Returns

```
String
```

## setMessage

set message

```
GCPTokenInfo.setMessage(String message)
```

#### Parameters

```
message
```

#### Returns

```
None
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://trillo.gitbook.io/trillo-workbench-java-sdk/google-cloud-api-gcpapi/gcptokeninfo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
