Class: Google::Apis::ConnectorsV1::NetworkConfig

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

Overview

Regional Network Config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkConfig

Returns a new instance of NetworkConfig.



3919
3920
3921
# File 'lib/google/apis/connectors_v1/classes.rb', line 3919

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

Instance Attribute Details

#egress_ipsArray<String>

Output only. Egress IPs Corresponds to the JSON property egressIps

Returns:

  • (Array<String>)


3912
3913
3914
# File 'lib/google/apis/connectors_v1/classes.rb', line 3912

def egress_ips
  @egress_ips
end

#egress_modeString

Optional. Egress mode for the network. Corresponds to the JSON property egressMode

Returns:

  • (String)


3917
3918
3919
# File 'lib/google/apis/connectors_v1/classes.rb', line 3917

def egress_mode
  @egress_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3924
3925
3926
3927
# File 'lib/google/apis/connectors_v1/classes.rb', line 3924

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