Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::AuthzPolicy::Target.
Specifies the set of targets to which this policy should be applied to.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#load_balancing_scheme
def load_balancing_scheme() -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::LoadBalancingScheme
Returns
-
(::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::LoadBalancingScheme) — Optional. All gateways and forwarding rules referenced by this policy and
extensions must share the same load balancing scheme. Required only when
targeting forwarding rules. If targeting Secure Web Proxy, this field
must be
INTERNAL_MANAGEDor not specified. Must not be specified when targeting Agent Gateway. Supported values:INTERNAL_MANAGEDandEXTERNAL_MANAGED. For more information, refer to Backend services overview.
#load_balancing_scheme=
def load_balancing_scheme=(value) -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::LoadBalancingScheme
Parameter
-
value (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::LoadBalancingScheme) — Optional. All gateways and forwarding rules referenced by this policy and
extensions must share the same load balancing scheme. Required only when
targeting forwarding rules. If targeting Secure Web Proxy, this field
must be
INTERNAL_MANAGEDor not specified. Must not be specified when targeting Agent Gateway. Supported values:INTERNAL_MANAGEDandEXTERNAL_MANAGED. For more information, refer to Backend services overview.
Returns
-
(::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::LoadBalancingScheme) — Optional. All gateways and forwarding rules referenced by this policy and
extensions must share the same load balancing scheme. Required only when
targeting forwarding rules. If targeting Secure Web Proxy, this field
must be
INTERNAL_MANAGEDor not specified. Must not be specified when targeting Agent Gateway. Supported values:INTERNAL_MANAGEDandEXTERNAL_MANAGED. For more information, refer to Backend services overview.
#resources
def resources() -> ::Array<::String>
Returns
- (::Array<::String>) — Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent Gateways on which this policy will be applied.
#resources=
def resources=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent Gateways on which this policy will be applied.
Returns
- (::Array<::String>) — Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent Gateways on which this policy will be applied.