Class: Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb

Overview

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.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#enabled::Boolean

Returns True if the service is enabled; false otherwise.

Returns:

  • (::Boolean)

    True if the service is enabled; false otherwise.



1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1168

class NetworkService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum State defines possible states of a network policy controlled
  # service.
  module State
    # Unspecified service state. This is the default value.
    STATE_UNSPECIFIED = 0

    # Service is not provisioned.
    UNPROVISIONED = 1

    # Service is in the process of being provisioned/deprovisioned.
    RECONCILING = 2

    # Service is active.
    ACTIVE = 3
  end
end

#state::Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService::State (readonly)

Returns Output only. State of the service. New values may be added to this enum when appropriate.

Returns:



1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 1168

class NetworkService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum State defines possible states of a network policy controlled
  # service.
  module State
    # Unspecified service state. This is the default value.
    STATE_UNSPECIFIED = 0

    # Service is not provisioned.
    UNPROVISIONED = 1

    # Service is in the process of being provisioned/deprovisioned.
    RECONCILING = 2

    # Service is active.
    ACTIVE = 3
  end
end