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.



7509
7510
7511
# File 'lib/google/apis/connectors_v1/classes.rb', line 7509

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


7501
7502
7503
# File 'lib/google/apis/connectors_v1/classes.rb', line 7501

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)


7506
7507
7508
# File 'lib/google/apis/connectors_v1/classes.rb', line 7506

def disable_firewall_vpcsc_flow
  @disable_firewall_vpcsc_flow
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7514
7515
7516
7517
# File 'lib/google/apis/connectors_v1/classes.rb', line 7514

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