Class: Google::Apis::CesV1::ChannelProfilePersonaProperty
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ChannelProfilePersonaProperty
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Represents the persona property of a channel.
Instance Attribute Summary collapse
-
#persona ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelProfilePersonaProperty
constructor
A new instance of ChannelProfilePersonaProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelProfilePersonaProperty
Returns a new instance of ChannelProfilePersonaProperty.
1330 1331 1332 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1330 def initialize(**args) update!(**args) end |
Instance Attribute Details
#persona ⇒ String
Optional. The persona of the channel.
Corresponds to the JSON property persona
1328 1329 1330 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1328 def persona @persona end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1335 1336 1337 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1335 def update!(**args) @persona = args[:persona] if args.key?(:persona) end |