googleworkspace_user

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addresses

type Addresses struct {
	// Country: string, optional
	Country terra.StringValue `hcl:"country,attr"`
	// CountryCode: string, optional
	CountryCode terra.StringValue `hcl:"country_code,attr"`
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// ExtendedAddress: string, optional
	ExtendedAddress terra.StringValue `hcl:"extended_address,attr"`
	// Formatted: string, optional
	Formatted terra.StringValue `hcl:"formatted,attr"`
	// Locality: string, optional
	Locality terra.StringValue `hcl:"locality,attr"`
	// PoBox: string, optional
	PoBox terra.StringValue `hcl:"po_box,attr"`
	// PostalCode: string, optional
	PostalCode terra.StringValue `hcl:"postal_code,attr"`
	// Primary: bool, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// SourceIsStructured: bool, optional
	SourceIsStructured terra.BoolValue `hcl:"source_is_structured,attr"`
	// StreetAddress: string, optional
	StreetAddress terra.StringValue `hcl:"street_address,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type AddressesAttributes

type AddressesAttributes struct {
	// contains filtered or unexported fields
}

func (AddressesAttributes) Country

func (AddressesAttributes) CountryCode

func (a AddressesAttributes) CountryCode() terra.StringValue

func (AddressesAttributes) CustomType

func (a AddressesAttributes) CustomType() terra.StringValue

func (AddressesAttributes) ExtendedAddress

func (a AddressesAttributes) ExtendedAddress() terra.StringValue

func (AddressesAttributes) Formatted

func (a AddressesAttributes) Formatted() terra.StringValue

func (AddressesAttributes) InternalRef

func (a AddressesAttributes) InternalRef() (terra.Reference, error)

func (AddressesAttributes) InternalTokens

func (a AddressesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AddressesAttributes) InternalWithRef

func (a AddressesAttributes) InternalWithRef(ref terra.Reference) AddressesAttributes

func (AddressesAttributes) Locality

func (a AddressesAttributes) Locality() terra.StringValue

func (AddressesAttributes) PoBox

func (AddressesAttributes) PostalCode

func (a AddressesAttributes) PostalCode() terra.StringValue

func (AddressesAttributes) Primary

func (a AddressesAttributes) Primary() terra.BoolValue

func (AddressesAttributes) Region

func (AddressesAttributes) SourceIsStructured

func (a AddressesAttributes) SourceIsStructured() terra.BoolValue

func (AddressesAttributes) StreetAddress

func (a AddressesAttributes) StreetAddress() terra.StringValue

func (AddressesAttributes) Type

type AddressesState

type AddressesState struct {
	Country            string `json:"country"`
	CountryCode        string `json:"country_code"`
	CustomType         string `json:"custom_type"`
	ExtendedAddress    string `json:"extended_address"`
	Formatted          string `json:"formatted"`
	Locality           string `json:"locality"`
	PoBox              string `json:"po_box"`
	PostalCode         string `json:"postal_code"`
	Primary            bool   `json:"primary"`
	Region             string `json:"region"`
	SourceIsStructured bool   `json:"source_is_structured"`
	StreetAddress      string `json:"street_address"`
	Type               string `json:"type"`
}

type Args

type Args struct {
	// Aliases: list of string, optional
	Aliases terra.ListValue[terra.StringValue] `hcl:"aliases,attr"`
	// Archived: bool, optional
	Archived terra.BoolValue `hcl:"archived,attr"`
	// ChangePasswordAtNextLogin: bool, optional
	ChangePasswordAtNextLogin terra.BoolValue `hcl:"change_password_at_next_login,attr"`
	// HashFunction: string, optional
	HashFunction terra.StringValue `hcl:"hash_function,attr"`
	// IncludeInGlobalAddressList: bool, optional
	IncludeInGlobalAddressList terra.BoolValue `hcl:"include_in_global_address_list,attr"`
	// IpAllowlist: bool, optional
	IpAllowlist terra.BoolValue `hcl:"ip_allowlist,attr"`
	// IsAdmin: bool, optional
	IsAdmin terra.BoolValue `hcl:"is_admin,attr"`
	// OrgUnitPath: string, optional
	OrgUnitPath terra.StringValue `hcl:"org_unit_path,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PrimaryEmail: string, required
	PrimaryEmail terra.StringValue `hcl:"primary_email,attr" validate:"required"`
	// RecoveryEmail: string, optional
	RecoveryEmail terra.StringValue `hcl:"recovery_email,attr"`
	// RecoveryPhone: string, optional
	RecoveryPhone terra.StringValue `hcl:"recovery_phone,attr"`
	// Suspended: bool, optional
	Suspended terra.BoolValue `hcl:"suspended,attr"`
	// Addresses: min=0
	Addresses []Addresses `hcl:"addresses,block" validate:"min=0"`
	// CustomSchemas: min=0
	CustomSchemas []CustomSchemas `hcl:"custom_schemas,block" validate:"min=0"`
	// Emails: min=0
	Emails []Emails `hcl:"emails,block" validate:"min=0"`
	// ExternalIds: min=0
	ExternalIds []ExternalIds `hcl:"external_ids,block" validate:"min=0"`
	// Ims: min=0
	Ims []Ims `hcl:"ims,block" validate:"min=0"`
	// Keywords: min=0
	Keywords []Keywords `hcl:"keywords,block" validate:"min=0"`
	// Languages: min=0
	Languages []Languages `hcl:"languages,block" validate:"min=0"`
	// Locations: min=0
	Locations []Locations `hcl:"locations,block" validate:"min=0"`
	// Name: required
	Name *Name `hcl:"name,block" validate:"required"`
	// Organizations: min=0
	Organizations []Organizations `hcl:"organizations,block" validate:"min=0"`
	// Phones: min=0
	Phones []Phones `hcl:"phones,block" validate:"min=0"`
	// PosixAccounts: min=0
	PosixAccounts []PosixAccounts `hcl:"posix_accounts,block" validate:"min=0"`
	// Relations: min=0
	Relations []Relations `hcl:"relations,block" validate:"min=0"`
	// SshPublicKeys: min=0
	SshPublicKeys []SshPublicKeys `hcl:"ssh_public_keys,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// Websites: min=0
	Websites []Websites `hcl:"websites,block" validate:"min=0"`
}

Args contains the configurations for googleworkspace_user.

type CustomSchemas

type CustomSchemas struct {
	// SchemaName: string, required
	SchemaName terra.StringValue `hcl:"schema_name,attr" validate:"required"`
	// SchemaValues: map of string, required
	SchemaValues terra.MapValue[terra.StringValue] `hcl:"schema_values,attr" validate:"required"`
}

type CustomSchemasAttributes

type CustomSchemasAttributes struct {
	// contains filtered or unexported fields
}

func (CustomSchemasAttributes) InternalRef

func (cs CustomSchemasAttributes) InternalRef() (terra.Reference, error)

func (CustomSchemasAttributes) InternalTokens

func (cs CustomSchemasAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CustomSchemasAttributes) InternalWithRef

func (CustomSchemasAttributes) SchemaName

func (cs CustomSchemasAttributes) SchemaName() terra.StringValue

func (CustomSchemasAttributes) SchemaValues

type CustomSchemasState

type CustomSchemasState struct {
	SchemaName   string            `json:"schema_name"`
	SchemaValues map[string]string `json:"schema_values"`
}

type DataAddressesAttributes

type DataAddressesAttributes struct {
	// contains filtered or unexported fields
}

func (DataAddressesAttributes) Country

func (DataAddressesAttributes) CountryCode

func (a DataAddressesAttributes) CountryCode() terra.StringValue

func (DataAddressesAttributes) CustomType

func (a DataAddressesAttributes) CustomType() terra.StringValue

func (DataAddressesAttributes) ExtendedAddress

func (a DataAddressesAttributes) ExtendedAddress() terra.StringValue

func (DataAddressesAttributes) Formatted

func (DataAddressesAttributes) InternalRef

func (a DataAddressesAttributes) InternalRef() (terra.Reference, error)

func (DataAddressesAttributes) InternalTokens

func (a DataAddressesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAddressesAttributes) InternalWithRef

func (DataAddressesAttributes) Locality

func (DataAddressesAttributes) PoBox

func (DataAddressesAttributes) PostalCode

func (a DataAddressesAttributes) PostalCode() terra.StringValue

func (DataAddressesAttributes) Primary

func (DataAddressesAttributes) Region

func (DataAddressesAttributes) SourceIsStructured

func (a DataAddressesAttributes) SourceIsStructured() terra.BoolValue

func (DataAddressesAttributes) StreetAddress

func (a DataAddressesAttributes) StreetAddress() terra.StringValue

func (DataAddressesAttributes) Type

type DataAddressesState

type DataAddressesState struct {
	Country            string `json:"country"`
	CountryCode        string `json:"country_code"`
	CustomType         string `json:"custom_type"`
	ExtendedAddress    string `json:"extended_address"`
	Formatted          string `json:"formatted"`
	Locality           string `json:"locality"`
	PoBox              string `json:"po_box"`
	PostalCode         string `json:"postal_code"`
	Primary            bool   `json:"primary"`
	Region             string `json:"region"`
	SourceIsStructured bool   `json:"source_is_structured"`
	StreetAddress      string `json:"street_address"`
	Type               string `json:"type"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// PrimaryEmail: string, optional
	PrimaryEmail terra.StringValue `hcl:"primary_email,attr"`
}

DataArgs contains the configurations for googleworkspace_user.

type DataCustomSchemasAttributes

type DataCustomSchemasAttributes struct {
	// contains filtered or unexported fields
}

func (DataCustomSchemasAttributes) InternalRef

func (cs DataCustomSchemasAttributes) InternalRef() (terra.Reference, error)

func (DataCustomSchemasAttributes) InternalTokens

func (cs DataCustomSchemasAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataCustomSchemasAttributes) InternalWithRef

func (DataCustomSchemasAttributes) SchemaName

func (DataCustomSchemasAttributes) SchemaValues

type DataCustomSchemasState

type DataCustomSchemasState struct {
	SchemaName   string            `json:"schema_name"`
	SchemaValues map[string]string `json:"schema_values"`
}

type DataEmailsAttributes

type DataEmailsAttributes struct {
	// contains filtered or unexported fields
}

func (DataEmailsAttributes) Address

func (DataEmailsAttributes) CustomType

func (e DataEmailsAttributes) CustomType() terra.StringValue

func (DataEmailsAttributes) InternalRef

func (e DataEmailsAttributes) InternalRef() (terra.Reference, error)

func (DataEmailsAttributes) InternalTokens

func (e DataEmailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEmailsAttributes) InternalWithRef

func (DataEmailsAttributes) Primary

func (e DataEmailsAttributes) Primary() terra.BoolValue

func (DataEmailsAttributes) Type

type DataEmailsState

type DataEmailsState struct {
	Address    string `json:"address"`
	CustomType string `json:"custom_type"`
	Primary    bool   `json:"primary"`
	Type       string `json:"type"`
}

type DataExternalIdsAttributes

type DataExternalIdsAttributes struct {
	// contains filtered or unexported fields
}

func (DataExternalIdsAttributes) CustomType

func (DataExternalIdsAttributes) InternalRef

func (ei DataExternalIdsAttributes) InternalRef() (terra.Reference, error)

func (DataExternalIdsAttributes) InternalTokens

func (ei DataExternalIdsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataExternalIdsAttributes) InternalWithRef

func (DataExternalIdsAttributes) Type

func (DataExternalIdsAttributes) Value

type DataExternalIdsState

type DataExternalIdsState struct {
	CustomType string `json:"custom_type"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type DataImsAttributes

type DataImsAttributes struct {
	// contains filtered or unexported fields
}

func (DataImsAttributes) CustomProtocol

func (i DataImsAttributes) CustomProtocol() terra.StringValue

func (DataImsAttributes) CustomType

func (i DataImsAttributes) CustomType() terra.StringValue

func (DataImsAttributes) Im

func (DataImsAttributes) InternalRef

func (i DataImsAttributes) InternalRef() (terra.Reference, error)

func (DataImsAttributes) InternalTokens

func (i DataImsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataImsAttributes) InternalWithRef

func (i DataImsAttributes) InternalWithRef(ref terra.Reference) DataImsAttributes

func (DataImsAttributes) Primary

func (i DataImsAttributes) Primary() terra.BoolValue

func (DataImsAttributes) Protocol

func (i DataImsAttributes) Protocol() terra.StringValue

func (DataImsAttributes) Type

type DataImsState

type DataImsState struct {
	CustomProtocol string `json:"custom_protocol"`
	CustomType     string `json:"custom_type"`
	Im             string `json:"im"`
	Primary        bool   `json:"primary"`
	Protocol       string `json:"protocol"`
	Type           string `json:"type"`
}

type DataKeywordsAttributes

type DataKeywordsAttributes struct {
	// contains filtered or unexported fields
}

func (DataKeywordsAttributes) CustomType

func (k DataKeywordsAttributes) CustomType() terra.StringValue

func (DataKeywordsAttributes) InternalRef

func (k DataKeywordsAttributes) InternalRef() (terra.Reference, error)

func (DataKeywordsAttributes) InternalTokens

func (k DataKeywordsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataKeywordsAttributes) InternalWithRef

func (DataKeywordsAttributes) Type

func (DataKeywordsAttributes) Value

type DataKeywordsState

type DataKeywordsState struct {
	CustomType string `json:"custom_type"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type DataLanguagesAttributes

type DataLanguagesAttributes struct {
	// contains filtered or unexported fields
}

func (DataLanguagesAttributes) CustomLanguage

func (l DataLanguagesAttributes) CustomLanguage() terra.StringValue

func (DataLanguagesAttributes) InternalRef

func (l DataLanguagesAttributes) InternalRef() (terra.Reference, error)

func (DataLanguagesAttributes) InternalTokens

func (l DataLanguagesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataLanguagesAttributes) InternalWithRef

func (DataLanguagesAttributes) LanguageCode

func (l DataLanguagesAttributes) LanguageCode() terra.StringValue

func (DataLanguagesAttributes) Preference

func (l DataLanguagesAttributes) Preference() terra.StringValue

type DataLanguagesState

type DataLanguagesState struct {
	CustomLanguage string `json:"custom_language"`
	LanguageCode   string `json:"language_code"`
	Preference     string `json:"preference"`
}

type DataLocationsAttributes

type DataLocationsAttributes struct {
	// contains filtered or unexported fields
}

func (DataLocationsAttributes) Area

func (DataLocationsAttributes) BuildingId

func (l DataLocationsAttributes) BuildingId() terra.StringValue

func (DataLocationsAttributes) CustomType

func (l DataLocationsAttributes) CustomType() terra.StringValue

func (DataLocationsAttributes) DeskCode

func (DataLocationsAttributes) FloorName

func (DataLocationsAttributes) FloorSection

func (l DataLocationsAttributes) FloorSection() terra.StringValue

func (DataLocationsAttributes) InternalRef

func (l DataLocationsAttributes) InternalRef() (terra.Reference, error)

func (DataLocationsAttributes) InternalTokens

func (l DataLocationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataLocationsAttributes) InternalWithRef

func (DataLocationsAttributes) Type

type DataLocationsState

type DataLocationsState struct {
	Area         string `json:"area"`
	BuildingId   string `json:"building_id"`
	CustomType   string `json:"custom_type"`
	DeskCode     string `json:"desk_code"`
	FloorName    string `json:"floor_name"`
	FloorSection string `json:"floor_section"`
	Type         string `json:"type"`
}

type DataNameAttributes

type DataNameAttributes struct {
	// contains filtered or unexported fields
}

func (DataNameAttributes) FamilyName

func (n DataNameAttributes) FamilyName() terra.StringValue

func (DataNameAttributes) FullName

func (n DataNameAttributes) FullName() terra.StringValue

func (DataNameAttributes) GivenName

func (n DataNameAttributes) GivenName() terra.StringValue

func (DataNameAttributes) InternalRef

func (n DataNameAttributes) InternalRef() (terra.Reference, error)

func (DataNameAttributes) InternalTokens

func (n DataNameAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNameAttributes) InternalWithRef

func (n DataNameAttributes) InternalWithRef(ref terra.Reference) DataNameAttributes

type DataNameState

type DataNameState struct {
	FamilyName string `json:"family_name"`
	FullName   string `json:"full_name"`
	GivenName  string `json:"given_name"`
}

type DataOrganizationsAttributes

type DataOrganizationsAttributes struct {
	// contains filtered or unexported fields
}

func (DataOrganizationsAttributes) CostCenter

func (DataOrganizationsAttributes) CustomType

func (DataOrganizationsAttributes) Department

func (DataOrganizationsAttributes) Description

func (DataOrganizationsAttributes) Domain

func (DataOrganizationsAttributes) FullTimeEquivalent

func (o DataOrganizationsAttributes) FullTimeEquivalent() terra.NumberValue

func (DataOrganizationsAttributes) InternalRef

func (o DataOrganizationsAttributes) InternalRef() (terra.Reference, error)

func (DataOrganizationsAttributes) InternalTokens

func (o DataOrganizationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataOrganizationsAttributes) InternalWithRef

func (DataOrganizationsAttributes) Location

func (DataOrganizationsAttributes) Name

func (DataOrganizationsAttributes) Primary

func (DataOrganizationsAttributes) Symbol

func (DataOrganizationsAttributes) Title

func (DataOrganizationsAttributes) Type

type DataOrganizationsState

type DataOrganizationsState struct {
	CostCenter         string  `json:"cost_center"`
	CustomType         string  `json:"custom_type"`
	Department         string  `json:"department"`
	Description        string  `json:"description"`
	Domain             string  `json:"domain"`
	FullTimeEquivalent float64 `json:"full_time_equivalent"`
	Location           string  `json:"location"`
	Name               string  `json:"name"`
	Primary            bool    `json:"primary"`
	Symbol             string  `json:"symbol"`
	Title              string  `json:"title"`
	Type               string  `json:"type"`
}

type DataPhonesAttributes

type DataPhonesAttributes struct {
	// contains filtered or unexported fields
}

func (DataPhonesAttributes) CustomType

func (p DataPhonesAttributes) CustomType() terra.StringValue

func (DataPhonesAttributes) InternalRef

func (p DataPhonesAttributes) InternalRef() (terra.Reference, error)

func (DataPhonesAttributes) InternalTokens

func (p DataPhonesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPhonesAttributes) InternalWithRef

func (DataPhonesAttributes) Primary

func (p DataPhonesAttributes) Primary() terra.BoolValue

func (DataPhonesAttributes) Type

func (DataPhonesAttributes) Value

type DataPhonesState

type DataPhonesState struct {
	CustomType string `json:"custom_type"`
	Primary    bool   `json:"primary"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type DataPosixAccountsAttributes

type DataPosixAccountsAttributes struct {
	// contains filtered or unexported fields
}

func (DataPosixAccountsAttributes) AccountId

func (DataPosixAccountsAttributes) Gecos

func (DataPosixAccountsAttributes) Gid

func (DataPosixAccountsAttributes) HomeDirectory

func (pa DataPosixAccountsAttributes) HomeDirectory() terra.StringValue

func (DataPosixAccountsAttributes) InternalRef

func (pa DataPosixAccountsAttributes) InternalRef() (terra.Reference, error)

func (DataPosixAccountsAttributes) InternalTokens

func (pa DataPosixAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPosixAccountsAttributes) InternalWithRef

func (DataPosixAccountsAttributes) OperatingSystemType

func (pa DataPosixAccountsAttributes) OperatingSystemType() terra.StringValue

func (DataPosixAccountsAttributes) Primary

func (DataPosixAccountsAttributes) Shell

func (DataPosixAccountsAttributes) SystemId

func (DataPosixAccountsAttributes) Uid

func (DataPosixAccountsAttributes) Username

type DataPosixAccountsState

type DataPosixAccountsState struct {
	AccountId           string `json:"account_id"`
	Gecos               string `json:"gecos"`
	Gid                 string `json:"gid"`
	HomeDirectory       string `json:"home_directory"`
	OperatingSystemType string `json:"operating_system_type"`
	Primary             bool   `json:"primary"`
	Shell               string `json:"shell"`
	SystemId            string `json:"system_id"`
	Uid                 string `json:"uid"`
	Username            string `json:"username"`
}

type DataRelationsAttributes

type DataRelationsAttributes struct {
	// contains filtered or unexported fields
}

func (DataRelationsAttributes) CustomType

func (r DataRelationsAttributes) CustomType() terra.StringValue

func (DataRelationsAttributes) InternalRef

func (r DataRelationsAttributes) InternalRef() (terra.Reference, error)

func (DataRelationsAttributes) InternalTokens

func (r DataRelationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRelationsAttributes) InternalWithRef

func (DataRelationsAttributes) Type

func (DataRelationsAttributes) Value

type DataRelationsState

type DataRelationsState struct {
	CustomType string `json:"custom_type"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource googleworkspace_user.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gu *DataSource) Attributes() dataGoogleworkspaceUserAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gu *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gu *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gu *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataSshPublicKeysAttributes

type DataSshPublicKeysAttributes struct {
	// contains filtered or unexported fields
}

func (DataSshPublicKeysAttributes) ExpirationTimeUsec

func (spk DataSshPublicKeysAttributes) ExpirationTimeUsec() terra.StringValue

func (DataSshPublicKeysAttributes) Fingerprint

func (spk DataSshPublicKeysAttributes) Fingerprint() terra.StringValue

func (DataSshPublicKeysAttributes) InternalRef

func (spk DataSshPublicKeysAttributes) InternalRef() (terra.Reference, error)

func (DataSshPublicKeysAttributes) InternalTokens

func (spk DataSshPublicKeysAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSshPublicKeysAttributes) InternalWithRef

func (DataSshPublicKeysAttributes) Key

type DataSshPublicKeysState

type DataSshPublicKeysState struct {
	ExpirationTimeUsec string `json:"expiration_time_usec"`
	Fingerprint        string `json:"fingerprint"`
	Key                string `json:"key"`
}

type DataWebsitesAttributes

type DataWebsitesAttributes struct {
	// contains filtered or unexported fields
}

func (DataWebsitesAttributes) CustomType

func (w DataWebsitesAttributes) CustomType() terra.StringValue

func (DataWebsitesAttributes) InternalRef

func (w DataWebsitesAttributes) InternalRef() (terra.Reference, error)

func (DataWebsitesAttributes) InternalTokens

func (w DataWebsitesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataWebsitesAttributes) InternalWithRef

func (DataWebsitesAttributes) Primary

func (DataWebsitesAttributes) Type

func (DataWebsitesAttributes) Value

type DataWebsitesState

type DataWebsitesState struct {
	CustomType string `json:"custom_type"`
	Primary    bool   `json:"primary"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type Emails

type Emails struct {
	// Address: string, optional
	Address terra.StringValue `hcl:"address,attr"`
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Primary: bool, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type EmailsAttributes

type EmailsAttributes struct {
	// contains filtered or unexported fields
}

func (EmailsAttributes) Address

func (e EmailsAttributes) Address() terra.StringValue

func (EmailsAttributes) CustomType

func (e EmailsAttributes) CustomType() terra.StringValue

func (EmailsAttributes) InternalRef

func (e EmailsAttributes) InternalRef() (terra.Reference, error)

func (EmailsAttributes) InternalTokens

func (e EmailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EmailsAttributes) InternalWithRef

func (e EmailsAttributes) InternalWithRef(ref terra.Reference) EmailsAttributes

func (EmailsAttributes) Primary

func (e EmailsAttributes) Primary() terra.BoolValue

func (EmailsAttributes) Type

type EmailsState

type EmailsState struct {
	Address    string `json:"address"`
	CustomType string `json:"custom_type"`
	Primary    bool   `json:"primary"`
	Type       string `json:"type"`
}

type ExternalIds

type ExternalIds struct {
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ExternalIdsAttributes

type ExternalIdsAttributes struct {
	// contains filtered or unexported fields
}

func (ExternalIdsAttributes) CustomType

func (ei ExternalIdsAttributes) CustomType() terra.StringValue

func (ExternalIdsAttributes) InternalRef

func (ei ExternalIdsAttributes) InternalRef() (terra.Reference, error)

func (ExternalIdsAttributes) InternalTokens

func (ei ExternalIdsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExternalIdsAttributes) InternalWithRef

func (ExternalIdsAttributes) Type

func (ExternalIdsAttributes) Value

type ExternalIdsState

type ExternalIdsState struct {
	CustomType string `json:"custom_type"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type Ims

type Ims struct {
	// CustomProtocol: string, optional
	CustomProtocol terra.StringValue `hcl:"custom_protocol,attr"`
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Im: string, optional
	Im terra.StringValue `hcl:"im,attr"`
	// Primary: bool, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ImsAttributes

type ImsAttributes struct {
	// contains filtered or unexported fields
}

func (ImsAttributes) CustomProtocol

func (i ImsAttributes) CustomProtocol() terra.StringValue

func (ImsAttributes) CustomType

func (i ImsAttributes) CustomType() terra.StringValue

func (ImsAttributes) Im

func (ImsAttributes) InternalRef

func (i ImsAttributes) InternalRef() (terra.Reference, error)

func (ImsAttributes) InternalTokens

func (i ImsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ImsAttributes) InternalWithRef

func (i ImsAttributes) InternalWithRef(ref terra.Reference) ImsAttributes

func (ImsAttributes) Primary

func (i ImsAttributes) Primary() terra.BoolValue

func (ImsAttributes) Protocol

func (i ImsAttributes) Protocol() terra.StringValue

func (ImsAttributes) Type

func (i ImsAttributes) Type() terra.StringValue

type ImsState

type ImsState struct {
	CustomProtocol string `json:"custom_protocol"`
	CustomType     string `json:"custom_type"`
	Im             string `json:"im"`
	Primary        bool   `json:"primary"`
	Protocol       string `json:"protocol"`
	Type           string `json:"type"`
}

type Keywords

type Keywords struct {
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type KeywordsAttributes

type KeywordsAttributes struct {
	// contains filtered or unexported fields
}

func (KeywordsAttributes) CustomType

func (k KeywordsAttributes) CustomType() terra.StringValue

func (KeywordsAttributes) InternalRef

func (k KeywordsAttributes) InternalRef() (terra.Reference, error)

func (KeywordsAttributes) InternalTokens

func (k KeywordsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KeywordsAttributes) InternalWithRef

func (k KeywordsAttributes) InternalWithRef(ref terra.Reference) KeywordsAttributes

func (KeywordsAttributes) Type

func (KeywordsAttributes) Value

type KeywordsState

type KeywordsState struct {
	CustomType string `json:"custom_type"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type Languages

type Languages struct {
	// CustomLanguage: string, optional
	CustomLanguage terra.StringValue `hcl:"custom_language,attr"`
	// LanguageCode: string, optional
	LanguageCode terra.StringValue `hcl:"language_code,attr"`
	// Preference: string, optional
	Preference terra.StringValue `hcl:"preference,attr"`
}

type LanguagesAttributes

type LanguagesAttributes struct {
	// contains filtered or unexported fields
}

func (LanguagesAttributes) CustomLanguage

func (l LanguagesAttributes) CustomLanguage() terra.StringValue

func (LanguagesAttributes) InternalRef

func (l LanguagesAttributes) InternalRef() (terra.Reference, error)

func (LanguagesAttributes) InternalTokens

func (l LanguagesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LanguagesAttributes) InternalWithRef

func (l LanguagesAttributes) InternalWithRef(ref terra.Reference) LanguagesAttributes

func (LanguagesAttributes) LanguageCode

func (l LanguagesAttributes) LanguageCode() terra.StringValue

func (LanguagesAttributes) Preference

func (l LanguagesAttributes) Preference() terra.StringValue

type LanguagesState

type LanguagesState struct {
	CustomLanguage string `json:"custom_language"`
	LanguageCode   string `json:"language_code"`
	Preference     string `json:"preference"`
}

type Locations

type Locations struct {
	// Area: string, optional
	Area terra.StringValue `hcl:"area,attr"`
	// BuildingId: string, optional
	BuildingId terra.StringValue `hcl:"building_id,attr"`
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// DeskCode: string, optional
	DeskCode terra.StringValue `hcl:"desk_code,attr"`
	// FloorName: string, optional
	FloorName terra.StringValue `hcl:"floor_name,attr"`
	// FloorSection: string, optional
	FloorSection terra.StringValue `hcl:"floor_section,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type LocationsAttributes

type LocationsAttributes struct {
	// contains filtered or unexported fields
}

func (LocationsAttributes) Area

func (LocationsAttributes) BuildingId

func (l LocationsAttributes) BuildingId() terra.StringValue

func (LocationsAttributes) CustomType

func (l LocationsAttributes) CustomType() terra.StringValue

func (LocationsAttributes) DeskCode

func (l LocationsAttributes) DeskCode() terra.StringValue

func (LocationsAttributes) FloorName

func (l LocationsAttributes) FloorName() terra.StringValue

func (LocationsAttributes) FloorSection

func (l LocationsAttributes) FloorSection() terra.StringValue

func (LocationsAttributes) InternalRef

func (l LocationsAttributes) InternalRef() (terra.Reference, error)

func (LocationsAttributes) InternalTokens

func (l LocationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LocationsAttributes) InternalWithRef

func (l LocationsAttributes) InternalWithRef(ref terra.Reference) LocationsAttributes

func (LocationsAttributes) Type

type LocationsState

type LocationsState struct {
	Area         string `json:"area"`
	BuildingId   string `json:"building_id"`
	CustomType   string `json:"custom_type"`
	DeskCode     string `json:"desk_code"`
	FloorName    string `json:"floor_name"`
	FloorSection string `json:"floor_section"`
	Type         string `json:"type"`
}

type Name

type Name struct {
	// FamilyName: string, required
	FamilyName terra.StringValue `hcl:"family_name,attr" validate:"required"`
	// GivenName: string, optional
	GivenName terra.StringValue `hcl:"given_name,attr"`
}

type NameAttributes

type NameAttributes struct {
	// contains filtered or unexported fields
}

func (NameAttributes) FamilyName

func (n NameAttributes) FamilyName() terra.StringValue

func (NameAttributes) FullName

func (n NameAttributes) FullName() terra.StringValue

func (NameAttributes) GivenName

func (n NameAttributes) GivenName() terra.StringValue

func (NameAttributes) InternalRef

func (n NameAttributes) InternalRef() (terra.Reference, error)

func (NameAttributes) InternalTokens

func (n NameAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NameAttributes) InternalWithRef

func (n NameAttributes) InternalWithRef(ref terra.Reference) NameAttributes

type NameState

type NameState struct {
	FamilyName string `json:"family_name"`
	FullName   string `json:"full_name"`
	GivenName  string `json:"given_name"`
}

type Organizations

type Organizations struct {
	// CostCenter: string, optional
	CostCenter terra.StringValue `hcl:"cost_center,attr"`
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Department: string, optional
	Department terra.StringValue `hcl:"department,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Domain: string, optional
	Domain terra.StringValue `hcl:"domain,attr"`
	// FullTimeEquivalent: number, optional
	FullTimeEquivalent terra.NumberValue `hcl:"full_time_equivalent,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Primary: bool, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// Symbol: string, optional
	Symbol terra.StringValue `hcl:"symbol,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type OrganizationsAttributes

type OrganizationsAttributes struct {
	// contains filtered or unexported fields
}

func (OrganizationsAttributes) CostCenter

func (o OrganizationsAttributes) CostCenter() terra.StringValue

func (OrganizationsAttributes) CustomType

func (o OrganizationsAttributes) CustomType() terra.StringValue

func (OrganizationsAttributes) Department

func (o OrganizationsAttributes) Department() terra.StringValue

func (OrganizationsAttributes) Description

func (o OrganizationsAttributes) Description() terra.StringValue

func (OrganizationsAttributes) Domain

func (OrganizationsAttributes) FullTimeEquivalent

func (o OrganizationsAttributes) FullTimeEquivalent() terra.NumberValue

func (OrganizationsAttributes) InternalRef

func (o OrganizationsAttributes) InternalRef() (terra.Reference, error)

func (OrganizationsAttributes) InternalTokens

func (o OrganizationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OrganizationsAttributes) InternalWithRef

func (OrganizationsAttributes) Location

func (OrganizationsAttributes) Name

func (OrganizationsAttributes) Primary

func (OrganizationsAttributes) Symbol

func (OrganizationsAttributes) Title

func (OrganizationsAttributes) Type

type OrganizationsState

type OrganizationsState struct {
	CostCenter         string  `json:"cost_center"`
	CustomType         string  `json:"custom_type"`
	Department         string  `json:"department"`
	Description        string  `json:"description"`
	Domain             string  `json:"domain"`
	FullTimeEquivalent float64 `json:"full_time_equivalent"`
	Location           string  `json:"location"`
	Name               string  `json:"name"`
	Primary            bool    `json:"primary"`
	Symbol             string  `json:"symbol"`
	Title              string  `json:"title"`
	Type               string  `json:"type"`
}

type Phones

type Phones struct {
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Primary: bool, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type PhonesAttributes

type PhonesAttributes struct {
	// contains filtered or unexported fields
}

func (PhonesAttributes) CustomType

func (p PhonesAttributes) CustomType() terra.StringValue

func (PhonesAttributes) InternalRef

func (p PhonesAttributes) InternalRef() (terra.Reference, error)

func (PhonesAttributes) InternalTokens

func (p PhonesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PhonesAttributes) InternalWithRef

func (p PhonesAttributes) InternalWithRef(ref terra.Reference) PhonesAttributes

func (PhonesAttributes) Primary

func (p PhonesAttributes) Primary() terra.BoolValue

func (PhonesAttributes) Type

func (PhonesAttributes) Value

type PhonesState

type PhonesState struct {
	CustomType string `json:"custom_type"`
	Primary    bool   `json:"primary"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type PosixAccounts

type PosixAccounts struct {
	// AccountId: string, optional
	AccountId terra.StringValue `hcl:"account_id,attr"`
	// Gecos: string, optional
	Gecos terra.StringValue `hcl:"gecos,attr"`
	// Gid: string, optional
	Gid terra.StringValue `hcl:"gid,attr"`
	// HomeDirectory: string, optional
	HomeDirectory terra.StringValue `hcl:"home_directory,attr"`
	// OperatingSystemType: string, optional
	OperatingSystemType terra.StringValue `hcl:"operating_system_type,attr"`
	// Primary: bool, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// Shell: string, optional
	Shell terra.StringValue `hcl:"shell,attr"`
	// SystemId: string, optional
	SystemId terra.StringValue `hcl:"system_id,attr"`
	// Uid: string, optional
	Uid terra.StringValue `hcl:"uid,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
}

type PosixAccountsAttributes

type PosixAccountsAttributes struct {
	// contains filtered or unexported fields
}

func (PosixAccountsAttributes) AccountId

func (pa PosixAccountsAttributes) AccountId() terra.StringValue

func (PosixAccountsAttributes) Gecos

func (PosixAccountsAttributes) Gid

func (PosixAccountsAttributes) HomeDirectory

func (pa PosixAccountsAttributes) HomeDirectory() terra.StringValue

func (PosixAccountsAttributes) InternalRef

func (pa PosixAccountsAttributes) InternalRef() (terra.Reference, error)

func (PosixAccountsAttributes) InternalTokens

func (pa PosixAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PosixAccountsAttributes) InternalWithRef

func (PosixAccountsAttributes) OperatingSystemType

func (pa PosixAccountsAttributes) OperatingSystemType() terra.StringValue

func (PosixAccountsAttributes) Primary

func (PosixAccountsAttributes) Shell

func (PosixAccountsAttributes) SystemId

func (PosixAccountsAttributes) Uid

func (PosixAccountsAttributes) Username

type PosixAccountsState

type PosixAccountsState struct {
	AccountId           string `json:"account_id"`
	Gecos               string `json:"gecos"`
	Gid                 string `json:"gid"`
	HomeDirectory       string `json:"home_directory"`
	OperatingSystemType string `json:"operating_system_type"`
	Primary             bool   `json:"primary"`
	Shell               string `json:"shell"`
	SystemId            string `json:"system_id"`
	Uid                 string `json:"uid"`
	Username            string `json:"username"`
}

type Relations

type Relations struct {
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type RelationsAttributes

type RelationsAttributes struct {
	// contains filtered or unexported fields
}

func (RelationsAttributes) CustomType

func (r RelationsAttributes) CustomType() terra.StringValue

func (RelationsAttributes) InternalRef

func (r RelationsAttributes) InternalRef() (terra.Reference, error)

func (RelationsAttributes) InternalTokens

func (r RelationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RelationsAttributes) InternalWithRef

func (r RelationsAttributes) InternalWithRef(ref terra.Reference) RelationsAttributes

func (RelationsAttributes) Type

func (RelationsAttributes) Value

type RelationsState

type RelationsState struct {
	CustomType string `json:"custom_type"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource googleworkspace_user.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gu *Resource) Attributes() googleworkspaceUserAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gu *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gu *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gu *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gu *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gu *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gu *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gu *Resource) State() (*googleworkspaceUserState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gu *Resource) StateMust() *googleworkspaceUserState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gu *Resource) Type() string

Type returns the Terraform object type for Resource.

type SshPublicKeys

type SshPublicKeys struct {
	// ExpirationTimeUsec: string, optional
	ExpirationTimeUsec terra.StringValue `hcl:"expiration_time_usec,attr"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
}

type SshPublicKeysAttributes

type SshPublicKeysAttributes struct {
	// contains filtered or unexported fields
}

func (SshPublicKeysAttributes) ExpirationTimeUsec

func (spk SshPublicKeysAttributes) ExpirationTimeUsec() terra.StringValue

func (SshPublicKeysAttributes) Fingerprint

func (spk SshPublicKeysAttributes) Fingerprint() terra.StringValue

func (SshPublicKeysAttributes) InternalRef

func (spk SshPublicKeysAttributes) InternalRef() (terra.Reference, error)

func (SshPublicKeysAttributes) InternalTokens

func (spk SshPublicKeysAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SshPublicKeysAttributes) InternalWithRef

func (SshPublicKeysAttributes) Key

type SshPublicKeysState

type SshPublicKeysState struct {
	ExpirationTimeUsec string `json:"expiration_time_usec"`
	Fingerprint        string `json:"fingerprint"`
	Key                string `json:"key"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Update string `json:"update"`
}

type Websites

type Websites struct {
	// CustomType: string, optional
	CustomType terra.StringValue `hcl:"custom_type,attr"`
	// Primary: bool, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type WebsitesAttributes

type WebsitesAttributes struct {
	// contains filtered or unexported fields
}

func (WebsitesAttributes) CustomType

func (w WebsitesAttributes) CustomType() terra.StringValue

func (WebsitesAttributes) InternalRef

func (w WebsitesAttributes) InternalRef() (terra.Reference, error)

func (WebsitesAttributes) InternalTokens

func (w WebsitesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WebsitesAttributes) InternalWithRef

func (w WebsitesAttributes) InternalWithRef(ref terra.Reference) WebsitesAttributes

func (WebsitesAttributes) Primary

func (w WebsitesAttributes) Primary() terra.BoolValue

func (WebsitesAttributes) Type

func (WebsitesAttributes) Value

type WebsitesState

type WebsitesState struct {
	CustomType string `json:"custom_type"`
	Primary    bool   `json:"primary"`
	Type       string `json:"type"`
	Value      string `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL