Class AccountsResource.UserLinksResource.CreateRequest
Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink.
Inheritance
AccountsResource.UserLinksResource.CreateRequest
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class AccountsResource.UserLinksResource.CreateRequest : GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1alphaUserLink>, IClientServiceRequest<GoogleAnalyticsAdminV1alphaUserLink>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleAnalyticsAdminV1alphaUserLink, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleAnalyticsAdminV1alphaUserLink body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAnalyticsAdminV1alphaUserLink | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GoogleAnalyticsAdmin.v1alpha.Data.GoogleAnalyticsAdminV1alphaUserLink>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GoogleAnalyticsAdmin.v1alpha.Data.GoogleAnalyticsAdminV1alphaUserLink>.MethodName
NotifyNewUser
Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.
Declaration
[RequestParameter("notifyNewUser", RequestParameterType.Query)]
public virtual bool? NotifyNewUser { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Parent
Required. Example format: accounts/1234
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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.GoogleAnalyticsAdmin.v1alpha.Data.GoogleAnalyticsAdminV1alphaUserLink>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GoogleAnalyticsAdmin.v1alpha.Data.GoogleAnalyticsAdminV1alphaUserLink>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()