GcpCredentialsDetailsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AuthenticationDetailsProperties - com.
azure. resourcemanager. security. models. GcpCredentialsDetailsProperties
- com.
- com.
public final class GcpCredentialsDetailsProperties
extends AuthenticationDetailsProperties
GCP cloud account connector based service to service credentials, the credentials are composed of the organization ID and a JSON API key (write only).
Constructor Summary
Constructor | Description |
---|---|
GcpCredentialsDetailsProperties() |
Creates an instance of Gcp |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authProviderX509CertUrl()
Get the auth |
String |
authUri()
Get the auth |
String |
clientEmail()
Get the client |
String |
clientId()
Get the client |
String |
clientX509CertUrl()
Get the clientX509Cert |
String |
organizationId()
Get the organization |
String |
privateKey()
Get the private |
String |
privateKeyId()
Get the private |
String |
projectId()
Get the project |
String |
tokenUri()
Get the token |
String |
type()
Get the type property: Type field of the API key (write only). |
void |
validate()
Validates the instance. |
Gcp |
withAuthProviderX509CertUrl(String authProviderX509CertUrl)
Set the auth |
Gcp |
withAuthUri(String authUri)
Set the auth |
Gcp |
withClientEmail(String clientEmail)
Set the client |
Gcp |
withClientId(String clientId)
Set the client |
Gcp |
withClientX509CertUrl(String clientX509CertUrl)
Set the clientX509Cert |
Gcp |
withOrganizationId(String organizationId)
Set the organization |
Gcp |
withPrivateKey(String privateKey)
Set the private |
Gcp |
withPrivateKeyId(String privateKeyId)
Set the private |
Gcp |
withProjectId(String projectId)
Set the project |
Gcp |
withTokenUri(String tokenUri)
Set the token |
Gcp |
withType(String type)
Set the type property: Type field of the API key (write only). |
Methods inherited from AuthenticationDetailsProperties
Methods inherited from java.lang.Object
Constructor Details
GcpCredentialsDetailsProperties
public GcpCredentialsDetailsProperties()
Creates an instance of GcpCredentialsDetailsProperties class.
Method Details
authProviderX509CertUrl
public String authProviderX509CertUrl()
Get the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).
Returns:
authUri
public String authUri()
Get the authUri property: Auth URI field of the API key (write only).
Returns:
clientEmail
public String clientEmail()
Get the clientEmail property: Client email field of the API key (write only).
Returns:
clientId
public String clientId()
Get the clientId property: Client ID field of the API key (write only).
Returns:
clientX509CertUrl
public String clientX509CertUrl()
Get the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).
Returns:
organizationId
public String organizationId()
Get the organizationId property: The organization ID of the GCP cloud account.
Returns:
privateKey
public String privateKey()
Get the privateKey property: Private key field of the API key (write only).
Returns:
privateKeyId
public String privateKeyId()
Get the privateKeyId property: Private key ID field of the API key (write only).
Returns:
projectId
public String projectId()
Get the projectId property: Project ID field of the API key (write only).
Returns:
tokenUri
public String tokenUri()
Get the tokenUri property: Token URI field of the API key (write only).
Returns:
type
public String type()
Get the type property: Type field of the API key (write only).
Returns:
validate
public void validate()
Validates the instance.
Overrides:
GcpCredentialsDetailsProperties.validate()withAuthProviderX509CertUrl
public GcpCredentialsDetailsProperties withAuthProviderX509CertUrl(String authProviderX509CertUrl)
Set the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).
Parameters:
Returns:
withAuthUri
public GcpCredentialsDetailsProperties withAuthUri(String authUri)
Set the authUri property: Auth URI field of the API key (write only).
Parameters:
Returns:
withClientEmail
public GcpCredentialsDetailsProperties withClientEmail(String clientEmail)
Set the clientEmail property: Client email field of the API key (write only).
Parameters:
Returns:
withClientId
public GcpCredentialsDetailsProperties withClientId(String clientId)
Set the clientId property: Client ID field of the API key (write only).
Parameters:
Returns:
withClientX509CertUrl
public GcpCredentialsDetailsProperties withClientX509CertUrl(String clientX509CertUrl)
Set the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).
Parameters:
Returns:
withOrganizationId
public GcpCredentialsDetailsProperties withOrganizationId(String organizationId)
Set the organizationId property: The organization ID of the GCP cloud account.
Parameters:
Returns:
withPrivateKey
public GcpCredentialsDetailsProperties withPrivateKey(String privateKey)
Set the privateKey property: Private key field of the API key (write only).
Parameters:
Returns:
withPrivateKeyId
public GcpCredentialsDetailsProperties withPrivateKeyId(String privateKeyId)
Set the privateKeyId property: Private key ID field of the API key (write only).
Parameters:
Returns:
withProjectId
public GcpCredentialsDetailsProperties withProjectId(String projectId)
Set the projectId property: Project ID field of the API key (write only).
Parameters:
Returns:
withTokenUri
public GcpCredentialsDetailsProperties withTokenUri(String tokenUri)
Set the tokenUri property: Token URI field of the API key (write only).
Parameters:
Returns:
withType
public GcpCredentialsDetailsProperties withType(String type)
Set the type property: Type field of the API key (write only).
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for