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.



3943
3944
3945
# File 'lib/google/apis/connectors_v1/classes.rb', line 3943

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>)


3936
3937
3938
# File 'lib/google/apis/connectors_v1/classes.rb', line 3936

def egress_ips
  @egress_ips
end

#egress_modeString

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

Returns:

  • (String)


3941
3942
3943
# File 'lib/google/apis/connectors_v1/classes.rb', line 3941

def egress_mode
  @egress_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3948
3949
3950
3951
# File 'lib/google/apis/connectors_v1/classes.rb', line 3948

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