@FunctionalInterface public interface GcpProjectIdAccessor
GcpIamAuthentication
.GcpIamAuthentication
Modifier and Type | Method and Description |
---|---|
String |
getProjectId(com.google.api.client.googleapis.auth.oauth2.GoogleCredential credential)
Get a the GCP project id to used in Google Cloud IAM API calls.
|
String getProjectId(com.google.api.client.googleapis.auth.oauth2.GoogleCredential credential)
credential
- the credential object to obtain the project id from.Copyright © 2016–2021 Pivotal Software, Inc.. All rights reserved.