@cdktf/provider-googleworkspace
Version:
Prebuilt googleworkspace Provider for Terraform CDK (cdktf)
1,007 lines • 226 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataGoogleworkspaceUserRelationsToHclTerraform = exports.dataGoogleworkspaceUserRelationsToTerraform = exports.DataGoogleworkspaceUserPosixAccountsList = exports.DataGoogleworkspaceUserPosixAccountsOutputReference = exports.dataGoogleworkspaceUserPosixAccountsToHclTerraform = exports.dataGoogleworkspaceUserPosixAccountsToTerraform = exports.DataGoogleworkspaceUserPhonesList = exports.DataGoogleworkspaceUserPhonesOutputReference = exports.dataGoogleworkspaceUserPhonesToHclTerraform = exports.dataGoogleworkspaceUserPhonesToTerraform = exports.DataGoogleworkspaceUserOrganizationsList = exports.DataGoogleworkspaceUserOrganizationsOutputReference = exports.dataGoogleworkspaceUserOrganizationsToHclTerraform = exports.dataGoogleworkspaceUserOrganizationsToTerraform = exports.DataGoogleworkspaceUserNameList = exports.DataGoogleworkspaceUserNameOutputReference = exports.dataGoogleworkspaceUserNameToHclTerraform = exports.dataGoogleworkspaceUserNameToTerraform = exports.DataGoogleworkspaceUserLocationsList = exports.DataGoogleworkspaceUserLocationsOutputReference = exports.dataGoogleworkspaceUserLocationsToHclTerraform = exports.dataGoogleworkspaceUserLocationsToTerraform = exports.DataGoogleworkspaceUserLanguagesList = exports.DataGoogleworkspaceUserLanguagesOutputReference = exports.dataGoogleworkspaceUserLanguagesToHclTerraform = exports.dataGoogleworkspaceUserLanguagesToTerraform = exports.DataGoogleworkspaceUserKeywordsList = exports.DataGoogleworkspaceUserKeywordsOutputReference = exports.dataGoogleworkspaceUserKeywordsToHclTerraform = exports.dataGoogleworkspaceUserKeywordsToTerraform = exports.DataGoogleworkspaceUserImsList = exports.DataGoogleworkspaceUserImsOutputReference = exports.dataGoogleworkspaceUserImsToHclTerraform = exports.dataGoogleworkspaceUserImsToTerraform = exports.DataGoogleworkspaceUserExternalIdsList = exports.DataGoogleworkspaceUserExternalIdsOutputReference = exports.dataGoogleworkspaceUserExternalIdsToHclTerraform = exports.dataGoogleworkspaceUserExternalIdsToTerraform = exports.DataGoogleworkspaceUserEmailsList = exports.DataGoogleworkspaceUserEmailsOutputReference = exports.dataGoogleworkspaceUserEmailsToHclTerraform = exports.dataGoogleworkspaceUserEmailsToTerraform = exports.DataGoogleworkspaceUserCustomSchemasList = exports.DataGoogleworkspaceUserCustomSchemasOutputReference = exports.dataGoogleworkspaceUserCustomSchemasToHclTerraform = exports.dataGoogleworkspaceUserCustomSchemasToTerraform = exports.DataGoogleworkspaceUserAddressesList = exports.DataGoogleworkspaceUserAddressesOutputReference = exports.dataGoogleworkspaceUserAddressesToHclTerraform = exports.dataGoogleworkspaceUserAddressesToTerraform = void 0;
exports.DataGoogleworkspaceUser = exports.DataGoogleworkspaceUserWebsitesList = exports.DataGoogleworkspaceUserWebsitesOutputReference = exports.dataGoogleworkspaceUserWebsitesToHclTerraform = exports.dataGoogleworkspaceUserWebsitesToTerraform = exports.DataGoogleworkspaceUserSshPublicKeysList = exports.DataGoogleworkspaceUserSshPublicKeysOutputReference = exports.dataGoogleworkspaceUserSshPublicKeysToHclTerraform = exports.dataGoogleworkspaceUserSshPublicKeysToTerraform = exports.DataGoogleworkspaceUserRelationsList = exports.DataGoogleworkspaceUserRelationsOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataGoogleworkspaceUserAddressesToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserAddressesToTerraform = dataGoogleworkspaceUserAddressesToTerraform;
function dataGoogleworkspaceUserAddressesToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserAddressesToHclTerraform = dataGoogleworkspaceUserAddressesToHclTerraform;
class DataGoogleworkspaceUserAddressesOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// country - computed: true, optional: false, required: false
get country() {
return this.getStringAttribute('country');
}
// country_code - computed: true, optional: false, required: false
get countryCode() {
return this.getStringAttribute('country_code');
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// extended_address - computed: true, optional: false, required: false
get extendedAddress() {
return this.getStringAttribute('extended_address');
}
// formatted - computed: true, optional: false, required: false
get formatted() {
return this.getStringAttribute('formatted');
}
// locality - computed: true, optional: false, required: false
get locality() {
return this.getStringAttribute('locality');
}
// po_box - computed: true, optional: false, required: false
get poBox() {
return this.getStringAttribute('po_box');
}
// postal_code - computed: true, optional: false, required: false
get postalCode() {
return this.getStringAttribute('postal_code');
}
// primary - computed: true, optional: false, required: false
get primary() {
return this.getBooleanAttribute('primary');
}
// region - computed: true, optional: false, required: false
get region() {
return this.getStringAttribute('region');
}
// source_is_structured - computed: true, optional: false, required: false
get sourceIsStructured() {
return this.getBooleanAttribute('source_is_structured');
}
// street_address - computed: true, optional: false, required: false
get streetAddress() {
return this.getStringAttribute('street_address');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleworkspaceUserAddressesOutputReference = DataGoogleworkspaceUserAddressesOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserAddressesOutputReference[_a] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserAddressesOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserAddressesList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserAddressesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserAddressesList = DataGoogleworkspaceUserAddressesList;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserAddressesList[_b] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserAddressesList", version: "8.0.1" };
function dataGoogleworkspaceUserCustomSchemasToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserCustomSchemasToTerraform = dataGoogleworkspaceUserCustomSchemasToTerraform;
function dataGoogleworkspaceUserCustomSchemasToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserCustomSchemasToHclTerraform = dataGoogleworkspaceUserCustomSchemasToHclTerraform;
class DataGoogleworkspaceUserCustomSchemasOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// schema_values - computed: true, optional: false, required: false
this._schemaValues = new cdktf.StringMap(this, "schema_values");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// schema_name - computed: true, optional: false, required: false
get schemaName() {
return this.getStringAttribute('schema_name');
}
get schemaValues() {
return this._schemaValues;
}
}
exports.DataGoogleworkspaceUserCustomSchemasOutputReference = DataGoogleworkspaceUserCustomSchemasOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserCustomSchemasOutputReference[_c] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserCustomSchemasOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserCustomSchemasList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserCustomSchemasOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserCustomSchemasList = DataGoogleworkspaceUserCustomSchemasList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserCustomSchemasList[_d] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserCustomSchemasList", version: "8.0.1" };
function dataGoogleworkspaceUserEmailsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserEmailsToTerraform = dataGoogleworkspaceUserEmailsToTerraform;
function dataGoogleworkspaceUserEmailsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserEmailsToHclTerraform = dataGoogleworkspaceUserEmailsToHclTerraform;
class DataGoogleworkspaceUserEmailsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// address - computed: true, optional: false, required: false
get address() {
return this.getStringAttribute('address');
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// primary - computed: true, optional: false, required: false
get primary() {
return this.getBooleanAttribute('primary');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleworkspaceUserEmailsOutputReference = DataGoogleworkspaceUserEmailsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserEmailsOutputReference[_e] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserEmailsOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserEmailsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserEmailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserEmailsList = DataGoogleworkspaceUserEmailsList;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserEmailsList[_f] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserEmailsList", version: "8.0.1" };
function dataGoogleworkspaceUserExternalIdsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserExternalIdsToTerraform = dataGoogleworkspaceUserExternalIdsToTerraform;
function dataGoogleworkspaceUserExternalIdsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserExternalIdsToHclTerraform = dataGoogleworkspaceUserExternalIdsToHclTerraform;
class DataGoogleworkspaceUserExternalIdsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
}
exports.DataGoogleworkspaceUserExternalIdsOutputReference = DataGoogleworkspaceUserExternalIdsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserExternalIdsOutputReference[_g] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserExternalIdsOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserExternalIdsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserExternalIdsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserExternalIdsList = DataGoogleworkspaceUserExternalIdsList;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserExternalIdsList[_h] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserExternalIdsList", version: "8.0.1" };
function dataGoogleworkspaceUserImsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserImsToTerraform = dataGoogleworkspaceUserImsToTerraform;
function dataGoogleworkspaceUserImsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserImsToHclTerraform = dataGoogleworkspaceUserImsToHclTerraform;
class DataGoogleworkspaceUserImsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// custom_protocol - computed: true, optional: false, required: false
get customProtocol() {
return this.getStringAttribute('custom_protocol');
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// im - computed: true, optional: false, required: false
get im() {
return this.getStringAttribute('im');
}
// primary - computed: true, optional: false, required: false
get primary() {
return this.getBooleanAttribute('primary');
}
// protocol - computed: true, optional: false, required: false
get protocol() {
return this.getStringAttribute('protocol');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleworkspaceUserImsOutputReference = DataGoogleworkspaceUserImsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserImsOutputReference[_j] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserImsOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserImsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserImsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserImsList = DataGoogleworkspaceUserImsList;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserImsList[_k] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserImsList", version: "8.0.1" };
function dataGoogleworkspaceUserKeywordsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserKeywordsToTerraform = dataGoogleworkspaceUserKeywordsToTerraform;
function dataGoogleworkspaceUserKeywordsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserKeywordsToHclTerraform = dataGoogleworkspaceUserKeywordsToHclTerraform;
class DataGoogleworkspaceUserKeywordsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
}
exports.DataGoogleworkspaceUserKeywordsOutputReference = DataGoogleworkspaceUserKeywordsOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserKeywordsOutputReference[_l] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserKeywordsOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserKeywordsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserKeywordsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserKeywordsList = DataGoogleworkspaceUserKeywordsList;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserKeywordsList[_m] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserKeywordsList", version: "8.0.1" };
function dataGoogleworkspaceUserLanguagesToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserLanguagesToTerraform = dataGoogleworkspaceUserLanguagesToTerraform;
function dataGoogleworkspaceUserLanguagesToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserLanguagesToHclTerraform = dataGoogleworkspaceUserLanguagesToHclTerraform;
class DataGoogleworkspaceUserLanguagesOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// custom_language - computed: true, optional: false, required: false
get customLanguage() {
return this.getStringAttribute('custom_language');
}
// language_code - computed: true, optional: false, required: false
get languageCode() {
return this.getStringAttribute('language_code');
}
// preference - computed: true, optional: false, required: false
get preference() {
return this.getStringAttribute('preference');
}
}
exports.DataGoogleworkspaceUserLanguagesOutputReference = DataGoogleworkspaceUserLanguagesOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserLanguagesOutputReference[_o] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserLanguagesOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserLanguagesList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserLanguagesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserLanguagesList = DataGoogleworkspaceUserLanguagesList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserLanguagesList[_p] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserLanguagesList", version: "8.0.1" };
function dataGoogleworkspaceUserLocationsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserLocationsToTerraform = dataGoogleworkspaceUserLocationsToTerraform;
function dataGoogleworkspaceUserLocationsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserLocationsToHclTerraform = dataGoogleworkspaceUserLocationsToHclTerraform;
class DataGoogleworkspaceUserLocationsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// area - computed: true, optional: false, required: false
get area() {
return this.getStringAttribute('area');
}
// building_id - computed: true, optional: false, required: false
get buildingId() {
return this.getStringAttribute('building_id');
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// desk_code - computed: true, optional: false, required: false
get deskCode() {
return this.getStringAttribute('desk_code');
}
// floor_name - computed: true, optional: false, required: false
get floorName() {
return this.getStringAttribute('floor_name');
}
// floor_section - computed: true, optional: false, required: false
get floorSection() {
return this.getStringAttribute('floor_section');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleworkspaceUserLocationsOutputReference = DataGoogleworkspaceUserLocationsOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserLocationsOutputReference[_q] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserLocationsOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserLocationsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserLocationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserLocationsList = DataGoogleworkspaceUserLocationsList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserLocationsList[_r] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserLocationsList", version: "8.0.1" };
function dataGoogleworkspaceUserNameToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserNameToTerraform = dataGoogleworkspaceUserNameToTerraform;
function dataGoogleworkspaceUserNameToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserNameToHclTerraform = dataGoogleworkspaceUserNameToHclTerraform;
class DataGoogleworkspaceUserNameOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// family_name - computed: true, optional: false, required: false
get familyName() {
return this.getStringAttribute('family_name');
}
// full_name - computed: true, optional: false, required: false
get fullName() {
return this.getStringAttribute('full_name');
}
// given_name - computed: true, optional: false, required: false
get givenName() {
return this.getStringAttribute('given_name');
}
}
exports.DataGoogleworkspaceUserNameOutputReference = DataGoogleworkspaceUserNameOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserNameOutputReference[_s] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserNameOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserNameList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserNameOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserNameList = DataGoogleworkspaceUserNameList;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserNameList[_t] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserNameList", version: "8.0.1" };
function dataGoogleworkspaceUserOrganizationsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserOrganizationsToTerraform = dataGoogleworkspaceUserOrganizationsToTerraform;
function dataGoogleworkspaceUserOrganizationsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserOrganizationsToHclTerraform = dataGoogleworkspaceUserOrganizationsToHclTerraform;
class DataGoogleworkspaceUserOrganizationsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// cost_center - computed: true, optional: false, required: false
get costCenter() {
return this.getStringAttribute('cost_center');
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// department - computed: true, optional: false, required: false
get department() {
return this.getStringAttribute('department');
}
// description - computed: true, optional: false, required: false
get description() {
return this.getStringAttribute('description');
}
// domain - computed: true, optional: false, required: false
get domain() {
return this.getStringAttribute('domain');
}
// full_time_equivalent - computed: true, optional: false, required: false
get fullTimeEquivalent() {
return this.getNumberAttribute('full_time_equivalent');
}
// location - computed: true, optional: false, required: false
get location() {
return this.getStringAttribute('location');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// primary - computed: true, optional: false, required: false
get primary() {
return this.getBooleanAttribute('primary');
}
// symbol - computed: true, optional: false, required: false
get symbol() {
return this.getStringAttribute('symbol');
}
// title - computed: true, optional: false, required: false
get title() {
return this.getStringAttribute('title');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleworkspaceUserOrganizationsOutputReference = DataGoogleworkspaceUserOrganizationsOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserOrganizationsOutputReference[_u] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserOrganizationsOutputReference", version: "8.0.1" };
class DataGoogleworkspaceUserOrganizationsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataGoogleworkspaceUserOrganizationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleworkspaceUserOrganizationsList = DataGoogleworkspaceUserOrganizationsList;
_v = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserOrganizationsList[_v] = { fqn: "@cdktf/provider-googleworkspace.dataGoogleworkspaceUser.DataGoogleworkspaceUserOrganizationsList", version: "8.0.1" };
function dataGoogleworkspaceUserPhonesToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleworkspaceUserPhonesToTerraform = dataGoogleworkspaceUserPhonesToTerraform;
function dataGoogleworkspaceUserPhonesToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleworkspaceUserPhonesToHclTerraform = dataGoogleworkspaceUserPhonesToHclTerraform;
class DataGoogleworkspaceUserPhonesOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// custom_type - computed: true, optional: false, required: false
get customType() {
return this.getStringAttribute('custom_type');
}
// primary - computed: true, optional: false, required: false
get primary() {
return this.getBooleanAttribute('primary');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
}
exports.DataGoogleworkspaceUserPhonesOutputReference = DataGoogleworkspaceUserPhonesOutputReference;
_w = JSII_RTTI_SYMBOL_1;
DataGoogleworkspaceUserPhonesOutputReference[_w] = { fqn: "@cdktf/provider-googleworkspace.dataG