Class AccessLevelBasicConditionArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelBasicConditionArgs.Builder
-
- Enclosing class:
- AccessLevelBasicConditionArgs
public static final class AccessLevelBasicConditionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AccessLevelBasicConditionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AccessLevelBasicConditionArgs defaults)
-
-
Method Detail
-
devicePolicy
public AccessLevelBasicConditionArgs.Builder devicePolicy(@Nullable com.pulumi.core.Output<AccessLevelBasicConditionDevicePolicyArgs> devicePolicy)
- Parameters:
devicePolicy
- Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. Structure is documented below.- Returns:
- builder
-
devicePolicy
public AccessLevelBasicConditionArgs.Builder devicePolicy(AccessLevelBasicConditionDevicePolicyArgs devicePolicy)
- Parameters:
devicePolicy
- Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. Structure is documented below.- Returns:
- builder
-
ipSubnetworks
public AccessLevelBasicConditionArgs.Builder ipSubnetworks(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> ipSubnetworks)
- Parameters:
ipSubnetworks
- A list of CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.- Returns:
- builder
-
ipSubnetworks
public AccessLevelBasicConditionArgs.Builder ipSubnetworks(java.util.List<java.lang.String> ipSubnetworks)
- Parameters:
ipSubnetworks
- A list of CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.- Returns:
- builder
-
ipSubnetworks
public AccessLevelBasicConditionArgs.Builder ipSubnetworks(java.lang.String... ipSubnetworks)
- Parameters:
ipSubnetworks
- A list of CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.- Returns:
- builder
-
members
public AccessLevelBasicConditionArgs.Builder members(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> members)
- Parameters:
members
- An allowed list of members (users, service accounts). Using groups is not supported yet. The signed-in user originating the request must be a part of one of the provided members. If not specified, a request may come from any user (logged in/not logged in, not present in any groups, etc.). Formats: `user:{emailid}`, `serviceAccount:{emailid}`- Returns:
- builder
-
members
public AccessLevelBasicConditionArgs.Builder members(java.util.List<java.lang.String> members)
- Parameters:
members
- An allowed list of members (users, service accounts). Using groups is not supported yet. The signed-in user originating the request must be a part of one of the provided members. If not specified, a request may come from any user (logged in/not logged in, not present in any groups, etc.). Formats: `user:{emailid}`, `serviceAccount:{emailid}`- Returns:
- builder
-
members
public AccessLevelBasicConditionArgs.Builder members(java.lang.String... members)
- Parameters:
members
- An allowed list of members (users, service accounts). Using groups is not supported yet. The signed-in user originating the request must be a part of one of the provided members. If not specified, a request may come from any user (logged in/not logged in, not present in any groups, etc.). Formats: `user:{emailid}`, `serviceAccount:{emailid}`- Returns:
- builder
-
negate
public AccessLevelBasicConditionArgs.Builder negate(@Nullable com.pulumi.core.Output<java.lang.Boolean> negate)
- Parameters:
negate
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields, each field must be false for the Condition overall to be satisfied. Defaults to false.- Returns:
- builder
-
negate
public AccessLevelBasicConditionArgs.Builder negate(java.lang.Boolean negate)
- Parameters:
negate
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields, each field must be false for the Condition overall to be satisfied. Defaults to false.- Returns:
- builder
-
regions
public AccessLevelBasicConditionArgs.Builder regions(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> regions)
- Parameters:
regions
- The request must originate from one of the provided countries/regions. Format: A valid ISO 3166-1 alpha-2 code.- Returns:
- builder
-
regions
public AccessLevelBasicConditionArgs.Builder regions(java.util.List<java.lang.String> regions)
- Parameters:
regions
- The request must originate from one of the provided countries/regions. Format: A valid ISO 3166-1 alpha-2 code.- Returns:
- builder
-
regions
public AccessLevelBasicConditionArgs.Builder regions(java.lang.String... regions)
- Parameters:
regions
- The request must originate from one of the provided countries/regions. Format: A valid ISO 3166-1 alpha-2 code.- Returns:
- builder
-
requiredAccessLevels
public AccessLevelBasicConditionArgs.Builder requiredAccessLevels(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> requiredAccessLevels)
- Parameters:
requiredAccessLevels
- A list of other access levels defined in the same Policy, referenced by resource name. Referencing an AccessLevel which does not exist is an error. All access levels listed must be granted for the Condition to be true. Format: accessPolicies/{policy_id}/accessLevels/{short_name}- Returns:
- builder
-
requiredAccessLevels
public AccessLevelBasicConditionArgs.Builder requiredAccessLevels(java.util.List<java.lang.String> requiredAccessLevels)
- Parameters:
requiredAccessLevels
- A list of other access levels defined in the same Policy, referenced by resource name. Referencing an AccessLevel which does not exist is an error. All access levels listed must be granted for the Condition to be true. Format: accessPolicies/{policy_id}/accessLevels/{short_name}- Returns:
- builder
-
requiredAccessLevels
public AccessLevelBasicConditionArgs.Builder requiredAccessLevels(java.lang.String... requiredAccessLevels)
- Parameters:
requiredAccessLevels
- A list of other access levels defined in the same Policy, referenced by resource name. Referencing an AccessLevel which does not exist is an error. All access levels listed must be granted for the Condition to be true. Format: accessPolicies/{policy_id}/accessLevels/{short_name}- Returns:
- builder
-
vpcNetworkSources
public AccessLevelBasicConditionArgs.Builder vpcNetworkSources(@Nullable com.pulumi.core.Output<java.util.List<AccessLevelBasicConditionVpcNetworkSourceArgs>> vpcNetworkSources)
- Parameters:
vpcNetworkSources
- The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. Structure is documented below.- Returns:
- builder
-
vpcNetworkSources
public AccessLevelBasicConditionArgs.Builder vpcNetworkSources(java.util.List<AccessLevelBasicConditionVpcNetworkSourceArgs> vpcNetworkSources)
- Parameters:
vpcNetworkSources
- The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. Structure is documented below.- Returns:
- builder
-
vpcNetworkSources
public AccessLevelBasicConditionArgs.Builder vpcNetworkSources(AccessLevelBasicConditionVpcNetworkSourceArgs... vpcNetworkSources)
- Parameters:
vpcNetworkSources
- The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. Structure is documented below.- Returns:
- builder
-
build
public AccessLevelBasicConditionArgs build()
-
-