Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAppProfile

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Optional field for apps overriding display info

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedAppProfile

Returns a new instance of AppsDynamiteSharedAppProfile.



710
711
712
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 710

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

Instance Attribute Details

#avatar_emojiString

Displayed user avatar emoji. Corresponds to the JSON property avatarEmoji

Returns:

  • (String)


698
699
700
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 698

def avatar_emoji
  @avatar_emoji
end

#avatar_urlString

Displayed user avatar url. Corresponds to the JSON property avatarUrl

Returns:

  • (String)


703
704
705
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 703

def avatar_url
  @avatar_url
end

#nameString

Displayed user name. Corresponds to the JSON property name

Returns:

  • (String)


708
709
710
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 708

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



715
716
717
718
719
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 715

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