Class: Google::Apis::ContactcenteraiplatformV1alpha1::PscSetting

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

Private service connect settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscSetting

Returns a new instance of PscSetting.



704
705
706
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 704

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

Instance Attribute Details

#allowed_consumer_project_idsArray<String>

The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress components. Corresponds to the JSON property allowedConsumerProjectIds

Returns:

  • (Array<String>)


697
698
699
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 697

def allowed_consumer_project_ids
  @allowed_consumer_project_ids
end

#producer_project_idsArray<String>

Output only. The CCAIP tenant project ids. Corresponds to the JSON property producerProjectIds

Returns:

  • (Array<String>)


702
703
704
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 702

def producer_project_ids
  @producer_project_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



709
710
711
712
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 709

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