GcpProjectDetails Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. GcpProjectDetails
- com.
public final class GcpProjectDetails
The details about the project represented by the security connector.
Constructor Summary
Constructor | Description |
---|---|
GcpProjectDetails() |
Creates an instance of Gcp |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
projectId()
Get the project |
String |
projectName()
Get the project |
String |
projectNumber()
Get the project |
void |
validate()
Validates the instance. |
Gcp |
withProjectId(String projectId)
Set the project |
Gcp |
withProjectNumber(String projectNumber)
Set the project |
String |
workloadIdentityPoolId()
Get the workload |
Methods inherited from java.lang.Object
Constructor Details
GcpProjectDetails
public GcpProjectDetails()
Creates an instance of GcpProjectDetails class.
Method Details
projectId
public String projectId()
Get the projectId property: The GCP Project id.
Returns:
projectName
public String projectName()
Get the projectName property: GCP project name.
Returns:
projectNumber
public String projectNumber()
Get the projectNumber property: The unique GCP Project number.
Returns:
validate
public void validate()
Validates the instance.
withProjectId
public GcpProjectDetails withProjectId(String projectId)
Set the projectId property: The GCP Project id.
Parameters:
Returns:
withProjectNumber
public GcpProjectDetails withProjectNumber(String projectNumber)
Set the projectNumber property: The unique GCP Project number.
Parameters:
Returns:
workloadIdentityPoolId
public String workloadIdentityPoolId()
Get the workloadIdentityPoolId property: The GCP workload identity federation pool id.
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