Interface AuthzPolicy.TargetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AuthzPolicy.Target, AuthzPolicy.Target.Builder
Enclosing class:
AuthzPolicy

public static interface AuthzPolicy.TargetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLoadBalancingSchemeValue

      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](https://cloud.google.com/load-balancing/docs/backend-service).
       
      .google.cloud.networksecurity.v1.AuthzPolicy.LoadBalancingScheme load_balancing_scheme = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for loadBalancingScheme.
    • getLoadBalancingScheme

      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](https://cloud.google.com/load-balancing/docs/backend-service).
       
      .google.cloud.networksecurity.v1.AuthzPolicy.LoadBalancingScheme load_balancing_scheme = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The loadBalancingScheme.
    • getResourcesList

      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:
      A list containing the resources.
    • getResourcesCount

      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:
      The count of resources.
    • getResources

      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];
      Parameters:
      index - The index of the element to return.
      Returns:
      The resources at the given index.
    • getResourcesBytes

      com.google.protobuf.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];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resources at the given index.