Class: Google::Apis::ContactcenteraiplatformV1alpha1::ServiceAttachment
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenteraiplatformV1alpha1::ServiceAttachment
- 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
Container for the VPC-SC networking configurations.
Instance Attribute Summary collapse
-
#allowed_project_ids ⇒ Array<String>
The list of project ids that are allowed to send traffic to the service attachment.
-
#name ⇒ String
The service attachment name that will be used for sending private traffic to the CCAIP tenant project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceAttachment
constructor
A new instance of ServiceAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceAttachment
Returns a new instance of ServiceAttachment.
784 785 786 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 784 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_project_ids ⇒ Array<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 service
attachments.
Corresponds to the JSON property allowedProjectIds
775 776 777 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 775 def allowed_project_ids @allowed_project_ids end |
#name ⇒ String
The service attachment name that will be used for sending private traffic to
the CCAIP tenant project. Example: "projects/$TENANT_PROJECT_ID/regions/$
REGION/serviceAttachments/ingress-default".
Corresponds to the JSON property name
782 783 784 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 782 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
789 790 791 792 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 789 def update!(**args) @allowed_project_ids = args[:allowed_project_ids] if args.key?(:allowed_project_ids) @name = args[:name] if args.key?(:name) end |