com.xebialabs.overthere.gcp.credentials.ProjectCredentials Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of overthere Show documentation
Show all versions of overthere Show documentation
Remote file manipulation and process execution framework for Java
package com.xebialabs.overthere.gcp.credentials;
import com.google.auth.Credentials;
import com.google.api.client.auth.oauth2.Credential;
public final class ProjectCredentials {
private Credentials credentials;
private Credential oauth2Credential;
private final String projectId;
private final String clientEmail;
ProjectCredentials(final Credentials credentials, final String projectId, final String clientEmail) {
this.credentials = credentials;
this.projectId = projectId;
this.clientEmail = clientEmail;
}
ProjectCredentials(final Credential credential, final String projectId, final String clientEmail) {
this.oauth2Credential = credential;
this.projectId = projectId;
this.clientEmail = clientEmail;
}
public Credentials getCredentials() {
return credentials;
}
public Credential getOauth2Credential() {
return oauth2Credential;
}
public String getProjectId() {
return projectId;
}
public String getClientEmail() {
return clientEmail;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy