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
@@ -1,11 +1,10 @@
package accesscontextmanageraccesslevel


type AccessContextManagerAccessLevelBasic struct {
// conditions block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#conditions AccessContextManagerAccessLevel#conditions}
Conditions interface{} `field:"required" json:"conditions" yaml:"conditions"`
Conditions any `field:"required" json:"conditions" yaml:"conditions"`
// How the conditions list should be combined to determine if a request is granted this AccessLevel.
//
// If AND is used, each Condition in
Expand All @@ -16,4 +15,3 @@ type AccessContextManagerAccessLevelBasic struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#combining_function AccessContextManagerAccessLevel#combining_function}
CombiningFunction *string `field:"optional" json:"combiningFunction" yaml:"combiningFunction"`
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package accesscontextmanageraccesslevel


type AccessContextManagerAccessLevelBasicConditions struct {
// device_policy block.
//
Expand Down Expand Up @@ -38,7 +37,7 @@ type AccessContextManagerAccessLevelBasicConditions struct {
// the Condition overall to be satisfied. Defaults to false.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#negate AccessContextManagerAccessLevel#negate}
Negate interface{} `field:"optional" json:"negate" yaml:"negate"`
Negate any `field:"optional" json:"negate" yaml:"negate"`
// The request must originate from one of the provided countries/regions. Format: A valid ISO 3166-1 alpha-2 code.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#regions AccessContextManagerAccessLevel#regions}
Expand All @@ -55,6 +54,5 @@ type AccessContextManagerAccessLevelBasicConditions struct {
// vpc_network_sources block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#vpc_network_sources AccessContextManagerAccessLevel#vpc_network_sources}
VpcNetworkSources interface{} `field:"optional" json:"vpcNetworkSources" yaml:"vpcNetworkSources"`
VpcNetworkSources any `field:"optional" json:"vpcNetworkSources" yaml:"vpcNetworkSources"`
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package accesscontextmanageraccesslevel


type AccessContextManagerAccessLevelBasicConditionsDevicePolicy struct {
// A list of allowed device management levels. An empty list allows all management levels. Possible values: ["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"].
//
Expand All @@ -13,18 +12,17 @@ type AccessContextManagerAccessLevelBasicConditionsDevicePolicy struct {
// os_constraints block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#os_constraints AccessContextManagerAccessLevel#os_constraints}
OsConstraints interface{} `field:"optional" json:"osConstraints" yaml:"osConstraints"`
OsConstraints any `field:"optional" json:"osConstraints" yaml:"osConstraints"`
// Whether the device needs to be approved by the customer admin.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#require_admin_approval AccessContextManagerAccessLevel#require_admin_approval}
RequireAdminApproval interface{} `field:"optional" json:"requireAdminApproval" yaml:"requireAdminApproval"`
RequireAdminApproval any `field:"optional" json:"requireAdminApproval" yaml:"requireAdminApproval"`
// Whether the device needs to be corp owned.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#require_corp_owned AccessContextManagerAccessLevel#require_corp_owned}
RequireCorpOwned interface{} `field:"optional" json:"requireCorpOwned" yaml:"requireCorpOwned"`
RequireCorpOwned any `field:"optional" json:"requireCorpOwned" yaml:"requireCorpOwned"`
// Whether or not screenlock is required for the DevicePolicy to be true. Defaults to false.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#require_screen_lock AccessContextManagerAccessLevel#require_screen_lock}
RequireScreenLock interface{} `field:"optional" json:"requireScreenLock" yaml:"requireScreenLock"`
RequireScreenLock any `field:"optional" json:"requireScreenLock" yaml:"requireScreenLock"`
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package accesscontextmanageraccesslevel


type AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraints struct {
// The operating system type of the device. Possible values: ["OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", "DESKTOP_LINUX", "DESKTOP_CHROME_OS", "ANDROID", "IOS"].
//
Expand All @@ -17,6 +16,5 @@ type AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraints str
// If you specify DESKTOP_CHROME_OS for osType, you can optionally include requireVerifiedChromeOs to require Chrome Verified Access.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/access_context_manager_access_level#require_verified_chrome_os AccessContextManagerAccessLevel#require_verified_chrome_os}
RequireVerifiedChromeOs interface{} `field:"optional" json:"requireVerifiedChromeOs" yaml:"requireVerifiedChromeOs"`
RequireVerifiedChromeOs any `field:"optional" json:"requireVerifiedChromeOs" yaml:"requireVerifiedChromeOs"`
}

Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ type AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
InternalValue() any
SetInternalValue(val any)
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
Expand All @@ -38,7 +38,7 @@ type AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList
Get(index *float64) AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
Resolve(_context cdktf.IResolveContext) any
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
Expand Down Expand Up @@ -71,8 +71,8 @@ func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
return returns
}

func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) InternalValue() interface{} {
var returns interface{}
func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) InternalValue() any {
var returns any
_jsii_.Get(
j,
"internalValue",
Expand Down Expand Up @@ -111,7 +111,6 @@ func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
return returns
}


func NewAccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList {
_init_.Initialize()

Expand All @@ -122,7 +121,7 @@ func NewAccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsL

_jsii_.Create(
"@cdktf/provider-google.accessContextManagerAccessLevel.AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
[]any{terraformResource, terraformAttribute, wrapsSet},
&j,
)

Expand All @@ -134,12 +133,12 @@ func NewAccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsL

_jsii_.Create(
"@cdktf/provider-google.accessContextManagerAccessLevel.AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
[]any{terraformResource, terraformAttribute, wrapsSet},
a,
)
}

func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList)SetInternalValue(val interface{}) {
func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) SetInternalValue(val any) {
if err := j.validateSetInternalValueParameters(val); err != nil {
panic(err)
}
Expand All @@ -150,7 +149,7 @@ func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
)
}

func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList)SetTerraformAttribute(val *string) {
func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) SetTerraformAttribute(val *string) {
if err := j.validateSetTerraformAttributeParameters(val); err != nil {
panic(err)
}
Expand All @@ -161,7 +160,7 @@ func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
)
}

func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList)SetTerraformResource(val cdktf.IInterpolatingParent) {
func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) SetTerraformResource(val cdktf.IInterpolatingParent) {
if err := j.validateSetTerraformResourceParameters(val); err != nil {
panic(err)
}
Expand All @@ -172,7 +171,7 @@ func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
)
}

func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList)SetWrapsSet(val *bool) {
func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) SetWrapsSet(val *bool) {
if err := j.validateSetWrapsSetParameters(val); err != nil {
panic(err)
}
Expand All @@ -192,7 +191,7 @@ func (a *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
_jsii_.Invoke(
a,
"allWithMapKey",
[]interface{}{mapKeyAttributeName},
[]any{mapKeyAttributeName},
&returns,
)

Expand Down Expand Up @@ -221,23 +220,23 @@ func (a *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
_jsii_.Invoke(
a,
"get",
[]interface{}{index},
[]any{index},
&returns,
)

return returns
}

func (a *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) Resolve(_context cdktf.IResolveContext) interface{} {
func (a *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) Resolve(_context cdktf.IResolveContext) any {
if err := a.validateResolveParameters(_context); err != nil {
panic(err)
}
var returns interface{}
var returns any

_jsii_.Invoke(
a,
"resolve",
[]interface{}{_context},
[]any{_context},
&returns,
)

Expand All @@ -256,4 +255,3 @@ func (a *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC

return returns
}

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (a *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsC
return nil
}

func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) validateSetInternalValueParameters(val interface{}) error {
func (j *jsiiProxy_AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraintsList) validateSetInternalValueParameters(val any) error {
switch val.(type) {
case cdktf.IResolvable:
// ok
Expand Down Expand Up @@ -101,4 +101,3 @@ func validateNewAccessContextManagerAccessLevelBasicConditionsDevicePolicyOsCons

return nil
}

Loading