GcpOrganizationalDataMember Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. GcpOrganizationalData - com.
azure. resourcemanager. security. models. GcpOrganizationalDataMember
- com.
- com.
public final class GcpOrganizationalDataMember
extends GcpOrganizationalData
The gcpOrganization data for the member account.
Constructor Summary
| Constructor | Description |
|---|---|
| GcpOrganizationalDataMember() |
Creates an instance of Gcp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Gcp |
fromJson(JsonReader jsonReader)
Reads an instance of Gcp |
| String |
managementProjectNumber()
Get the management |
|
Organization |
organizationMembershipType()
Get the organization |
| String |
parentHierarchyId()
Get the parent |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Gcp |
withManagementProjectNumber(String managementProjectNumber)
Set the management |
|
Gcp |
withParentHierarchyId(String parentHierarchyId)
Set the parent |
Methods inherited from GcpOrganizationalData
Methods inherited from java.lang.Object
Constructor Details
GcpOrganizationalDataMember
public GcpOrganizationalDataMember()
Creates an instance of GcpOrganizationalDataMember class.
Method Details
fromJson
public static GcpOrganizationalDataMember fromJson(JsonReader jsonReader)
Reads an instance of GcpOrganizationalDataMember from the JsonReader.
Parameters:
Returns:
Throws:
managementProjectNumber
public String managementProjectNumber()
Get the managementProjectNumber property: The GCP management project number from organizational onboarding.
Returns:
organizationMembershipType
public OrganizationMembershipType organizationMembershipType()
Get the organizationMembershipType property: The multi cloud account's membership type in the organization.
Overrides:
GcpOrganizationalDataMember.organizationMembershipType()Returns:
parentHierarchyId
public String parentHierarchyId()
Get the parentHierarchyId property: If the multi cloud account is not of membership type organization, this will be the ID of the project's parent.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GcpOrganizationalDataMember.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
GcpOrganizationalDataMember.validate()withManagementProjectNumber
public GcpOrganizationalDataMember withManagementProjectNumber(String managementProjectNumber)
Set the managementProjectNumber property: The GCP management project number from organizational onboarding.
Parameters:
Returns:
withParentHierarchyId
public GcpOrganizationalDataMember withParentHierarchyId(String parentHierarchyId)
Set the parentHierarchyId property: If the multi cloud account is not of membership type organization, this will be the ID of the project's parent.
Parameters:
Returns: