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.



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

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



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

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



680
681
682
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 680

def ingress_settings
  @ingress_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



687
688
689
690
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 687

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