Class: Google::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig

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) ⇒ BasicAuthConfig

Returns a new instance of BasicAuthConfig.



92
93
94
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 92

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


89
90
91
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 89

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



97
98
99
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 97

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