GcpOrganizationalDataMember Class

public final class GcpOrganizationalDataMember
extends GcpOrganizationalData

The gcpOrganization data for the member account.

Constructor Summary

Constructor Description
GcpOrganizationalDataMember()

Creates an instance of GcpOrganizationalDataMember class.

Method Summary

Modifier and Type Method and Description
static GcpOrganizationalDataMember fromJson(JsonReader jsonReader)

Reads an instance of GcpOrganizationalDataMember from the JsonReader.

String managementProjectNumber()

Get the managementProjectNumber property: The GCP management project number from organizational onboarding.

OrganizationMembershipType organizationMembershipType()

Get the organizationMembershipType property: The multi cloud account's membership type in the organization.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GcpOrganizationalDataMember withManagementProjectNumber(String managementProjectNumber)

Set the managementProjectNumber property: The GCP management project number from organizational onboarding.

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.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of GcpOrganizationalDataMember if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the GcpOrganizationalDataMember.

managementProjectNumber

public String managementProjectNumber()

Get the managementProjectNumber property: The GCP management project number from organizational onboarding.

Returns:

the managementProjectNumber value.

organizationMembershipType

public OrganizationMembershipType organizationMembershipType()

Get the organizationMembershipType property: The multi cloud account's membership type in the organization.

Overrides:

GcpOrganizationalDataMember.organizationMembershipType()

Returns:

the organizationMembershipType value.

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:

the parentHierarchyId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GcpOrganizationalDataMember.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

managementProjectNumber - the managementProjectNumber value to set.

Returns:

the GcpOrganizationalDataMember object itself.

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:

parentHierarchyId - the parentHierarchyId value to set.

Returns:

the GcpOrganizationalDataMember object itself.

Applies to