Class: Google::Apis::PartnersV2::PublicProfile
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::PublicProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb
Overview
Basic information from a public profile.
Instance Attribute Summary collapse
-
#display_image_url ⇒ String
The URL to the main display image of the public profile.
-
#display_name ⇒ String
The display name of the public profile.
-
#id ⇒ String
The ID which can be used to retrieve more details about the public profile.
-
#profile_image ⇒ String
The URL to the main profile image of the public profile.
-
#url ⇒ String
The URL of the public profile.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublicProfile
constructor
A new instance of PublicProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PublicProfile
Returns a new instance of PublicProfile
1925 1926 1927 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1925 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_image_url ⇒ String
The URL to the main display image of the public profile. Being deprecated.
Corresponds to the JSON property displayImageUrl
1903 1904 1905 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1903 def display_image_url @display_image_url end |
#display_name ⇒ String
The display name of the public profile.
Corresponds to the JSON property displayName
1908 1909 1910 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1908 def display_name @display_name end |
#id ⇒ String
The ID which can be used to retrieve more details about the public profile.
Corresponds to the JSON property id
1913 1914 1915 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1913 def id @id end |
#profile_image ⇒ String
The URL to the main profile image of the public profile.
Corresponds to the JSON property profileImage
1918 1919 1920 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1918 def profile_image @profile_image end |
#url ⇒ String
The URL of the public profile.
Corresponds to the JSON property url
1923 1924 1925 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1923 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1930 1931 1932 1933 1934 1935 1936 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1930 def update!(**args) @display_image_url = args[:display_image_url] if args.key?(:display_image_url) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @profile_image = args[:profile_image] if args.key?(:profile_image) @url = args[:url] if args.key?(:url) end |