Package com.google.api.gax.rpc.internal
Class QuotaProjectIdHidingCredentials
java.lang.Object
com.google.auth.Credentials
com.google.api.gax.rpc.internal.QuotaProjectIdHidingCredentials
- All Implemented Interfaces:
Serializable
QuotaProjectIdHidingCredentials is intended to be used to wrap a Credentials to
hide quota project id
Ensure that a custom set quota project id takes priority over one detected by credentials.
- See Also:
-
Field Summary
Fields inherited from class com.google.auth.Credentials
GOOGLE_DEFAULT_UNIVERSE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.auth.Credentials
blockingGetToCallback, getMetricsCredentialType, getRequestMetadata
-
Constructor Details
-
QuotaProjectIdHidingCredentials
-
-
Method Details
-
getAuthenticationType
- Specified by:
getAuthenticationTypein classCredentials
-
getRequestMetadata
- Specified by:
getRequestMetadatain classCredentials- Throws:
IOException
-
getRequestMetadata
- Overrides:
getRequestMetadatain classCredentials- Throws:
IOException
-
hasRequestMetadata
public boolean hasRequestMetadata()- Specified by:
hasRequestMetadatain classCredentials
-
hasRequestMetadataOnly
public boolean hasRequestMetadataOnly()- Specified by:
hasRequestMetadataOnlyin classCredentials
-
refresh
- Specified by:
refreshin classCredentials- Throws:
IOException
-
getUniverseDomain
- Overrides:
getUniverseDomainin classCredentials- Throws:
IOException
-