All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.security.kotlin.outputs.GcpOrganizationalDataMemberResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.security.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The gcpOrganization data for the member account
 * @property managementProjectNumber The GCP management project number from organizational onboarding
 * @property organizationMembershipType The multi cloud account's membership type in the organization
 * Expected value is 'Member'.
 * @property parentHierarchyId If the multi cloud account is not of membership type organization, this will be the ID of the project's parent
 */
public data class GcpOrganizationalDataMemberResponse(
    public val managementProjectNumber: String? = null,
    public val organizationMembershipType: String,
    public val parentHierarchyId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.security.outputs.GcpOrganizationalDataMemberResponse): GcpOrganizationalDataMemberResponse = GcpOrganizationalDataMemberResponse(
            managementProjectNumber = javaType.managementProjectNumber().map({ args0 -> args0 }).orElse(null),
            organizationMembershipType = javaType.organizationMembershipType(),
            parentHierarchyId = javaType.parentHierarchyId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy