Show / Hide Table of Contents

Class PeopleResource

The "people" collection of methods.

Inheritance
System.Object
PeopleResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Plus.v1
Assembly: Google.Apis.Plus.v1.dll
Syntax
public class PeopleResource

Constructors

PeopleResource(IClientService)

Constructs a new resource.

Declaration
public PeopleResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(String)

Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.

Declaration
public virtual PeopleResource.GetRequest Get(string userId)
Parameters
Type Name Description
System.String userId

The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user.

Returns
Type Description
PeopleResource.GetRequest

List(String, PeopleResource.ListRequest.CollectionEnum)

List all of the people in the specified collection.

Declaration
public virtual PeopleResource.ListRequest List(string userId, PeopleResource.ListRequest.CollectionEnum collection)
Parameters
Type Name Description
System.String userId

Get the collection of people for the person identified. Use "me" to indicate the authenticated user.

PeopleResource.ListRequest.CollectionEnum collection

The collection of people to list.

Returns
Type Description
PeopleResource.ListRequest

ListByActivity(String, PeopleResource.ListByActivityRequest.CollectionEnum)

Shut down. See https://developers.google.com/+/api-shutdown for more details.

Declaration
public virtual PeopleResource.ListByActivityRequest ListByActivity(string activityId, PeopleResource.ListByActivityRequest.CollectionEnum collection)
Parameters
Type Name Description
System.String activityId

The ID of the activity to get the list of people for.

PeopleResource.ListByActivityRequest.CollectionEnum collection

The collection of people to list.

Returns
Type Description
PeopleResource.ListByActivityRequest

Search(String)

Shut down. See https://developers.google.com/+/api-shutdown for more details.

Declaration
public virtual PeopleResource.SearchRequest Search(string query)
Parameters
Type Name Description
System.String query

Specify a query string for full text search of public text in all profiles.

Returns
Type Description
PeopleResource.SearchRequest
Back to top