Class: Google::Apis::CesV1::ChannelProfilePersonaProperty

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#personaString

Optional. The persona of the channel. Corresponds to the JSON property persona

Returns:

  • (String)


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