Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService (v0.8.0)

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
Returns
  • (::Boolean) — True if the service is enabled; false otherwise.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — True if the service is enabled; false otherwise.
Returns
  • (::Boolean) — True if the service is enabled; false otherwise.

#state

def state() -> ::Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService::State
Returns