Class: Google::Apis::AlloydbV1alpha::InstanceNetworkConfig

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

Overview

Metadata related to instance level network configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceNetworkConfig

Returns a new instance of InstanceNetworkConfig.



1437
1438
1439
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1437

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

Instance Attribute Details

#authorized_external_networksArray<Google::Apis::AlloydbV1alpha::AuthorizedNetwork>

Optional. A list of external network authorized to access this instance. Corresponds to the JSON property authorizedExternalNetworks



1429
1430
1431
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1429

def authorized_external_networks
  @authorized_external_networks
end

#enable_public_ipBoolean Also known as: enable_public_ip?

Optional. Enabling public ip for the instance. Corresponds to the JSON property enablePublicIp

Returns:

  • (Boolean)


1434
1435
1436
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1434

def enable_public_ip
  @enable_public_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1442
1443
1444
1445
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1442

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