Class: Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthenticationConfig

Returns a new instance of AuthenticationConfig.



70
71
72
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 70

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

Instance Attribute Details

#basic_auth_settingGoogle::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig

Corresponds to the JSON property basicAuthSetting



57
58
59
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 57

def basic_auth_setting
  @basic_auth_setting
end

#nameString

Name of authentication config. Format: projects/project/locations/location/ contactCenters/contact_center/authentication-config Corresponds to the JSON property name

Returns:

  • (String)


63
64
65
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 63

def name
  @name
end

#saml_settingGoogle::Apis::ContactcenteraiplatformV1alpha1::SamlConfig

Corresponds to the JSON property samlSetting



68
69
70
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 68

def saml_setting
  @saml_setting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



75
76
77
78
79
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 75

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