DataOrg constructor
DataOrg({
- String? orgId,
- AddOrgRequest? org,
- AddCustomOrgIAMPolicyRequest? iamPolicy,
- AddCustomLabelPolicyRequest? labelPolicy,
- AddCustomLockoutPolicyRequest? lockoutPolicy,
- AddCustomLoginPolicyRequest? loginPolicy,
- AddCustomPasswordComplexityPolicyRequest? passwordComplexityPolicy,
- AddCustomPrivacyPolicyRequest? privacyPolicy,
- Iterable<
DataProject> ? projects, - Iterable<
AddProjectRoleRequest> ? projectRoles, - Iterable<
DataAPIApplication> ? apiApps, - Iterable<
DataOIDCApplication> ? oidcApps, - Iterable<
DataHumanUser> ? humanUsers, - Iterable<
DataMachineUser> ? machineUsers, - Iterable<
SetTriggerActionsRequest> ? triggerActions, - Iterable<
DataAction> ? actions, - Iterable<
DataProjectGrant> ? projectGrants, - Iterable<
AddUserGrantRequest> ? userGrants, - Iterable<
AddOrgMemberRequest> ? orgMembers, - Iterable<
AddProjectMemberRequest> ? projectMembers, - Iterable<
AddProjectGrantMemberRequest> ? projectGrantMembers, - Iterable<
SetUserMetadataRequest> ? userMetadata, - Iterable<
SetCustomLoginTextsRequest> ? loginTexts, - Iterable<
SetCustomInitMessageTextRequest> ? initMessages, - Iterable<
SetCustomPasswordResetMessageTextRequest> ? passwordResetMessages, - Iterable<
SetCustomVerifyEmailMessageTextRequest> ? verifyEmailMessages, - Iterable<
SetCustomVerifyPhoneMessageTextRequest> ? verifyPhoneMessages, - Iterable<
SetCustomDomainClaimedMessageTextRequest> ? domainClaimedMessages, - Iterable<
SetCustomPasswordlessRegistrationMessageTextRequest> ? passwordlessRegistrationMessages, - Iterable<
DataOIDCIDP> ? oidcIdps, - Iterable<
DataJWTIDP> ? jwtIdps, - Iterable<
AddSecondFactorToLoginPolicyRequest> ? secondFactors, - Iterable<
AddMultiFactorToLoginPolicyRequest> ? multiFactors, - Iterable<
AddIDPToLoginPolicyRequest> ? idps, - Iterable<
IDPUserLink> ? userLinks, - Iterable<
Domain> ? domains, - Iterable<
DataAppKey> ? appKeys, - Iterable<
DataMachineKey> ? machineKeys,
Implementation
factory DataOrg({
$core.String? orgId,
$0.AddOrgRequest? org,
AddCustomOrgIAMPolicyRequest? iamPolicy,
$0.AddCustomLabelPolicyRequest? labelPolicy,
$0.AddCustomLockoutPolicyRequest? lockoutPolicy,
$0.AddCustomLoginPolicyRequest? loginPolicy,
$0.AddCustomPasswordComplexityPolicyRequest? passwordComplexityPolicy,
$0.AddCustomPrivacyPolicyRequest? privacyPolicy,
$core.Iterable<DataProject>? projects,
$core.Iterable<$0.AddProjectRoleRequest>? projectRoles,
$core.Iterable<DataAPIApplication>? apiApps,
$core.Iterable<DataOIDCApplication>? oidcApps,
$core.Iterable<DataHumanUser>? humanUsers,
$core.Iterable<DataMachineUser>? machineUsers,
$core.Iterable<SetTriggerActionsRequest>? triggerActions,
$core.Iterable<DataAction>? actions,
$core.Iterable<DataProjectGrant>? projectGrants,
$core.Iterable<$0.AddUserGrantRequest>? userGrants,
$core.Iterable<$0.AddOrgMemberRequest>? orgMembers,
$core.Iterable<$0.AddProjectMemberRequest>? projectMembers,
$core.Iterable<$0.AddProjectGrantMemberRequest>? projectGrantMembers,
$core.Iterable<$0.SetUserMetadataRequest>? userMetadata,
$core.Iterable<$0.SetCustomLoginTextsRequest>? loginTexts,
$core.Iterable<$0.SetCustomInitMessageTextRequest>? initMessages,
$core.Iterable<$0.SetCustomPasswordResetMessageTextRequest>? passwordResetMessages,
$core.Iterable<$0.SetCustomVerifyEmailMessageTextRequest>? verifyEmailMessages,
$core.Iterable<$0.SetCustomVerifyPhoneMessageTextRequest>? verifyPhoneMessages,
$core.Iterable<$0.SetCustomDomainClaimedMessageTextRequest>? domainClaimedMessages,
$core.Iterable<$0.SetCustomPasswordlessRegistrationMessageTextRequest>? passwordlessRegistrationMessages,
$core.Iterable<DataOIDCIDP>? oidcIdps,
$core.Iterable<DataJWTIDP>? jwtIdps,
$core.Iterable<$0.AddSecondFactorToLoginPolicyRequest>? secondFactors,
$core.Iterable<$0.AddMultiFactorToLoginPolicyRequest>? multiFactors,
$core.Iterable<$0.AddIDPToLoginPolicyRequest>? idps,
$core.Iterable<$10.IDPUserLink>? userLinks,
$core.Iterable<$16.Domain>? domains,
$core.Iterable<DataAppKey>? appKeys,
$core.Iterable<DataMachineKey>? machineKeys,
}) {
final $result = create();
if (orgId != null) {
$result.orgId = orgId;
}
if (org != null) {
$result.org = org;
}
if (iamPolicy != null) {
$result.iamPolicy = iamPolicy;
}
if (labelPolicy != null) {
$result.labelPolicy = labelPolicy;
}
if (lockoutPolicy != null) {
$result.lockoutPolicy = lockoutPolicy;
}
if (loginPolicy != null) {
$result.loginPolicy = loginPolicy;
}
if (passwordComplexityPolicy != null) {
$result.passwordComplexityPolicy = passwordComplexityPolicy;
}
if (privacyPolicy != null) {
$result.privacyPolicy = privacyPolicy;
}
if (projects != null) {
$result.projects.addAll(projects);
}
if (projectRoles != null) {
$result.projectRoles.addAll(projectRoles);
}
if (apiApps != null) {
$result.apiApps.addAll(apiApps);
}
if (oidcApps != null) {
$result.oidcApps.addAll(oidcApps);
}
if (humanUsers != null) {
$result.humanUsers.addAll(humanUsers);
}
if (machineUsers != null) {
$result.machineUsers.addAll(machineUsers);
}
if (triggerActions != null) {
$result.triggerActions.addAll(triggerActions);
}
if (actions != null) {
$result.actions.addAll(actions);
}
if (projectGrants != null) {
$result.projectGrants.addAll(projectGrants);
}
if (userGrants != null) {
$result.userGrants.addAll(userGrants);
}
if (orgMembers != null) {
$result.orgMembers.addAll(orgMembers);
}
if (projectMembers != null) {
$result.projectMembers.addAll(projectMembers);
}
if (projectGrantMembers != null) {
$result.projectGrantMembers.addAll(projectGrantMembers);
}
if (userMetadata != null) {
$result.userMetadata.addAll(userMetadata);
}
if (loginTexts != null) {
$result.loginTexts.addAll(loginTexts);
}
if (initMessages != null) {
$result.initMessages.addAll(initMessages);
}
if (passwordResetMessages != null) {
$result.passwordResetMessages.addAll(passwordResetMessages);
}
if (verifyEmailMessages != null) {
$result.verifyEmailMessages.addAll(verifyEmailMessages);
}
if (verifyPhoneMessages != null) {
$result.verifyPhoneMessages.addAll(verifyPhoneMessages);
}
if (domainClaimedMessages != null) {
$result.domainClaimedMessages.addAll(domainClaimedMessages);
}
if (passwordlessRegistrationMessages != null) {
$result.passwordlessRegistrationMessages.addAll(passwordlessRegistrationMessages);
}
if (oidcIdps != null) {
$result.oidcIdps.addAll(oidcIdps);
}
if (jwtIdps != null) {
$result.jwtIdps.addAll(jwtIdps);
}
if (secondFactors != null) {
$result.secondFactors.addAll(secondFactors);
}
if (multiFactors != null) {
$result.multiFactors.addAll(multiFactors);
}
if (idps != null) {
$result.idps.addAll(idps);
}
if (userLinks != null) {
$result.userLinks.addAll(userLinks);
}
if (domains != null) {
$result.domains.addAll(domains);
}
if (appKeys != null) {
$result.appKeys.addAll(appKeys);
}
if (machineKeys != null) {
$result.machineKeys.addAll(machineKeys);
}
return $result;
}