class Google::Apis::PeopleV1::CoverPhoto

A person's cover photo. A large image shown on the person's profile page that represents who they are or what they care about.

Attributes

default[RW]

True if the cover photo is the default cover photo; false if the cover photo is a user-provided cover photo. Corresponds to the JSON property `default` @return [Boolean]

default?[RW]

True if the cover photo is the default cover photo; false if the cover photo is a user-provided cover photo. Corresponds to the JSON property `default` @return [Boolean]

metadata[RW]

Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]

url[RW]

The URL of the cover photo. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 739
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/people_v1/classes.rb, line 744
def update!(**args)
  @default = args[:default] if args.key?(:default)
  @metadata = args[:metadata] if args.key?(:metadata)
  @url = args[:url] if args.key?(:url)
end