Class: Google::Apis::ComputeBeta::BackendServiceDynamicForwardingIpPortSelection

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Overview

Defines a IP:PORT based dynamic forwarding configuration for the backend service. Some ranges are restricted: Restricted ranges.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendServiceDynamicForwardingIpPortSelection

Returns a new instance of BackendServiceDynamicForwardingIpPortSelection.



5568
5569
5570
# File 'lib/google/apis/compute_beta/classes.rb', line 5568

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enabledBoolean Also known as: enabled?

A boolean flag enabling IP:PORT based dynamic forwarding. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


5565
5566
5567
# File 'lib/google/apis/compute_beta/classes.rb', line 5565

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5573
5574
5575
# File 'lib/google/apis/compute_beta/classes.rb', line 5573

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
end