Class ManagementResource.WebpropertiesResource.InsertRequest
Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.
Inheritance
ManagementResource.WebpropertiesResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.WebpropertiesResource.InsertRequest : AnalyticsBaseServiceRequest<Webproperty>, IClientServiceRequest<Webproperty>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Webproperty, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Webproperty body, string accountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Webproperty | body | |
string | accountId |
Properties
AccountId
Account ID to create the web property 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.Webproperty>.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.Webproperty>.MethodName
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.Webproperty>.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.Analytics.v3.Data.Webproperty>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()