Class GcpProjectDetails
java.lang.Object
com.azure.resourcemanager.security.models.GcpProjectDetails
The details about the project represented by the security connector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the projectId property: The GCP Project id.Get the projectNumber property: The unique GCP Project number.void
validate()
Validates the instance.withProjectId
(String projectId) Set the projectId property: The GCP Project id.withProjectNumber
(String projectNumber) Set the projectNumber property: The unique GCP Project number.Get the workloadIdentityPoolId property: The GCP workload identity federation pool id.
-
Constructor Details
-
GcpProjectDetails
public GcpProjectDetails()
-
-
Method Details
-
projectNumber
Get the projectNumber property: The unique GCP Project number.- Returns:
- the projectNumber value.
-
withProjectNumber
Set the projectNumber property: The unique GCP Project number.- Parameters:
projectNumber
- the projectNumber value to set.- Returns:
- the GcpProjectDetails object itself.
-
projectId
Get the projectId property: The GCP Project id.- Returns:
- the projectId value.
-
withProjectId
Set the projectId property: The GCP Project id.- Parameters:
projectId
- the projectId value to set.- Returns:
- the GcpProjectDetails object itself.
-
workloadIdentityPoolId
Get the workloadIdentityPoolId property: The GCP workload identity federation pool id.- Returns:
- the workloadIdentityPoolId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-