Documentation ¶
Index ¶
- type Args
- type CsvOptions
- type CsvOptionsAttributes
- func (co CsvOptionsAttributes) Delimiter() terra.StringValue
- func (co CsvOptionsAttributes) HeaderRequired() terra.BoolValue
- func (co CsvOptionsAttributes) InternalRef() (terra.Reference, error)
- func (co CsvOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (co CsvOptionsAttributes) InternalWithRef(ref terra.Reference) CsvOptionsAttributes
- func (co CsvOptionsAttributes) RecordSeparator() terra.StringValue
- type CsvOptionsState
- type FrequencyOptions
- type FrequencyOptionsAttributes
- func (fo FrequencyOptionsAttributes) EndDate() terra.ListValue[FrequencyOptionsEndDateAttributes]
- func (fo FrequencyOptionsAttributes) Frequency() terra.StringValue
- func (fo FrequencyOptionsAttributes) InternalRef() (terra.Reference, error)
- func (fo FrequencyOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fo FrequencyOptionsAttributes) InternalWithRef(ref terra.Reference) FrequencyOptionsAttributes
- func (fo FrequencyOptionsAttributes) StartDate() terra.ListValue[FrequencyOptionsStartDateAttributes]
- type FrequencyOptionsEndDate
- type FrequencyOptionsEndDateAttributes
- func (ed FrequencyOptionsEndDateAttributes) Day() terra.NumberValue
- func (ed FrequencyOptionsEndDateAttributes) InternalRef() (terra.Reference, error)
- func (ed FrequencyOptionsEndDateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ed FrequencyOptionsEndDateAttributes) InternalWithRef(ref terra.Reference) FrequencyOptionsEndDateAttributes
- func (ed FrequencyOptionsEndDateAttributes) Month() terra.NumberValue
- func (ed FrequencyOptionsEndDateAttributes) Year() terra.NumberValue
- type FrequencyOptionsEndDateState
- type FrequencyOptionsStartDate
- type FrequencyOptionsStartDateAttributes
- func (sd FrequencyOptionsStartDateAttributes) Day() terra.NumberValue
- func (sd FrequencyOptionsStartDateAttributes) InternalRef() (terra.Reference, error)
- func (sd FrequencyOptionsStartDateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd FrequencyOptionsStartDateAttributes) InternalWithRef(ref terra.Reference) FrequencyOptionsStartDateAttributes
- func (sd FrequencyOptionsStartDateAttributes) Month() terra.NumberValue
- func (sd FrequencyOptionsStartDateAttributes) Year() terra.NumberValue
- type FrequencyOptionsStartDateState
- type FrequencyOptionsState
- type ObjectMetadataReportOptions
- type ObjectMetadataReportOptionsAttributes
- func (omro ObjectMetadataReportOptionsAttributes) InternalRef() (terra.Reference, error)
- func (omro ObjectMetadataReportOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (omro ObjectMetadataReportOptionsAttributes) InternalWithRef(ref terra.Reference) ObjectMetadataReportOptionsAttributes
- func (omro ObjectMetadataReportOptionsAttributes) MetadataFields() terra.ListValue[terra.StringValue]
- func (omro ObjectMetadataReportOptionsAttributes) StorageDestinationOptions() ...
- func (omro ObjectMetadataReportOptionsAttributes) StorageFilters() terra.ListValue[ObjectMetadataReportOptionsStorageFiltersAttributes]
- type ObjectMetadataReportOptionsState
- type ObjectMetadataReportOptionsStorageDestinationOptions
- type ObjectMetadataReportOptionsStorageDestinationOptionsAttributes
- func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) Bucket() terra.StringValue
- func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) DestinationPath() terra.StringValue
- func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalRef() (terra.Reference, error)
- func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalWithRef(ref terra.Reference) ObjectMetadataReportOptionsStorageDestinationOptionsAttributes
- type ObjectMetadataReportOptionsStorageDestinationOptionsState
- type ObjectMetadataReportOptionsStorageFilters
- type ObjectMetadataReportOptionsStorageFiltersAttributes
- func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) Bucket() terra.StringValue
- func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) InternalRef() (terra.Reference, error)
- func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) InternalWithRef(ref terra.Reference) ObjectMetadataReportOptionsStorageFiltersAttributes
- type ObjectMetadataReportOptionsStorageFiltersState
- type Resource
- func (gsirc *Resource) Attributes() googleStorageInsightsReportConfigAttributes
- func (gsirc *Resource) Configuration() interface{}
- func (gsirc *Resource) DependOn() terra.Reference
- func (gsirc *Resource) Dependencies() terra.Dependencies
- func (gsirc *Resource) ImportState(state io.Reader) error
- func (gsirc *Resource) LifecycleManagement() *terra.Lifecycle
- func (gsirc *Resource) LocalName() string
- func (gsirc *Resource) State() (*googleStorageInsightsReportConfigState, bool)
- func (gsirc *Resource) StateMust() *googleStorageInsightsReportConfigState
- func (gsirc *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"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // CsvOptions: required CsvOptions *CsvOptions `hcl:"csv_options,block" validate:"required"` // FrequencyOptions: optional FrequencyOptions *FrequencyOptions `hcl:"frequency_options,block"` // ObjectMetadataReportOptions: optional ObjectMetadataReportOptions *ObjectMetadataReportOptions `hcl:"object_metadata_report_options,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_storage_insights_report_config.
type CsvOptions ¶
type CsvOptions struct { // Delimiter: string, optional Delimiter terra.StringValue `hcl:"delimiter,attr"` // HeaderRequired: bool, optional HeaderRequired terra.BoolValue `hcl:"header_required,attr"` // RecordSeparator: string, optional RecordSeparator terra.StringValue `hcl:"record_separator,attr"` }
type CsvOptionsAttributes ¶
type CsvOptionsAttributes struct {
// contains filtered or unexported fields
}
func (CsvOptionsAttributes) Delimiter ¶
func (co CsvOptionsAttributes) Delimiter() terra.StringValue
func (CsvOptionsAttributes) HeaderRequired ¶
func (co CsvOptionsAttributes) HeaderRequired() terra.BoolValue
func (CsvOptionsAttributes) InternalRef ¶
func (co CsvOptionsAttributes) InternalRef() (terra.Reference, error)
func (CsvOptionsAttributes) InternalTokens ¶
func (co CsvOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CsvOptionsAttributes) InternalWithRef ¶
func (co CsvOptionsAttributes) InternalWithRef(ref terra.Reference) CsvOptionsAttributes
func (CsvOptionsAttributes) RecordSeparator ¶
func (co CsvOptionsAttributes) RecordSeparator() terra.StringValue
type CsvOptionsState ¶
type FrequencyOptions ¶
type FrequencyOptions struct { // Frequency: string, required Frequency terra.StringValue `hcl:"frequency,attr" validate:"required"` // FrequencyOptionsEndDate: required EndDate *FrequencyOptionsEndDate `hcl:"end_date,block" validate:"required"` // FrequencyOptionsStartDate: required StartDate *FrequencyOptionsStartDate `hcl:"start_date,block" validate:"required"` }
type FrequencyOptionsAttributes ¶
type FrequencyOptionsAttributes struct {
// contains filtered or unexported fields
}
func (FrequencyOptionsAttributes) EndDate ¶
func (fo FrequencyOptionsAttributes) EndDate() terra.ListValue[FrequencyOptionsEndDateAttributes]
func (FrequencyOptionsAttributes) Frequency ¶
func (fo FrequencyOptionsAttributes) Frequency() terra.StringValue
func (FrequencyOptionsAttributes) InternalRef ¶
func (fo FrequencyOptionsAttributes) InternalRef() (terra.Reference, error)
func (FrequencyOptionsAttributes) InternalTokens ¶
func (fo FrequencyOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FrequencyOptionsAttributes) InternalWithRef ¶
func (fo FrequencyOptionsAttributes) InternalWithRef(ref terra.Reference) FrequencyOptionsAttributes
func (FrequencyOptionsAttributes) StartDate ¶
func (fo FrequencyOptionsAttributes) StartDate() terra.ListValue[FrequencyOptionsStartDateAttributes]
type FrequencyOptionsEndDate ¶
type FrequencyOptionsEndDate struct { // Day: number, required Day terra.NumberValue `hcl:"day,attr" validate:"required"` // Month: number, required Month terra.NumberValue `hcl:"month,attr" validate:"required"` // Year: number, required Year terra.NumberValue `hcl:"year,attr" validate:"required"` }
type FrequencyOptionsEndDateAttributes ¶
type FrequencyOptionsEndDateAttributes struct {
// contains filtered or unexported fields
}
func (FrequencyOptionsEndDateAttributes) Day ¶
func (ed FrequencyOptionsEndDateAttributes) Day() terra.NumberValue
func (FrequencyOptionsEndDateAttributes) InternalRef ¶
func (ed FrequencyOptionsEndDateAttributes) InternalRef() (terra.Reference, error)
func (FrequencyOptionsEndDateAttributes) InternalTokens ¶
func (ed FrequencyOptionsEndDateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FrequencyOptionsEndDateAttributes) InternalWithRef ¶
func (ed FrequencyOptionsEndDateAttributes) InternalWithRef(ref terra.Reference) FrequencyOptionsEndDateAttributes
func (FrequencyOptionsEndDateAttributes) Month ¶
func (ed FrequencyOptionsEndDateAttributes) Month() terra.NumberValue
func (FrequencyOptionsEndDateAttributes) Year ¶
func (ed FrequencyOptionsEndDateAttributes) Year() terra.NumberValue
type FrequencyOptionsStartDate ¶
type FrequencyOptionsStartDate struct { // Day: number, required Day terra.NumberValue `hcl:"day,attr" validate:"required"` // Month: number, required Month terra.NumberValue `hcl:"month,attr" validate:"required"` // Year: number, required Year terra.NumberValue `hcl:"year,attr" validate:"required"` }
type FrequencyOptionsStartDateAttributes ¶
type FrequencyOptionsStartDateAttributes struct {
// contains filtered or unexported fields
}
func (FrequencyOptionsStartDateAttributes) Day ¶
func (sd FrequencyOptionsStartDateAttributes) Day() terra.NumberValue
func (FrequencyOptionsStartDateAttributes) InternalRef ¶
func (sd FrequencyOptionsStartDateAttributes) InternalRef() (terra.Reference, error)
func (FrequencyOptionsStartDateAttributes) InternalTokens ¶
func (sd FrequencyOptionsStartDateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FrequencyOptionsStartDateAttributes) InternalWithRef ¶
func (sd FrequencyOptionsStartDateAttributes) InternalWithRef(ref terra.Reference) FrequencyOptionsStartDateAttributes
func (FrequencyOptionsStartDateAttributes) Month ¶
func (sd FrequencyOptionsStartDateAttributes) Month() terra.NumberValue
func (FrequencyOptionsStartDateAttributes) Year ¶
func (sd FrequencyOptionsStartDateAttributes) Year() terra.NumberValue
type FrequencyOptionsState ¶
type FrequencyOptionsState struct { Frequency string `json:"frequency"` EndDate []FrequencyOptionsEndDateState `json:"end_date"` StartDate []FrequencyOptionsStartDateState `json:"start_date"` }
type ObjectMetadataReportOptions ¶
type ObjectMetadataReportOptions struct { // MetadataFields: list of string, required MetadataFields terra.ListValue[terra.StringValue] `hcl:"metadata_fields,attr" validate:"required"` // ObjectMetadataReportOptionsStorageDestinationOptions: required StorageDestinationOptions *ObjectMetadataReportOptionsStorageDestinationOptions `hcl:"storage_destination_options,block" validate:"required"` // ObjectMetadataReportOptionsStorageFilters: optional StorageFilters *ObjectMetadataReportOptionsStorageFilters `hcl:"storage_filters,block"` }
type ObjectMetadataReportOptionsAttributes ¶
type ObjectMetadataReportOptionsAttributes struct {
// contains filtered or unexported fields
}
func (ObjectMetadataReportOptionsAttributes) InternalRef ¶
func (omro ObjectMetadataReportOptionsAttributes) InternalRef() (terra.Reference, error)
func (ObjectMetadataReportOptionsAttributes) InternalTokens ¶
func (omro ObjectMetadataReportOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ObjectMetadataReportOptionsAttributes) InternalWithRef ¶
func (omro ObjectMetadataReportOptionsAttributes) InternalWithRef(ref terra.Reference) ObjectMetadataReportOptionsAttributes
func (ObjectMetadataReportOptionsAttributes) MetadataFields ¶
func (omro ObjectMetadataReportOptionsAttributes) MetadataFields() terra.ListValue[terra.StringValue]
func (ObjectMetadataReportOptionsAttributes) StorageDestinationOptions ¶
func (omro ObjectMetadataReportOptionsAttributes) StorageDestinationOptions() terra.ListValue[ObjectMetadataReportOptionsStorageDestinationOptionsAttributes]
func (ObjectMetadataReportOptionsAttributes) StorageFilters ¶
func (omro ObjectMetadataReportOptionsAttributes) StorageFilters() terra.ListValue[ObjectMetadataReportOptionsStorageFiltersAttributes]
type ObjectMetadataReportOptionsState ¶
type ObjectMetadataReportOptionsState struct { MetadataFields []string `json:"metadata_fields"` StorageDestinationOptions []ObjectMetadataReportOptionsStorageDestinationOptionsState `json:"storage_destination_options"` StorageFilters []ObjectMetadataReportOptionsStorageFiltersState `json:"storage_filters"` }
type ObjectMetadataReportOptionsStorageDestinationOptions ¶
type ObjectMetadataReportOptionsStorageDestinationOptions struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // DestinationPath: string, optional DestinationPath terra.StringValue `hcl:"destination_path,attr"` }
type ObjectMetadataReportOptionsStorageDestinationOptionsAttributes ¶
type ObjectMetadataReportOptionsStorageDestinationOptionsAttributes struct {
// contains filtered or unexported fields
}
func (ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) Bucket ¶
func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) Bucket() terra.StringValue
func (ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) DestinationPath ¶
func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) DestinationPath() terra.StringValue
func (ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalRef ¶
func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalRef() (terra.Reference, error)
func (ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalTokens ¶
func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalWithRef ¶
func (sdo ObjectMetadataReportOptionsStorageDestinationOptionsAttributes) InternalWithRef(ref terra.Reference) ObjectMetadataReportOptionsStorageDestinationOptionsAttributes
type ObjectMetadataReportOptionsStorageFilters ¶
type ObjectMetadataReportOptionsStorageFilters struct { // Bucket: string, optional Bucket terra.StringValue `hcl:"bucket,attr"` }
type ObjectMetadataReportOptionsStorageFiltersAttributes ¶
type ObjectMetadataReportOptionsStorageFiltersAttributes struct {
// contains filtered or unexported fields
}
func (ObjectMetadataReportOptionsStorageFiltersAttributes) Bucket ¶
func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) Bucket() terra.StringValue
func (ObjectMetadataReportOptionsStorageFiltersAttributes) InternalRef ¶
func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) InternalRef() (terra.Reference, error)
func (ObjectMetadataReportOptionsStorageFiltersAttributes) InternalTokens ¶
func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ObjectMetadataReportOptionsStorageFiltersAttributes) InternalWithRef ¶
func (sf ObjectMetadataReportOptionsStorageFiltersAttributes) InternalWithRef(ref terra.Reference) ObjectMetadataReportOptionsStorageFiltersAttributes
type ObjectMetadataReportOptionsStorageFiltersState ¶
type ObjectMetadataReportOptionsStorageFiltersState struct {
Bucket string `json:"bucket"`
}
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 google_storage_insights_report_config.
func (*Resource) Attributes ¶
func (gsirc *Resource) Attributes() googleStorageInsightsReportConfigAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gsirc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gsirc *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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.