Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

type DataGoogleAccessApprovalFolderServiceAccountConfig struct {
// Experimental.
Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
Connection any `field:"optional" json:"connection" yaml:"connection"`
// Experimental.
Count interface{} `field:"optional" json:"count" yaml:"count"`
Count any `field:"optional" json:"count" yaml:"count"`
// Experimental.
DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
// Experimental.
Expand All @@ -18,7 +18,7 @@ type DataGoogleAccessApprovalFolderServiceAccountConfig struct {
// Experimental.
Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
// Experimental.
Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
Provisioners *[]any `field:"optional" json:"provisioners" yaml:"provisioners"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.45.0/docs/data-sources/google_access_approval_folder_service_account#folder_id DataGoogleAccessApprovalFolderServiceAccount#folder_id}.
FolderId *string `field:"required" json:"folderId" yaml:"folderId"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.45.0/docs/data-sources/google_access_approval_folder_service_account#id DataGoogleAccessApprovalFolderServiceAccount#id}.
Expand All @@ -27,4 +27,3 @@ type DataGoogleAccessApprovalFolderServiceAccountConfig struct {
// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
Id *string `field:"optional" json:"id" yaml:"id"`
}

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-cdk-go/cdktf"
)

func (d *jsiiProxy_DataGoogleAccessApprovalFolderServiceAccount) validateAddOverrideParameters(path *string, value interface{}) error {
func (d *jsiiProxy_DataGoogleAccessApprovalFolderServiceAccount) validateAddOverrideParameters(path *string, value any) error {
if path == nil {
return fmt.Errorf("parameter path is required, but nil was provided")
}
Expand Down Expand Up @@ -127,31 +127,31 @@ func validateDataGoogleAccessApprovalFolderServiceAccount_GenerateConfigForImpor
return nil
}

func validateDataGoogleAccessApprovalFolderServiceAccount_IsConstructParameters(x interface{}) error {
func validateDataGoogleAccessApprovalFolderServiceAccount_IsConstructParameters(x any) error {
if x == nil {
return fmt.Errorf("parameter x is required, but nil was provided")
}

return nil
}

func validateDataGoogleAccessApprovalFolderServiceAccount_IsTerraformDataSourceParameters(x interface{}) error {
func validateDataGoogleAccessApprovalFolderServiceAccount_IsTerraformDataSourceParameters(x any) error {
if x == nil {
return fmt.Errorf("parameter x is required, but nil was provided")
}

return nil
}

func validateDataGoogleAccessApprovalFolderServiceAccount_IsTerraformElementParameters(x interface{}) error {
func validateDataGoogleAccessApprovalFolderServiceAccount_IsTerraformElementParameters(x any) error {
if x == nil {
return fmt.Errorf("parameter x is required, but nil was provided")
}

return nil
}

func (j *jsiiProxy_DataGoogleAccessApprovalFolderServiceAccount) validateSetCountParameters(val interface{}) error {
func (j *jsiiProxy_DataGoogleAccessApprovalFolderServiceAccount) validateSetCountParameters(val any) error {
switch val.(type) {
case *float64:
// ok
Expand Down Expand Up @@ -250,4 +250,3 @@ func validateNewDataGoogleAccessApprovalFolderServiceAccountParameters(scope con

return nil
}

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
func init() {
_jsii_.RegisterClass(
"@cdktf/provider-google_beta.dataGoogleAccessApprovalFolderServiceAccount.DataGoogleAccessApprovalFolderServiceAccount",
reflect.TypeOf((*DataGoogleAccessApprovalFolderServiceAccount)(nil)).Elem(),
reflect.TypeFor[DataGoogleAccessApprovalFolderServiceAccount](),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "accountEmail", GoGetter: "AccountEmail"},
_jsii_.MemberMethod{JsiiMethod: "addOverride", GoMethod: "AddOverride"},
Expand Down Expand Up @@ -52,14 +52,14 @@ func init() {
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
_jsii_.MemberMethod{JsiiMethod: "toTerraform", GoMethod: "ToTerraform"},
},
func() interface{} {
func() any {
j := jsiiProxy_DataGoogleAccessApprovalFolderServiceAccount{}
_jsii_.InitJsiiProxy(&j.Type__cdktfTerraformDataSource)
return &j
},
)
_jsii_.RegisterStruct(
"@cdktf/provider-google_beta.dataGoogleAccessApprovalFolderServiceAccount.DataGoogleAccessApprovalFolderServiceAccountConfig",
reflect.TypeOf((*DataGoogleAccessApprovalFolderServiceAccountConfig)(nil)).Elem(),
reflect.TypeFor[DataGoogleAccessApprovalFolderServiceAccountConfig](),
)
}
Loading