Class ManagementResource.ProfileUserLinksResource.InsertRequest
Adds a new user to the given view (profile).
Inheritance
ManagementResource.ProfileUserLinksResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.ProfileUserLinksResource.InsertRequest : AnalyticsBaseServiceRequest<EntityUserLink>, IClientServiceRequest<EntityUserLink>, IClientServiceRequest
Constructors
InsertRequest(IClientService, EntityUserLink, string, string, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, EntityUserLink body, string accountId, string webPropertyId, string profileId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
EntityUserLink | body | |
string | accountId | |
string | webPropertyId | |
string | profileId |
Properties
AccountId
Account ID to create the user link for.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.EntityUserLink>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.EntityUserLink>.MethodName
ProfileId
View (Profile) ID to create the user link for.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual string ProfileId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.EntityUserLink>.RestPath
WebPropertyId
Web Property ID to create the user link for.
Declaration
[RequestParameter("webPropertyId", RequestParameterType.Path)]
public virtual string WebPropertyId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.EntityUserLink>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()