Interface AuthzPolicy.TargetOrBuilder (0.94.0)

public static interface AuthzPolicy.TargetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLoadBalancingScheme()

public abstract AuthzPolicy.LoadBalancingScheme getLoadBalancingScheme()

Optional. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Supported values: INTERNAL_MANAGED and EXTERNAL_MANAGED. For more information, refer to Backend services overview.

.google.cloud.networksecurity.v1.AuthzPolicy.LoadBalancingScheme load_balancing_scheme = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.LoadBalancingScheme

The loadBalancingScheme.

getLoadBalancingSchemeValue()

public abstract int getLoadBalancingSchemeValue()

Optional. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Supported values: INTERNAL_MANAGED and EXTERNAL_MANAGED. For more information, refer to Backend services overview.

.google.cloud.networksecurity.v1.AuthzPolicy.LoadBalancingScheme load_balancing_scheme = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for loadBalancingScheme.

getResources(int index)

public abstract String getResources(int index)

Required. A list of references to the Forwarding Rules on which this policy will be applied.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The resources at the given index.

getResourcesBytes(int index)

public abstract ByteString getResourcesBytes(int index)

Required. A list of references to the Forwarding Rules on which this policy will be applied.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the resources at the given index.

getResourcesCount()

public abstract int getResourcesCount()

Required. A list of references to the Forwarding Rules on which this policy will be applied.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of resources.

getResourcesList()

public abstract List<String> getResourcesList()

Required. A list of references to the Forwarding Rules on which this policy will be applied.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the resources.