Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataFieldsAttributes
- func (f DataFieldsAttributes) DisplayName() terra.StringValue
- func (f DataFieldsAttributes) Etag() terra.StringValue
- func (f DataFieldsAttributes) FieldId() terra.StringValue
- func (f DataFieldsAttributes) FieldName() terra.StringValue
- func (f DataFieldsAttributes) FieldType() terra.StringValue
- func (f DataFieldsAttributes) Indexed() terra.BoolValue
- func (f DataFieldsAttributes) InternalRef() (terra.Reference, error)
- func (f DataFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DataFieldsAttributes) InternalWithRef(ref terra.Reference) DataFieldsAttributes
- func (f DataFieldsAttributes) MultiValued() terra.BoolValue
- func (f DataFieldsAttributes) NumericIndexingSpec() terra.ListValue[DataFieldsNumericIndexingSpecAttributes]
- func (f DataFieldsAttributes) ReadAccessType() terra.StringValue
- type DataFieldsNumericIndexingSpecAttributes
- func (nis DataFieldsNumericIndexingSpecAttributes) InternalRef() (terra.Reference, error)
- func (nis DataFieldsNumericIndexingSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nis DataFieldsNumericIndexingSpecAttributes) InternalWithRef(ref terra.Reference) DataFieldsNumericIndexingSpecAttributes
- func (nis DataFieldsNumericIndexingSpecAttributes) MaxValue() terra.NumberValue
- func (nis DataFieldsNumericIndexingSpecAttributes) MinValue() terra.NumberValue
- type DataFieldsNumericIndexingSpecState
- type DataFieldsState
- type DataSource
- type Fields
- type FieldsAttributes
- func (f FieldsAttributes) DisplayName() terra.StringValue
- func (f FieldsAttributes) Etag() terra.StringValue
- func (f FieldsAttributes) FieldId() terra.StringValue
- func (f FieldsAttributes) FieldName() terra.StringValue
- func (f FieldsAttributes) FieldType() terra.StringValue
- func (f FieldsAttributes) Indexed() terra.BoolValue
- func (f FieldsAttributes) InternalRef() (terra.Reference, error)
- func (f FieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FieldsAttributes) InternalWithRef(ref terra.Reference) FieldsAttributes
- func (f FieldsAttributes) MultiValued() terra.BoolValue
- func (f FieldsAttributes) NumericIndexingSpec() terra.ListValue[FieldsNumericIndexingSpecAttributes]
- func (f FieldsAttributes) ReadAccessType() terra.StringValue
- type FieldsNumericIndexingSpec
- type FieldsNumericIndexingSpecAttributes
- func (nis FieldsNumericIndexingSpecAttributes) InternalRef() (terra.Reference, error)
- func (nis FieldsNumericIndexingSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nis FieldsNumericIndexingSpecAttributes) InternalWithRef(ref terra.Reference) FieldsNumericIndexingSpecAttributes
- func (nis FieldsNumericIndexingSpecAttributes) MaxValue() terra.NumberValue
- func (nis FieldsNumericIndexingSpecAttributes) MinValue() terra.NumberValue
- type FieldsNumericIndexingSpecState
- type FieldsState
- type Resource
- func (gs *Resource) Attributes() googleworkspaceSchemaAttributes
- func (gs *Resource) Configuration() interface{}
- func (gs *Resource) DependOn() terra.Reference
- func (gs *Resource) Dependencies() terra.Dependencies
- func (gs *Resource) ImportState(state io.Reader) error
- func (gs *Resource) LifecycleManagement() *terra.Lifecycle
- func (gs *Resource) LocalName() string
- func (gs *Resource) State() (*googleworkspaceSchemaState, bool)
- func (gs *Resource) StateMust() *googleworkspaceSchemaState
- func (gs *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // SchemaName: string, required SchemaName terra.StringValue `hcl:"schema_name,attr" validate:"required"` // Fields: min=1 Fields []Fields `hcl:"fields,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for googleworkspace_schema.
type DataArgs ¶
type DataArgs struct { // SchemaId: string, optional SchemaId terra.StringValue `hcl:"schema_id,attr"` // SchemaName: string, optional SchemaName terra.StringValue `hcl:"schema_name,attr"` }
DataArgs contains the configurations for googleworkspace_schema.
type DataFieldsAttributes ¶
type DataFieldsAttributes struct {
// contains filtered or unexported fields
}
func (DataFieldsAttributes) DisplayName ¶
func (f DataFieldsAttributes) DisplayName() terra.StringValue
func (DataFieldsAttributes) Etag ¶
func (f DataFieldsAttributes) Etag() terra.StringValue
func (DataFieldsAttributes) FieldId ¶
func (f DataFieldsAttributes) FieldId() terra.StringValue
func (DataFieldsAttributes) FieldName ¶
func (f DataFieldsAttributes) FieldName() terra.StringValue
func (DataFieldsAttributes) FieldType ¶
func (f DataFieldsAttributes) FieldType() terra.StringValue
func (DataFieldsAttributes) Indexed ¶
func (f DataFieldsAttributes) Indexed() terra.BoolValue
func (DataFieldsAttributes) InternalRef ¶
func (f DataFieldsAttributes) InternalRef() (terra.Reference, error)
func (DataFieldsAttributes) InternalTokens ¶
func (f DataFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFieldsAttributes) InternalWithRef ¶
func (f DataFieldsAttributes) InternalWithRef(ref terra.Reference) DataFieldsAttributes
func (DataFieldsAttributes) MultiValued ¶
func (f DataFieldsAttributes) MultiValued() terra.BoolValue
func (DataFieldsAttributes) NumericIndexingSpec ¶
func (f DataFieldsAttributes) NumericIndexingSpec() terra.ListValue[DataFieldsNumericIndexingSpecAttributes]
func (DataFieldsAttributes) ReadAccessType ¶
func (f DataFieldsAttributes) ReadAccessType() terra.StringValue
type DataFieldsNumericIndexingSpecAttributes ¶
type DataFieldsNumericIndexingSpecAttributes struct {
// contains filtered or unexported fields
}
func (DataFieldsNumericIndexingSpecAttributes) InternalRef ¶
func (nis DataFieldsNumericIndexingSpecAttributes) InternalRef() (terra.Reference, error)
func (DataFieldsNumericIndexingSpecAttributes) InternalTokens ¶
func (nis DataFieldsNumericIndexingSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFieldsNumericIndexingSpecAttributes) InternalWithRef ¶
func (nis DataFieldsNumericIndexingSpecAttributes) InternalWithRef(ref terra.Reference) DataFieldsNumericIndexingSpecAttributes
func (DataFieldsNumericIndexingSpecAttributes) MaxValue ¶
func (nis DataFieldsNumericIndexingSpecAttributes) MaxValue() terra.NumberValue
func (DataFieldsNumericIndexingSpecAttributes) MinValue ¶
func (nis DataFieldsNumericIndexingSpecAttributes) MinValue() terra.NumberValue
type DataFieldsState ¶
type DataFieldsState struct { DisplayName string `json:"display_name"` Etag string `json:"etag"` FieldId string `json:"field_id"` FieldName string `json:"field_name"` FieldType string `json:"field_type"` Indexed bool `json:"indexed"` MultiValued bool `json:"multi_valued"` ReadAccessType string `json:"read_access_type"` NumericIndexingSpec []DataFieldsNumericIndexingSpecState `json:"numeric_indexing_spec"` }
type DataSource ¶
DataSource represents the Terraform data resource googleworkspace_schema.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gs *DataSource) Attributes() dataGoogleworkspaceSchemaAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gs *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gs *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gs *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Fields ¶
type Fields struct { // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // FieldName: string, required FieldName terra.StringValue `hcl:"field_name,attr" validate:"required"` // FieldType: string, required FieldType terra.StringValue `hcl:"field_type,attr" validate:"required"` // Indexed: bool, optional Indexed terra.BoolValue `hcl:"indexed,attr"` // MultiValued: bool, optional MultiValued terra.BoolValue `hcl:"multi_valued,attr"` // ReadAccessType: string, optional ReadAccessType terra.StringValue `hcl:"read_access_type,attr"` // FieldsNumericIndexingSpec: optional NumericIndexingSpec *FieldsNumericIndexingSpec `hcl:"numeric_indexing_spec,block"` }
type FieldsAttributes ¶
type FieldsAttributes struct {
// contains filtered or unexported fields
}
func (FieldsAttributes) DisplayName ¶
func (f FieldsAttributes) DisplayName() terra.StringValue
func (FieldsAttributes) Etag ¶
func (f FieldsAttributes) Etag() terra.StringValue
func (FieldsAttributes) FieldId ¶
func (f FieldsAttributes) FieldId() terra.StringValue
func (FieldsAttributes) FieldName ¶
func (f FieldsAttributes) FieldName() terra.StringValue
func (FieldsAttributes) FieldType ¶
func (f FieldsAttributes) FieldType() terra.StringValue
func (FieldsAttributes) Indexed ¶
func (f FieldsAttributes) Indexed() terra.BoolValue
func (FieldsAttributes) InternalRef ¶
func (f FieldsAttributes) InternalRef() (terra.Reference, error)
func (FieldsAttributes) InternalTokens ¶
func (f FieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FieldsAttributes) InternalWithRef ¶
func (f FieldsAttributes) InternalWithRef(ref terra.Reference) FieldsAttributes
func (FieldsAttributes) MultiValued ¶
func (f FieldsAttributes) MultiValued() terra.BoolValue
func (FieldsAttributes) NumericIndexingSpec ¶
func (f FieldsAttributes) NumericIndexingSpec() terra.ListValue[FieldsNumericIndexingSpecAttributes]
func (FieldsAttributes) ReadAccessType ¶
func (f FieldsAttributes) ReadAccessType() terra.StringValue
type FieldsNumericIndexingSpec ¶
type FieldsNumericIndexingSpec struct { // MaxValue: number, optional MaxValue terra.NumberValue `hcl:"max_value,attr"` // MinValue: number, optional MinValue terra.NumberValue `hcl:"min_value,attr"` }
type FieldsNumericIndexingSpecAttributes ¶
type FieldsNumericIndexingSpecAttributes struct {
// contains filtered or unexported fields
}
func (FieldsNumericIndexingSpecAttributes) InternalRef ¶
func (nis FieldsNumericIndexingSpecAttributes) InternalRef() (terra.Reference, error)
func (FieldsNumericIndexingSpecAttributes) InternalTokens ¶
func (nis FieldsNumericIndexingSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FieldsNumericIndexingSpecAttributes) InternalWithRef ¶
func (nis FieldsNumericIndexingSpecAttributes) InternalWithRef(ref terra.Reference) FieldsNumericIndexingSpecAttributes
func (FieldsNumericIndexingSpecAttributes) MaxValue ¶
func (nis FieldsNumericIndexingSpecAttributes) MaxValue() terra.NumberValue
func (FieldsNumericIndexingSpecAttributes) MinValue ¶
func (nis FieldsNumericIndexingSpecAttributes) MinValue() terra.NumberValue
type FieldsState ¶
type FieldsState struct { DisplayName string `json:"display_name"` Etag string `json:"etag"` FieldId string `json:"field_id"` FieldName string `json:"field_name"` FieldType string `json:"field_type"` Indexed bool `json:"indexed"` MultiValued bool `json:"multi_valued"` ReadAccessType string `json:"read_access_type"` NumericIndexingSpec []FieldsNumericIndexingSpecState `json:"numeric_indexing_spec"` }
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_schema.
func (*Resource) Attributes ¶
func (gs *Resource) Attributes() googleworkspaceSchemaAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gs *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue