Class UserRolesResource
The "userRoles" collection of methods.
Inheritance
System.Object
UserRolesResource
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.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class UserRolesResource
Constructors
UserRolesResource(IClientService)
Constructs a new resource.
Declaration
public UserRolesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Delete(Int64, Int64)
Deletes an existing user role.
Declaration
public virtual UserRolesResource.DeleteRequest Delete(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | User role ID. |
Returns
Type | Description |
---|---|
UserRolesResource.DeleteRequest |
Get(Int64, Int64)
Gets one user role by ID.
Declaration
public virtual UserRolesResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | User role ID. |
Returns
Type | Description |
---|---|
UserRolesResource.GetRequest |
Insert(UserRole, Int64)
Inserts a new user role.
Declaration
public virtual UserRolesResource.InsertRequest Insert(UserRole body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
UserRole | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
UserRolesResource.InsertRequest |
List(Int64)
Retrieves a list of user roles, possibly filtered. This method supports paging.
Declaration
public virtual UserRolesResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
UserRolesResource.ListRequest |
Patch(UserRole, Int64, Int64)
Updates an existing user role. This method supports patch semantics.
Declaration
public virtual UserRolesResource.PatchRequest Patch(UserRole body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
UserRole | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | UserRole ID. |
Returns
Type | Description |
---|---|
UserRolesResource.PatchRequest |
Update(UserRole, Int64)
Updates an existing user role.
Declaration
public virtual UserRolesResource.UpdateRequest Update(UserRole body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
UserRole | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
UserRolesResource.UpdateRequest |