Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService.
Represents a network service that is managed by a NetworkPolicy
resource.
A network service provides a way to control an aspect of external access to
VMware workloads. For example, whether the VMware workloads in the
private clouds governed by a network policy can access or be accessed from
the internet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enabled
def enabled() -> ::Boolean
- (::Boolean) — True if the service is enabled; false otherwise.
#enabled=
def enabled=(value) -> ::Boolean
- value (::Boolean) — True if the service is enabled; false otherwise.
- (::Boolean) — True if the service is enabled; false otherwise.
#state
def state() -> ::Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService::State
- (::Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService::State) — Output only. State of the service. New values may be added to this enum when appropriate.