Class: Google::Apis::ConnectorsV1::VpcscConfig

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

This configuration provides VPCSC config for a connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpcscConfig

Returns a new instance of VpcscConfig.



7352
7353
7354
# File 'lib/google/apis/connectors_v1/classes.rb', line 7352

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

Instance Attribute Details

#default_allowlisted_hostArray<String>

The list of allowlisted FQDNs for VPCSC. Corresponds to the JSON property defaultAllowlistedHost

Returns:

  • (Array<String>)


7344
7345
7346
# File 'lib/google/apis/connectors_v1/classes.rb', line 7344

def default_allowlisted_host
  @default_allowlisted_host
end

#disable_firewall_vpcsc_flowBoolean Also known as: disable_firewall_vpcsc_flow?

Whether to disable firewall VPCSC flow. Corresponds to the JSON property disableFirewallVpcscFlow

Returns:

  • (Boolean)


7349
7350
7351
# File 'lib/google/apis/connectors_v1/classes.rb', line 7349

def disable_firewall_vpcsc_flow
  @disable_firewall_vpcsc_flow
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7357
7358
7359
7360
# File 'lib/google/apis/connectors_v1/classes.rb', line 7357

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