Class GcpCredentialsDetailsProperties
java.lang.Object
com.azure.resourcemanager.security.models.AuthenticationDetailsProperties
com.azure.resourcemanager.security.models.GcpCredentialsDetailsProperties
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
-
Method Summary
Modifier and TypeMethodDescriptionGet the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).authUri()
Get the authUri property: Auth URI field of the API key (write only).Get the clientEmail property: Client email field of the API key (write only).clientId()
Get the clientId property: Client ID field of the API key (write only).Get the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).Get the organizationId property: The organization ID of the GCP cloud account.Get the privateKey property: Private key field of the API key (write only).Get the privateKeyId property: Private key ID field of the API key (write only).Get the projectId property: Project ID field of the API key (write only).tokenUri()
Get the tokenUri property: Token URI field of the API key (write only).type()
Get the type property: Type field of the API key (write only).void
validate()
Validates the instance.withAuthProviderX509CertUrl
(String authProviderX509CertUrl) Set the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).withAuthUri
(String authUri) Set the authUri property: Auth URI field of the API key (write only).withClientEmail
(String clientEmail) Set the clientEmail property: Client email field of the API key (write only).withClientId
(String clientId) Set the clientId property: Client ID field of the API key (write only).withClientX509CertUrl
(String clientX509CertUrl) Set the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).withOrganizationId
(String organizationId) Set the organizationId property: The organization ID of the GCP cloud account.withPrivateKey
(String privateKey) Set the privateKey property: Private key field of the API key (write only).withPrivateKeyId
(String privateKeyId) Set the privateKeyId property: Private key ID field of the API key (write only).withProjectId
(String projectId) Set the projectId property: Project ID field of the API key (write only).withTokenUri
(String tokenUri) Set the tokenUri property: Token URI field of the API key (write only).Set the type property: Type field of the API key (write only).Methods inherited from class com.azure.resourcemanager.security.models.AuthenticationDetailsProperties
authenticationProvisioningState, grantedPermissions
-
Constructor Details
-
GcpCredentialsDetailsProperties
public GcpCredentialsDetailsProperties()
-
-
Method Details
-
organizationId
Get the organizationId property: The organization ID of the GCP cloud account.- Returns:
- the organizationId value.
-
withOrganizationId
Set the organizationId property: The organization ID of the GCP cloud account.- Parameters:
organizationId
- the organizationId value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
type
Get the type property: Type field of the API key (write only).- Returns:
- the type value.
-
withType
Set the type property: Type field of the API key (write only).- Parameters:
type
- the type value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
projectId
Get the projectId property: Project ID field of the API key (write only).- Returns:
- the projectId value.
-
withProjectId
Set the projectId property: Project ID field of the API key (write only).- Parameters:
projectId
- the projectId value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
privateKeyId
Get the privateKeyId property: Private key ID field of the API key (write only).- Returns:
- the privateKeyId value.
-
withPrivateKeyId
Set the privateKeyId property: Private key ID field of the API key (write only).- Parameters:
privateKeyId
- the privateKeyId value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
privateKey
Get the privateKey property: Private key field of the API key (write only).- Returns:
- the privateKey value.
-
withPrivateKey
Set the privateKey property: Private key field of the API key (write only).- Parameters:
privateKey
- the privateKey value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
clientEmail
Get the clientEmail property: Client email field of the API key (write only).- Returns:
- the clientEmail value.
-
withClientEmail
Set the clientEmail property: Client email field of the API key (write only).- Parameters:
clientEmail
- the clientEmail value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
clientId
Get the clientId property: Client ID field of the API key (write only).- Returns:
- the clientId value.
-
withClientId
Set the clientId property: Client ID field of the API key (write only).- Parameters:
clientId
- the clientId value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
authUri
Get the authUri property: Auth URI field of the API key (write only).- Returns:
- the authUri value.
-
withAuthUri
Set the authUri property: Auth URI field of the API key (write only).- Parameters:
authUri
- the authUri value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
tokenUri
Get the tokenUri property: Token URI field of the API key (write only).- Returns:
- the tokenUri value.
-
withTokenUri
Set the tokenUri property: Token URI field of the API key (write only).- Parameters:
tokenUri
- the tokenUri value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
authProviderX509CertUrl
Get the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).- Returns:
- the authProviderX509CertUrl value.
-
withAuthProviderX509CertUrl
Set the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).- Parameters:
authProviderX509CertUrl
- the authProviderX509CertUrl value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
clientX509CertUrl
Get the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).- Returns:
- the clientX509CertUrl value.
-
withClientX509CertUrl
Set the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).- Parameters:
clientX509CertUrl
- the clientX509CertUrl value to set.- Returns:
- the GcpCredentialsDetailsProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAuthenticationDetailsProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-