# GoogleSignIn Framework Reference

# GIDProfileData

    @interface GIDProfileData : NSObject <NSCopying, NSSecureCoding>

This class represents the basic profile information of a `https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDGoogleUser.html`.
- `


  ### [email](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDProfileData#/c:objc(cs)GIDProfileData(py)email)


  ` The Google user's email.

  #### Declaration

  Swift

      var email: String { get }

  Objective-C

      @property (nonatomic, readonly) NSString *_Nonnull email;

- `


  ### [name](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDProfileData#/c:objc(cs)GIDProfileData(py)name)


  ` The Google user's full name.

  #### Declaration

  Swift

      var name: String { get }

  Objective-C

      @property (nonatomic, readonly) NSString *_Nonnull name;

- `


  ### [givenName](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDProfileData#/c:objc(cs)GIDProfileData(py)givenName)


  ` The Google user's given name.

  #### Declaration

  Swift

      var givenName: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *givenName;

- `


  ### [familyName](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDProfileData#/c:objc(cs)GIDProfileData(py)familyName)


  ` The Google user's family name.

  #### Declaration

  Swift

      var familyName: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *familyName;

- `


  ### [hasImage](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDProfileData#/c:objc(cs)GIDProfileData(py)hasImage)


  ` Whether or not the user has profile image.

  #### Declaration

  Swift

      var hasImage: Bool { get }

  Objective-C

      @property (nonatomic, readonly) BOOL hasImage;

- `


  ### [-imageURLWithDimension:](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDProfileData#/c:objc(cs)GIDProfileData(im)imageURLWithDimension:)


  ` Gets the user's profile image URL for the given dimension in pixels for each side of the square.

  #### Declaration

  Swift

      func imageURL(withDimension dimension: UInt) -> URL?

  Objective-C

      - (nullable NSURL *)imageURLWithDimension:(NSUInteger)dimension;

  #### Parameters

  |---|---|
  | ` dimension ` | The desired height (and width) of the profile image. |

  #### Return Value

  The URL of the user's profile image.