GcpProjectDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.GcpProjectDetails

public final class GcpProjectDetails

The details about the project represented by the security connector.

Constructor Summary

Constructor Description
GcpProjectDetails()

Creates an instance of GcpProjectDetails class.

Method Summary

Modifier and Type Method and Description
String projectId()

Get the projectId property: The GCP Project id.

String projectName()

Get the projectName property: GCP project name.

String projectNumber()

Get the projectNumber property: The unique GCP Project number.

void validate()

Validates the instance.

GcpProjectDetails withProjectId(String projectId)

Set the projectId property: The GCP Project id.

GcpProjectDetails withProjectNumber(String projectNumber)

Set the projectNumber property: The unique GCP Project number.

String workloadIdentityPoolId()

Get the workloadIdentityPoolId property: The GCP workload identity federation pool id.

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:

the projectId value.

projectName

public String projectName()

Get the projectName property: GCP project name.

Returns:

the projectName value.

projectNumber

public String projectNumber()

Get the projectNumber property: The unique GCP Project number.

Returns:

the projectNumber value.

validate

public void validate()

Validates the instance.

withProjectId

public GcpProjectDetails withProjectId(String projectId)

Set the projectId property: The GCP Project id.

Parameters:

projectId - the projectId value to set.

Returns:

the GcpProjectDetails object itself.

withProjectNumber

public GcpProjectDetails withProjectNumber(String projectNumber)

Set the projectNumber property: The unique GCP Project number.

Parameters:

projectNumber - the projectNumber value to set.

Returns:

the GcpProjectDetails object itself.

workloadIdentityPoolId

public String workloadIdentityPoolId()

Get the workloadIdentityPoolId property: The GCP workload identity federation pool id.

Returns:

the workloadIdentityPoolId value.

Applies to