Class: Google::Apis::ContactcenteraiplatformV1alpha1::PrivateAccess

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

Overview

Defines ingress and egress private traffic settings for CCAIP instances.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateAccess

Returns a new instance of PrivateAccess.



677
678
679
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 677

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

Instance Attribute Details

#egress_settingsArray<Google::Apis::ContactcenteraiplatformV1alpha1::Component>

List of egress components that should not be accessed via the Internet. For more information see go/ccaip-private-path-v2. Corresponds to the JSON property egressSettings



664
665
666
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 664

def egress_settings
  @egress_settings
end

#ingress_settingsArray<Google::Apis::ContactcenteraiplatformV1alpha1::Component>

List of ingress components that should not be accessed via the Internet. For more information see go/ccaip-private-path-v2. Corresponds to the JSON property ingressSettings



670
671
672
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 670

def ingress_settings
  @ingress_settings
end

#psc_settingGoogle::Apis::ContactcenteraiplatformV1alpha1::PscSetting

Private service connect settings. Corresponds to the JSON property pscSetting



675
676
677
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 675

def psc_setting
  @psc_setting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



682
683
684
685
686
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 682

def update!(**args)
  @egress_settings = args[:egress_settings] if args.key?(:egress_settings)
  @ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
  @psc_setting = args[:psc_setting] if args.key?(:psc_setting)
end