Class: Google::Apis::ContactcenteraiplatformV1alpha1::ServiceAttachment

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

Container for the VPC-SC networking configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameString

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

Returns:

  • (String)


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
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 789

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