GcpProjectDetails Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. GcpProjectDetails
- com.
Implements
public final class GcpProjectDetails
implements JsonSerializable<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 |
|---|---|
|
static
Gcp |
fromJson(JsonReader jsonReader)
Reads an instance of Gcp |
| String |
projectId()
Get the project |
| String |
projectName()
Get the project |
| String |
projectNumber()
Get the project |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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
fromJson
public static GcpProjectDetails fromJson(JsonReader jsonReader)
Reads an instance of GcpProjectDetails from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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: